gcc/testsuite/gcc.target/s390/pr96127.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O1 -fno-tree-loop-im --param=sccvn-max-alias-queries-per-access=0 -w" } */ |
| 3 | |
| 4 | int a8; |
| 5 | |
| 6 | void |
| 7 | c1 (int oz, int dk, int ub) |
| 8 | { |
| 9 | int *hd = 0; |
| 10 | long int *th = (long int *) &dk; |
| 11 | |
| 12 | while (ub < 1) |
| 13 | { |
| 14 | oz || dk; |
| 15 | ++ub; |
| 16 | } |
| 17 | |
| 18 | while (oz < 2) |
| 19 | { |
| 20 | long int *lq = (long int *) &oz; |
| 21 | |
| 22 | (*hd < (*lq = *th)) < oz; |
| 23 | |
| 24 | if (oz == 0) |
| 25 | *th = a8 = oz; |
| 26 | |
| 27 | *lq = 0; |
| 28 | } |
| 29 | } |