* cfgloopmanip.c (duplicate_loop_to_header_edge): Cleanup profile
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr49145.c
blobb44e1977031f6be2cd3e8b2ab0ce902f06f56587
1 /* { dg-require-effective-target untyped_assembly } */
2 static int
3 func1 (int a, int b)
5 return b ? a : a / b;
8 static unsigned char
9 func2 (unsigned char a, int b)
11 return b ? a : b;
14 int i;
16 void
17 func3 (const int arg)
19 for (i = 0; i != 10; i = foo ())
21 if (!arg)
23 int j;
24 for (j = 0; j < 5; j += 1)
26 int *ptr;
27 *ptr = func2 (func1 (arg, *ptr), foo (arg));