This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/71251] [5/6/7 regression] ICE on invalid code, with unusual template name
- From: "msebor at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 26 May 2016 03:49:01 +0000
- Subject: [Bug c++/71251] [5/6/7 regression] ICE on invalid code, with unusual template name
- Auto-submitted: auto-generated
- References: <bug-71251-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71251
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Known to work| |4.9.3
Keywords| |ice-on-invalid-code
Last reconfirmed| |2016-05-26
CC| |msebor at gcc dot gnu.org
Ever confirmed|0 |1
Summary|ICE on invalid code, with |[5/6/7 regression] ICE on
|unusual template name |invalid code, with unusual
| |template name
Known to fail| |5.1.0, 6.1.0, 7.0
--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed with today's trunk, GCC 6 and GCC 5. GCC 4.9.3 accepts the invalid
code (invalid due to the double template <...> in the alias template
declaration). Current trunk also accepts the declaration alone. Clang rejects
it but EDG eccp 4.10 also accepts it, making me wonder if I'm missing something
about the validity of the construct.