gcc/testsuite/gcc.dg/shrink-wrap-sibcall.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O2 -g" } */ |
| 3 | |
| 4 | unsigned char a, b, d, f, g; |
| 5 | |
| 6 | int test (void); |
| 7 | |
| 8 | int |
| 9 | baz (int c) |
| 10 | { |
| 11 | if (c == 0) return test (); |
| 12 | if (b & 1) |
| 13 | { |
| 14 | g = 0; |
| 15 | int e = (a & 0x0f) - (g & 0x0f); |
| 16 | |
| 17 | if (!a) b |= 0x80; |
| 18 | a = e + test (); |
| 19 | f = g/5 + a*3879 + b *2985; |
| 20 | } |
| 21 | else |
| 22 | { |
| 23 | f = g + a*39879 + b *25; |
| 24 | } |
| 25 | return test (); |
| 26 | } |