Rebase.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr42878-2.c
blob67e413a2c918e7aa4c025ed78b6b040d8c97ac46
1 /* { dg-do compile } */
2 /* { dg-options "-fcompare-debug" } */
4 extern void error(void) __attribute__((noreturn));
6 struct S {
7 struct S *s;
8 };
10 static inline unsigned char f2()
12 error();
15 static inline void f1()
17 int builtin_optab;
18 if (!f2() && builtin_optab)
19 error();
22 extern void f4(struct S *s);
24 static inline void f3(struct S *s)
26 f4(s->s->s);
29 void expand_builtin(struct S *s, int cond)
31 if (cond)
32 f1();
33 f3(s);