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
PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
pr55604.C
blob
f67a1b4ef149aa1a136288614ec4bff8281fd3e4
1
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-rtl-reload" } */
3
4
int
5
main ()
6
{
7
char s[10];
8
const int t = (__builtin_memcpy (s, "Hello", 6), 5);
9
__builtin_printf ("%d %s\n", t, s);
10
return 0;
11
}
12