libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / bb-slp-pr97486.c
blob17d48a7fe69a99e781483065e9737adc62600abd
1 /* { dg-do compile } */
3 struct {
4 int *end_info;
5 int *fp;
6 } png_load_body_c;
8 int *png_set_longjmp_fn();
10 void setjmp();
12 void png_load_body()
14 int *fp;
15 int png_ptr, info_ptr, *end_info;
16 if (!fp)
17 return;
18 if (png_ptr) {
19 info_ptr = 0;
20 end_info = png_set_longjmp_fn();
22 png_load_body_c.end_info = end_info;
23 png_load_body_c.fp = fp;
24 if (png_ptr)
25 png_set_longjmp_fn();
26 setjmp(info_ptr);