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
/
pr106243-1.c
blob
cb3b74cbea759517e194f86cec8c4c02110eb795
1
/* PR tree-optimization/106243 */
2
/* { dg-do run } */
3
/* { dg-options "-O2 -Wno-psabi" } */
4
5
#include
"pr106243.c"
6
7
int
main
() {
8
9
if
(
foo
(
3
) !=
1
10
||
bar
(-
6
) !=
0
11
||
baz
(
17
) !=
1
12
||
qux
(-
128
) !=
0
13
||
foo
(
127
) !=
1
) {
14
__builtin_abort
();
15
}
16
17
return
0
;
18
}