This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/51301] New: Compiler ICE in vect_is_simple_use_1
- From: "mgretton at sourceware dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 25 Nov 2011 11:32:10 +0000
- Subject: [Bug tree-optimization/51301] New: Compiler ICE in vect_is_simple_use_1
- Auto-submitted: auto-generated
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: unassigned@gcc.gnu.org
ReportedBy: mgretton@sourceware.org
CC: irar@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