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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-05-13
                 CC|                            |hubicka at ucw dot cz,
                   |                            |jason at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> ---
This difference is caused by varpool_remove_node clobbering the DECL_INITIAL of
integral_constant<bool, false>::value, and then dump_template_bindings trying
to use the now clobbered value in printing out the name of a function.

It seems to me that varpool_remove_node shouldn't mess with variables that can
still be used for their value in constant expressions.

Reply via email to