1 /* { dg-do run { xfail *-*-* } } */
2 /* { dg-options "-g" } */
4 #define GUALITY_DONT_FORCE_LIVE_AFTER -1
7 #define STATIC_INLINE /*static*/
14 /* Test the debug info for the functions used in the VTA
15 presentation at the GCC Summit 2008. */
23 find_val (node c
, int v
, node e
)
41 find_prev (node c
, node w
)
60 check_arr (node c
, node e
)
79 check_list (node c
, node t
)
97 struct list testme
[] = {
107 main (int argc
, char *argv
[])
109 int n
= sizeof (testme
) / sizeof (*testme
);
110 node first
, last
, begin
, end
, ret
;
114 begin
= first
= &testme
[0];
123 ret
= find_val (begin
, 13, end
);
125 assert (ret
== last
);
127 ret
= find_prev (first
, last
);
129 assert (ret
== &testme
[n
-2]);
131 ret
= check_arr (begin
, end
);
135 ret
= check_list (first
, last
);