This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/30022] New: [4.0/4.1/4.2/4.3 regression] ICE on vector operand in division
- 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: 29 Nov 2006 22:09:51 -0000
- Subject: [Bug c++/30022] New: [4.0/4.1/4.2/4.3 regression] ICE on vector operand in division
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following code snippet crashes the C++ frontend since GCC 4.0.0:
================================================
void foo()
{
int __attribute__((vector_size(8))) v;
v = 1/v;
}
================================================
bug.cc: In function 'void foo()':
bug.cc:4: internal compiler error: in type_after_usual_arithmetic_conversions,
at cp/typeck.c:266
Please submit a full bug report, [etc.]
Will post a patch soon.
--
Summary: [4.0/4.1/4.2/4.3 regression] ICE on vector operand in
division
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, monitored
Severity: normal
Priority: P3
Component: c++
AssignedTo: reichelt at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30022