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
modula2: M2MetaError.{def,mod} and P2SymBuild.mod further cleanup
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr107570.c
blob
ba5b535a867201b979270257078232e2b103b270
1
/* { dg-do compile } */
2
/* { dg-options "-Os" } */
3
4
long int
n
;
5
6
void
7
foo
(
int
*
p
,
int
x
)
8
{
9
for
(;;)
10
{
11
for
(*
p
=
0
; *
p
<
1
; ++*
p
)
12
{
13
n
+= *
p
<
0
;
14
if
(
n
<
x
)
15
{
16
while
(
x
<
1
)
17
++
x
;
18
19
__builtin_unreachable
();
20
}
21
}
22
23
p
= &
x
;
24
}
25
}