OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2010-09-17 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr30762-1.c
1
/* PR c/30762 */
2
/* { dg-do link } */
3
/* { dg-require-effective-target-lto } */
4
/* { dg-options "-flto -r -nostdlib -O3" } */
5
/* { dg-additional-sources pr30762-2.c } */
6
7
typedef struct { int i; } D;
8
extern void foo (D);
9
10
void
11
bar (void)
12
{
13
D d;
14
d.i = 1;
15
foo (d);
16
}