[Bug c/30428] vector float | vector float is accepted
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jul 9 08:24:00 GMT 2007
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-07-09 08:24 -------
And one for the C++ front-end:
Index: typeck.c
===================================================================
--- typeck.c (revision 126424)
+++ typeck.c (working copy)
@@ -3213,7 +3213,9 @@
case BIT_IOR_EXPR:
case BIT_XOR_EXPR:
if ((code0 == INTEGER_TYPE && code1 == INTEGER_TYPE)
- || (code0 == VECTOR_TYPE && code1 == VECTOR_TYPE))
+ || (code0 == VECTOR_TYPE && code1 == VECTOR_TYPE
+ && !VECTOR_FLOAT_TYPE_P (type0)
+ && !VECTOR_FLOAT_TYPE_P (type1)))
shorten = -1;
break;
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-07-09 08:24:03
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30428
More information about the Gcc-bugs
mailing list