This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/31558] ICE with __builtin_vec_splat
- 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: 9 Jul 2007 09:00:26 -0000
- Subject: [Bug target/31558] ICE with __builtin_vec_splat
- References: <bug-31558-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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