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
Add _FloatN, _FloatNx tests for __builtin_fpclassify.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr36373-8.c
blob
9f77ea137349c56201d881673e6019eb4115d459
1
/* { dg-do run } */
2
/* { dg-options "-fno-tree-sra" } */
3
4
extern
void
abort
(
void
);
5
struct
Foo
{
6
int
*
p
;
7
}
x
;
8
void
__attribute__
((
noinline
))
9
foo
()
10
{
11
*
x
.
p
=
0
;
12
}
13
int
main
()
14
{
15
int
b
;
16
struct
Foo g
;
17
b
=
1
;
18
g
.
p
= &
b
;
19
x
=
g
;
20
foo
();
21
if
(
b
!=
0
)
22
abort
();
23
return
0
;
24
}