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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
pr97260.c
blob
9b3723b7834b9f6878d2c87e85b0a4194b146c53
1
/* PR tree-optimization/97260 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -fdump-tree-optimized" } */
4
/* { dg-final { scan-tree-dump "return 0;" "optimized" } } */
5
6
int
7
foo
(
void
)
8
{
9
const char
a
[] =
"1234"
;
10
return
__builtin_memcmp
(
a
,
"1234"
,
4
);
11
}