http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51301
Bug #: 51301 Summary: Compiler ICE in vect_is_simple_use_1 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: mgret...@sourceware.org CC: i...@gcc.gnu.org Target: arm*-*-* Compiling the following test results in an ICE: $ cat test.c /* arm-systest-eabi-gcc -c -O3 -mcpu=cortex-a9 -mfpu=neon -mfloat-abi=softfp test.c */ typedef signed char int8_t; typedef signed long long int64_t; int64_t f0a (int8_t * __restrict__ arg1) { int idx; int64_t result = 0; for (idx = 0; idx < 416; idx += 1) result += arg1[idx] << (arg1[idx] == arg1[idx]); return result; } /* End of test.c. */ $ arm-upstream-eabi-gcc -c test.c -O3 test.c: In function 'f0a': test.c:5:1: internal compiler error: in vect_is_simple_use_1, at tree-vect-stmts.c:5970 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Tested against gcc trunk, rev 181718