1 /* { dg-do compile { target { nonpic || pie_enabled } } } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
5 void bar (void) __attribute__((noinline
));
25 /* We should have removed the link_error on the tree level as GCC can tell that
26 a is not touched by the calling bar at all. */
27 /* { dg-final { scan-tree-dump-times "link_error" 0 "optimized"} } */