This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/80244] [6 Regression] ICE with attribute in template alias
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 24 Jun 2017 10:54:19 +0000
- Subject: [Bug c++/80244] [6 Regression] ICE with attribute in template alias
- Auto-submitted: auto-generated
- References: <bug-80244-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80244
--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Sat Jun 24 10:53:48 2017
New Revision: 249622
URL: https://gcc.gnu.org/viewcvs?rev=249622&root=gcc&view=rev
Log:
PR c++/80244 - ICE with attribute in template alias.
* tree.c (strip_typedefs): Handle UNDERLYING_TYPE.
* g++.dg/cpp0x/alias-decl-59.C: New test.
Added:
branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/alias-decl-59.C
Modified:
branches/gcc-6-branch/gcc/cp/ChangeLog
branches/gcc-6-branch/gcc/cp/tree.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog