------- Comment #1 from pinskia at gcc dot gnu dot org  2008-12-18 02:34 -------
Oh it only ICEs with the C++ front-end where we get a TARGET_EXPR.

The simple fix is:
Index: gimplify.c
===================================================================
--- gimplify.c  (revision 142804)
+++ gimplify.c  (working copy)
@@ -3416,7 +3416,7 @@ gimplify_init_constructor (tree *expr_p,

            if (constant_p)
              {
-               TREE_OPERAND (*expr_p, 1) = build_vector_from_ctor (type,
elts);
+               GENERIC_TREE_OPERAND (*expr_p, 1) = build_vector_from_ctor
(type, elts);
                break;
              }

-- CUT --
This is why it only applies to 4.3 because GIMPLE_MODIFY_STMT is not in 4.4
anymore.


-- 

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
           Severity|normal                      |blocker
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-12-18 02:34:52
               date|                            |
   Target Milestone|---                         |4.3.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38565

Reply via email to