gcc/testsuite/gcc.dg/tree-ssa/pr109711-2.c
raw| 1 | // { dg-do compile } |
| 2 | // { dg-options "-O2" } |
| 3 | |
| 4 | void lspf2lpc(); |
| 5 | |
| 6 | int interpolate_lpc_q_0; |
| 7 | |
| 8 | void |
| 9 | interpolate_lpc(int subframe_num) { |
| 10 | float weight; |
| 11 | if (interpolate_lpc_q_0) |
| 12 | weight = subframe_num; |
| 13 | else |
| 14 | weight = 1.0; |
| 15 | if (weight != 1.0) |
| 16 | lspf2lpc(); |
| 17 | } |
| 18 | |
| 19 | void |
| 20 | qcelp_decode_frame() { |
| 21 | int i; |
| 22 | for (;; i++) |
| 23 | interpolate_lpc(i); |
| 24 | } |