[Bug target/31558] ICE with __builtin_vec_splat
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jul 9 09:00:00 GMT 2007
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-07-09 09:00 -------
Mine, patch (which needs full testing):
Index: config/rs6000/rs6000-c.c
===================================================================
--- config/rs6000/rs6000-c.c (revision 126424)
+++ config/rs6000/rs6000-c.c (working copy)
@@ -2417,6 +2417,8 @@
{
tree builtin_type;
builtin_type = rs6000_builtin_type (id);
+ if (t == error_mark_node)
+ return false;
if (INTEGRAL_TYPE_P (t) && INTEGRAL_TYPE_P (builtin_type))
return true;
else
--
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 09:00:26
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31558
More information about the Gcc-bugs
mailing list