------- Comment #6 from reichelt at gcc dot gnu dot org 2007-12-27 18:48
-------
Confirmed. Reduced testcase that crashes on i686-pc-linux-gnu when compiled
with "-msse -O" (as C or C++ code):
======================================================
typedef int v4i __attribute__((vector_size(16)));
void foo(v4i* p, v4i v)
{
int i;
for (i=0; i < 4; ++i)
*p += v;
}
======================================================
bug.c: In function 'foo':
bug.c:8: internal compiler error: in expand_simple_binop, at optabs.c:1157
Please submit a full bug report, [etc.]
The bug appeared in GCC 4.2.0 and disappeared on mainline between
2007-09-14 and 2007-10-13.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-valid-code, monitored
Known to fail| |4.2.0 4.2.1 4.2.2
Known to work| |4.1.2 4.3.0
Last reconfirmed|0000-00-00 00:00:00 |2007-12-27 18:48:49
date| |
Summary|ICE in expand_simple_binop |ICE with vectors in
|at optabs.c |expand_simple_binop at
| |optabs.c
Target Milestone|--- |4.2.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33540