summaryrefslogtreecommitdiffstats
path: root/gcc/java/expr.c
diff options
context:
space:
mode:
authortobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-08 13:41:08 +0000
committertobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-08 13:41:08 +0000
commit38d7dddbb4d5cb4ba6a0cf4a8998b8ea2e5820a6 (patch)
tree88335b706b5071f059bdce822601ba05626dffcf /gcc/java/expr.c
parent31cc05e3151dbdb82ad322b5a2fc3911b11cf016 (diff)
downloadppe42-gcc-38d7dddbb4d5cb4ba6a0cf4a8998b8ea2e5820a6.tar.gz
ppe42-gcc-38d7dddbb4d5cb4ba6a0cf4a8998b8ea2e5820a6.zip
fortran/
* expr.c (gfc_copy_expr): Don't copy 'op1' and 'op2' for EXPR_SUBSTRING. (gfc_is_constant_expr): Check 'ref' to determine if substring reference is constant. (gfc_simplify_expr): Simplify 'ref' instead of 'op1' and 'op2'. (check_init_expr, check_restricted): Check 'ref' instead of 'op1' and 'op2'. * module.c (mio_expr): Read / write 'ref' instead of 'op1' and 'op2'. testsuite/ * gfortran.dg/substr_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94735 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/expr.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud