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 libfortran/64770 Segfault when trying to open existing file with status="new".
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
ipa
/
pr42706.c
blob
9c5f43af36fbba3720c081fcc7dd933833c55951
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fno-early-inlining -fipa-sra" } */
3
4
struct
S
5
{
6
float
red
;
7
int
green
;
8
void
*
blue
;
9
};
10
11
extern
int
gi
;
12
static int
foo
();
13
14
int
15
bar
(
void
)
16
{
17
foo
();
18
return
0
;
19
}
20
21
static int
22
foo
(
struct
S s
)
23
{
24
gi
=
s
.
green
;
25
return
0
;
26
}
27