re PR fortran/26257 (internal compiler error: Segmentation fault, on function call...
authorPaul Thomas <pault@gcc.gnu.org>
Thu, 9 Mar 2006 05:52:06 +0000 (05:52 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Thu, 9 Mar 2006 05:52:06 +0000 (05:52 +0000)
commitad5dd90de05dba5f4db6bc4d1e355dab4e4a4696
treea01707e32f37b611c2929f463154b2d63f209724
parent07127a0a3b7a73f24105b80dd63c12d38fe84bf1
re PR fortran/26257 (internal compiler error: Segmentation fault, on function call with assumed shape array parameter)

2006-03-09 Paul Thomas <pault@gcc.gnu.org>

PR fortran/26257
* trans-array.c (gfc_conv_expr_descriptor): Exclude calculation of
the offset and data when se->data_not_needed is set.
* trans.h: Include the data_not_need bit in gfc_se.
* trans-intrinsic.c (gfc_conv_intrinsic_size): Set it for SIZE.

2006-03-09 Paul Thomas <pault@gcc.gnu.org>

* PR fortran/26257
gfortran.dg/auto_char_len_3.f90: New test

From-SVN: r111860
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/fortran/trans-intrinsic.c
gcc/fortran/trans.h
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/auto_char_len_3.f90 [new file with mode: 0644]