gcc/testsuite/g++.dg/vect/pr96022.cc
raw| 1 | // { dg-do compile } |
| 2 | // { dg-additional-options "-O3" } |
| 3 | |
| 4 | extern int arr_6[]; |
| 5 | extern char arr_7[] __attribute__((aligned)); |
| 6 | void test(short a, bool, int p8) { |
| 7 | for (bool b = 0; b < (bool)p8; b = 1) |
| 8 | for (short c = 0; c < 5; c++) { |
| 9 | arr_6[c] = (long)2 << a - 30574; |
| 10 | arr_7[c] = 0; |
| 11 | } |
| 12 | } |