]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/trans.h
re PR fortran/24813 (ICE with scalarization LEN of character types)
authorPaul Thomas <pault@gcc.gnu.org>
Sun, 7 May 2006 05:46:26 +0000 (05:46 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sun, 7 May 2006 05:46:26 +0000 (05:46 +0000)
commit636da744bb32d4679fac4cfc36670899a4408ff1
treebf7e4cc8a301ceceaa53277106c44b7e8f95534e
parent8f9886536fb02c6711e4cc8be068e3938f3a4775
re PR fortran/24813 (ICE with scalarization LEN of character types)

2006-05-07  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/24813
* trans-array.c (get_array_ctor_strlen): Remove static attribute.
* trans.h: Add prototype for get_array_ctor_strlen.
* trans-intrinsic.c (gfc_conv_intrinsic_len): Switch on EXPR_ARRAY
and call get_array_ctor_strlen.

2006-05-07  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/24813
* gfortran.dg/char_cons_len_1.f90: New test.

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