re PR fortran/32156 (ICE with characters)
2007-05-31 Paul Thomas <pault@gcc.gnu.org> PR fortran/32156 * trans-array.c (gfc_trans_array_constructor): Treat the case where the ss expression charlen is missing. 2007-05-31 Paul Thomas <pault@gcc.gnu.org> PR fortran/32156 * gfortran.dg/char_array_constructor_3.f90: New test. From-SVN: r125240
This commit is contained in:
parent
2c751309df
commit
cba83c6f79
3 changed files with 19 additions and 0 deletions
|
@ -1,5 +1,11 @@
|
|||
2007-05-31 Paul Thomas <pault@gcc.gnu.org>
|
||||
|
||||
PR fortran/32156
|
||||
* trans-array.c (gfc_trans_array_constructor): Treat the case
|
||||
where the ss expression charlen is missing.
|
||||
|
||||
22007-05-31 Paul Thomas <pault@gcc.gnu.org>
|
||||
|
||||
PR fortran/32103
|
||||
* module.c (mio_symtree_ref): If an equivalence group member
|
||||
is not used, give it a hidden symbol and set the pointer_info.
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
007-05-31 Paul Thomas <pault@gcc.gnu.org>
|
||||
|
||||
PR fortran/32156
|
||||
* gfortran.dg/char_array_constructor_3.f90: New test.
|
||||
|
||||
2007-05-31 Zdenek Dvorak <dvorakz@suse.cz>
|
||||
|
||||
PR tree-optimization/32160
|
||||
|
|
8
gcc/testsuite/gfortran.dg/char_array_constructor_3.f90
Normal file
8
gcc/testsuite/gfortran.dg/char_array_constructor_3.f90
Normal file
|
@ -0,0 +1,8 @@
|
|||
! { dg-do compile }
|
||||
! tests the fix for PR32156, in which the character length of the compound
|
||||
! expression got lost.
|
||||
!
|
||||
! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
|
||||
!
|
||||
write (*,'(2A3)') 'X'//(/"1","2"/)//'Y'
|
||||
END
|
Loading…
Add table
Reference in a new issue