1 /* { dg-lto-do link } */ 2 /* { dg-require-effective-target fpic } */ 3 /* { dg-lto-options {{-fPIC -r -nostdlib -O2 -flto}} } */ 4 /* { dg-extra-ld-options "-flinker-output=nolto-rel" } */ 5 6 typedef struct VEC_constructor_elt_gc { } VEC_constructor_elt_gc; 7 #include "20091016-1_a.h" 8 struct stmt_tree_s { 9 tree x_cur_stmt_list; 10 }; add_stmt(struct stmt_tree_s * x)11void *add_stmt (struct stmt_tree_s *x) 12 { 13 return &x->x_cur_stmt_list; 14 } 15 16