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
PR inline-asm/84742
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr19449.c
blob
63cc2e74e190ee73c847b7750864d5182d5feb5c
1
/* PR c/19449 */
2
3
extern
void
abort
(
void
);
4
5
int
y
;
6
int
z
=
__builtin_choose_expr
(!
__builtin_constant_p
(
y
),
3
,
4
);
7
8
int
9
foo
(
int
x
)
10
{
11
return
__builtin_choose_expr
(!
__builtin_constant_p
(
x
),
3
,
y
++);
12
}
13
14
int
15
main
()
16
{
17
if
(
y
||
z
!=
3
||
foo
(
4
) !=
3
)
18
abort
();
19
return
0
;
20
}