Commit 3f11aa6a by Thomas Koenig

re PR fortran/48543 (Collapse identical strings)

2019-01-02  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/48543
	* gfortran.dg/const_chararacter_merge.f90: New test.

From-SVN: r267517
parent 3b456f8d
2019-01-02 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/48543
* gfortran.dg/const_chararacter_merge.f90: New test.
2019-01-02 Jan Hubicka <hubicka@ucw.cz>
PR lto/88130
......
! { dg-do compile }
! { dg-options "-Os" }
! PR 48543
program main
character(len=17) :: a
character(len=34) :: b
a = 'Supercalifragilis'
b = 'Supercalifragilisticexpialidocious'
print *,a," ",b
end program main
! { dg-final { scan-assembler-times "Supercalifragilis" 1 } }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment