RISC-V: Refactor Dynamic LMUL codes
[official-gcc.git] / gcc / testsuite / gfortran.dg / string_assign_1.f90
blob09cbc916a4fa0d3d41884dc48e7ba39edc0b8ced
1 ! { dg-do compile }
2 ! { dg-options "-ffrontend-optimize -fdump-tree-original" }
3 ! PR 52861 - optimize this to c = '' so that there is
4 ! no memcpy in the generated code.
5 program main
6 character (len=20) :: c
7 c = ' '
8 print *,c
9 end program main
10 ! { dg-final { scan-tree-dump-times "memcpy" 0 "original" } }