[Bug c++/61392] internal compiler error: in write_template_arg_literal, at cp/mangle.c:3072

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Sep 19 20:43:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61392

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
The use of ddx without reference to a B object is only allowed if it is the
whole unevaluated operand, i.e. decltype(ddx).  Here it's used in an
expression, which is ill-formed.  So, ice on invalid.



More information about the Gcc-bugs mailing list