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:
Paul Thomas 2007-05-31 21:11:31 +00:00
parent 2c751309df
commit cba83c6f79
3 changed files with 19 additions and 0 deletions

View file

@ -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.

View file

@ -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

View 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