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
2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr70689.c
blob
0529a00fcba26d27082e18c01cb9ff79eabe7dc7
1
/* { dg-do compile } */
2
/* { dg-require-effective-target ia32 } */
3
/* { dg-options "-O1" } */
4
5
struct
S
6
{
7
int
f
;
8
};
9
10
double
a
;
11
int
c
;
12
13
static
14
void
fn1
(
struct
S
*
p1
)
15
{
16
for
(;
c
; )
17
if
(
p1
->
f
++)
18
a
= (
int
)
p1
;
19
}
20
21
int
22
main
()
23
{
24
struct
S b
= {
0
};
25
fn1
(&
b
);
26
return
0
;
27
}