aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-structalias.c
diff options
context:
space:
mode:
authorPaul Thomas <pault@gcc.gnu.org>2006-12-05 19:45:25 +0000
committerPaul Thomas <pault@gcc.gnu.org>2006-12-05 19:45:25 +0000
commit8424e0d8b1ab427cd5801a6774109bff1860bfa0 (patch)
tree79bc0a98d7c614c8fe8cd8d4071da59b5d4aac4b /gcc/tree-ssa-structalias.c
parent742163c039877dd51fa4cf99e8f616ac48c804a3 (diff)
downloadgcc-8424e0d8b1ab427cd5801a6774109bff1860bfa0.zip
gcc-8424e0d8b1ab427cd5801a6774109bff1860bfa0.tar.gz
gcc-8424e0d8b1ab427cd5801a6774109bff1860bfa0.tar.bz2
re PR fortran/30003 ([4.1 only] Expressions with side effects in array references)
2006-12-05 Paul Thomas <pault@gcc.gnu.org> PR fortran/30003 * trans-array.c (gfc_trans_create_temp_array): Set the section ends to zero. (gfc_conv_array_transpose): Likewise. (gfc_conv_section_startstride): Declare an expression for end, set it from a the array reference and evaluate it for the info structure. Zero the ends in the ss structure and set end, used in the bounds check, from the info structure. trans.h: Add and end array to the gfc_ss_info structure. 2006-12-05 Paul Thomas <pault@gcc.gnu.org> PR fortran/30003 * gfortran.dg/allocatable_function_1.f90: Increase the number of expected calls of free to 10; the lhs section reference is now evaluated so there is another call to bar. Change the comment appropriately. * gfortran.dg/array_section_1.f90: New test. From-SVN: r119556
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
0 files changed, 0 insertions, 0 deletions