PR c++/80244 - ICE with attribute in template alias.
authorMarek Polacek <polacek@redhat.com>
Tue, 18 Apr 2017 09:34:10 +0000 (09:34 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Tue, 18 Apr 2017 09:34:10 +0000 (09:34 +0000)
commitbe7c73ae358319c5f9541f2e2f7a5dc37ec0e116
treee0ecb87b01659509015227635ef8f0bd1b112bf7
parent6397118495f65a03a0d13114cf2c72d4a66f9cb1
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.

From-SVN: r246962
gcc/cp/ChangeLog
gcc/cp/tree.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/alias-decl-59.C [new file with mode: 0644]