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
/
pr103808.c
blob
51fc460a900873ed5a59e80668f04f0b4ae20451
1
/* PR debug/103808 */
2
/* { dg-do compile { target int128 } } */
3
/* { dg-options "-fcompare-debug -O2 -ftrapv" } */
4
5
void
6
foo
(
__int128 x
,
int
y
)
7
{
8
for
(;;)
9
{
10
__int128 a
,
b
;
11
12
x
|= !!
y
;
13
a
=
x
+
1
;
14
b
=
y
? ++
y
: ++
x
;
15
y
=
a
<
b
;
16
asm
(
""
:
"+r"
(
y
));
17
if
(
x
>>
2
)
18
y
*=
2
;
19
20
if
(
y
==
b
)
21
__builtin_unreachable
();
22
}
23
}