30078c0a MP |
1 | /* PR tree-optimization/58346 */ |
2 | /* { dg-do compile } */ |
3 | /* { dg-options "-O" } */ |
4 | |
5 | struct U {}; |
6 | static struct U b[1] = { }; |
7 | extern void bar (struct U); |
8 | |
9 | void |
10 | foo (void) |
11 | { |
12 | bar (b[0]); |
13 | } |
14 | |
15 | void |
16 | baz (void) |
17 | { |
18 | foo (); |
19 | } |