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++/61392] internal compiler error: in write_template_arg_literal, at cp/mangle.c:3072


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.


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