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
This commit is contained in:
parent
3b456f8da3
commit
3f11aa6aa1
2 changed files with 16 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
11
gcc/testsuite/gfortran.dg/const_chararacter_merge.f90
Normal file
11
gcc/testsuite/gfortran.dg/const_chararacter_merge.f90
Normal file
|
@ -0,0 +1,11 @@
|
|||
! { 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 } }
|
Loading…
Add table
Reference in a new issue