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 c++/37276
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr41345.c
blob
b2c72c72fb13a60a4da3fd6c0a578f66fd1718f1
1
/* PR bootstrap/41345 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -g -fcompare-debug" } */
4
/* { dg-xfail-if "" { powerpc-ibm-aix* } { "*" } { "" } } */
5
6
void
7
foo
(
int
*
x
)
8
{
9
int
a
;
10
for
(
a
=
0
;
a
<
2
;
a
++)
11
if
(
x
[
a
])
12
goto
lab
;
13
__builtin_unreachable
();
14
lab
:;
15
}