]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: Revert alias template change [pr95263]
authorNathan Sidwell <nathan@acm.org>
Wed, 27 May 2020 13:50:15 +0000 (09:50 -0400)
committerNathan Sidwell <nathan@acm.org>
Wed, 27 May 2020 13:58:48 +0000 (09:58 -0400)
commitac9face8d26ea4b6aa72902ecc22e89ef00763c5
treef9b99167a3a91f8d0b0e1cbecf079a1267e37581
parent6c8e16aea85286721eb5689f9bcae09d36003cb1
c++: Revert alias template change [pr95263]

Turns out templates are more complicated than you think, even when you
know they are more complicated than you think.  Reverting this change.

PR c++/95263
* pt.c (lookup_template_class_1): Restore alias template mutation.
gcc/cp/pt.c
gcc/testsuite/g++.dg/template/pr95263.C [new file with mode: 0644]