PR tree-optimization/83369 - Missing diagnostics during inlining
[official-gcc.git] / gcc / testsuite / gcc.dg / pr32975.c
blob8ddb0d8d2f2626d56e68df70b342a042b9585f30
1 /* PR tree-optimization/32975 */
2 /* { dg-do compile } */
3 /* { dg-options "-O1 -finline-functions -fipa-cp" } */
5 static int
6 f0 (char *s0, char *s1)
8 return __builtin_strlen (s0) > __builtin_strlen (s1);
11 int
12 f1 (char *s, int j)
14 if (f0 (s, ""))
15 return 1;
16 return j;
19 void
20 f2 (char *s)
22 f1 (s, 0);