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
/
ipa
/
ipa-bit-cp-2.c
blob
3a2c9c8adb36ce4c87bb791ecf3b6302e832d7ae
1
/* { dg-do run } */
2
/* { dg-options "-fpermissive -O2 -w -fipa-bit-cp" } */
3
static int
4
__attribute__
((
noinline
))
5
test
(
int
__attribute__
((
unused
))
b
,
int
a
)
6
{
7
if
(!(
a
&
2
))
8
link_error
();
9
}
10
11
extern
int
__attribute__
((
const
))
getint
();
12
13
main
()
14
{
15
test
(
getint
(),
2
);
16
test
(
getint
(),
3
);
17
test
(
getint
(),
6
);
18
return
0
;
19
}