http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57198
Bug #: 57198 Summary: ICE in warn_logical_operator for vectors Classification: Unclassified Product: gcc Version: 4.9.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: gli...@gcc.gnu.org g++ crashes on the following program: typedef int vec __attribute__((vector_size(4*sizeof(int)))); void f(vec* a, vec* b, vec* c){ *c = (*a < *b) && (*b < *a); } http://gcc.gnu.org/ml/gcc-patches/2013-04/msg00783.html includes a fix, but it is probably not the right place for that check if we keep this code invalid.