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
/
pr111039.c
blob
a64c46c7edcdc71d15a3c9e06c02557b4d0de8e9
1
/* { dg-do compile } */
2
/* { dg-options "-O" } */
3
4
#if __SIZEOF_INT__ < 4
5
#define int __INT32_TYPE__
6
#endif
7
8
int
_setjmp
();
9
void
abcd
();
10
void
abcde
();
11
void
compiler_corruption_function
(
int
flags
)
12
{
13
int
nowait
=
flags
&
1048576
,
isexpand
=
flags
&
8388608
;
14
abcd
();
15
_setjmp
(
flags
);
16
if
(
nowait
&&
isexpand
)
17
flags
&=
0
;
18
abcde
();
19
}