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
/
torture
/
pr114074.c
blob
336e97673c3a2d6815d674a8a68812f956fd5258
1
/* { dg-do run } */
2
3
int
a
,
b
,
d
;
4
5
__attribute__
((
noipa
))
void
6
foo
(
void
)
7
{
8
++
d
;
9
}
10
11
int
12
main
()
13
{
14
for
(
a
=
0
;
a
> -
3
;
a
-=
2
)
15
{
16
int
c
=
a
;
17
b
=
__INT_MAX__
-
3000
;
18
a
= ~
c
*
b
;
19
foo
();
20
if
(!
a
)
21
break
;
22
a
=
c
;
23
}
24
if
(
d
!=
2
)
25
__builtin_abort
();
26
return
0
;
27
}