This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/61392] internal compiler error: in write_template_arg_literal, at cp/mangle.c:3072
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 19 Sep 2014 20:43:23 +0000
- Subject: [Bug c++/61392] internal compiler error: in write_template_arg_literal, at cp/mangle.c:3072
- Auto-submitted: auto-generated
- References: <bug-61392-4 at http dot gcc dot gnu dot org/bugzilla/>
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.