gcc/testsuite/gcc.dg/vect/pr69083.c
raw| 1 | /* PR tree-optimization/69083 */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-additional-options "-O3" } */ |
| 4 | |
| 5 | int d; |
| 6 | short f; |
| 7 | |
| 8 | void |
| 9 | foo (int a, int b, int e, short c) |
| 10 | { |
| 11 | for (; e; e++) |
| 12 | { |
| 13 | int j; |
| 14 | for (j = 0; j < 3; j++) |
| 15 | { |
| 16 | f = 7 >> b ? a : b; |
| 17 | d |= c == 1 ^ 1 == f; |
| 18 | } |
| 19 | } |
| 20 | } |