[Bug middle-end/18965] [4.0 regression] ICE in gimplify_init_ctor_eval

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Dec 13 20:24:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-13 20:24 -------
Confirmed.  This is a recent failure:
: Search converges between 2004-12-09-014001-trunk (#682) and 2004-12-09-161001-trunk 
(#683).

Which I think was caused by:
2004-12-09  Nathan Sidwell  <nathan@codesourcery.com>

        PR c++/16681
        * init.c (build_zero_init): Build a RANGE_EXPR for an array
        initializer.

Here is the comment in the source:
          /* ??? Need to handle this.  */
          gcc_assert (TREE_CODE (purpose) != RANGE_EXPR);

So this was expected to fail at one point.
RTH wrote the code but Nathan changed the C++ front-end to use RANGE_EXPR.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rth at gcc dot gnu dot org,
                   |                            |nathan at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
          Component|c++                         |middle-end
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-12-13 20:24:48
               date|                            |


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



More information about the Gcc-bugs mailing list