repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20031011-1.c
blob
e35d76211b629a2bca28a4180302a431a03b620d
1
/* PR optimization/12544 */
2
/* Origin: Tony Hosking <hosking@cs.purdue.edu> */
3
4
/* Verify that non-local structures passed by invisible
5
reference are correctly put in the stack. */
6
7
typedef
struct
{
8
int
a
;
9
int
f
;
10
}
A
;
11
12
A
*
b
;
13
14
void
x
(
A a
) {
15
void
y
() {
16
a
.
a
=
0
;
17
}
18
19
b
= &
a
;
20
y
();
21
}