The following code snippet triggers an ICE since GCC 4.0.2:
============================================
bool foo() __attribute((vector_size(8)));
void bar()
{
foo() & foo();
}
============================================
bug.cc: In function 'void bar()':
bug.cc:5: internal compiler error: in same_scalar_type_ignoring_signedness, at
c-common.c:7203
Please submit a full bug report, [etc.]
I'm not sure whether the code is valid or not, GCC 3.4.[56] accepted it,
but GCC 4.0.[01] rejected it.
--
Summary: [4.1/4.2/4.3 regression] ICE with vectors of bool
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, monitored
Severity: normal
Priority: P3
Component: c++
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=34911