This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34911] New: [4.1/4.2/4.3 regression] ICE with vectors of bool
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2008 23:20:01 -0000
- Subject: [Bug c++/34911] New: [4.1/4.2/4.3 regression] ICE with vectors of bool
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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