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
c: Implement C23 nullptr (N3042)
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr88870.c
blob
81f686bd972cd9b9b3f2c815eef3206f58170160
1
/* PR rtl-optimization/88870 */
2
/* { dg-do compile } */
3
/* { dg-require-effective-target nonlocal_goto } */
4
/* { dg-options "-O1 -fexceptions -fnon-call-exceptions -ftrapv -fno-tree-dominator-opts" } */
5
6
int
a
,
b
;
7
8
void
9
foo
(
int
*
x
)
10
{
11
int
c
=
0
;
12
{
13
int
d
;
14
x
= &
c
;
15
for
(;;)
16
{
17
x
= &
d
;
18
b
=
0
;
19
d
=
c
+
1
;
20
b
=
c
=
1
;
21
++
a
;
22
}
23
}
24
}