[Bug c++/17404] [4.0 Regression] gimplify ICE while trying to gimplify a stmt_expr

rth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Sep 12 00:12:00 GMT 2004


------- Additional Comments From rth at gcc dot gnu dot org  2004-09-12 00:12 -------
What you're missing is that STMT_EXPR isn't supposed to survive template
instantiation.  The problem is a simple matter of code in the wrong place.

As an aside, I'm going to have to inflict bodily harm on whoever decided
that having four different functions for instantiating expressions instead
of one was a good idea.

Testing a patch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|rth at gcc dot gnu dot org  |
         AssignedTo|unassigned at gcc dot gnu   |rth at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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



More information about the Gcc-bugs mailing list