This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]