This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17404] [4.0 Regression] gimplify ICE while trying to gimplify a stmt_expr
- From: "rth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Sep 2004 00:12:34 -0000
- Subject: [Bug c++/17404] [4.0 Regression] gimplify ICE while trying to gimplify a stmt_expr
- References: <20040910175350.17404.steven@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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