The following valid code snippet triggers an ICE on mainline: ============================================================ int __attribute__((vector_size(8))) a;
void foo() { a += a*a; } ============================================================ bug.c: In function 'foo': bug.c:5: internal compiler error: in fold_convert, at fold-const.c:2089 Please submit a full bug report, [etc.] -- Summary: [4.2 regression] ICE with simple vector operations Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, monitored Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28268