repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
RISC-V: Refactor Dynamic LMUL codes
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
string_assign_1.f90
blob
09cbc916a4fa0d3d41884dc48e7ba39edc0b8ced
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" } }