This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/21850] New: misscompiling comparision from vector to integer
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 May 2005 20:49:44 -0000
- Subject: [Bug middle-end/21850] New: misscompiling comparision from vector to integer
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
the following code is miscompiled:
extern void abort (void);
typedef int V2SI __attribute__ ((vector_size (8)));
int
main (void)
{
if (((int)(long long)(V2SI){ 2, 2 })!=2)
abort ();
}
Note this is now blocking my tree combiner to be regression free.
--
Summary: misscompiling comparision from vector to integer
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P2
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21850