https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84489
--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Fri Mar 23 14:40:06 2018 New Revision: 258814 URL: https://gcc.gnu.org/viewcvs?rev=258814&root=gcc&view=rev Log: PR c++/78489 - Substitution in wrong order PR c++/84489 * pt.c (type_unification_real): Revert last two changes. Added: branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp0x/sfinae60.C Removed: branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp0x/alias-decl-63.C branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp0x/fntmpdefarg7.C Modified: branches/gcc-7-branch/gcc/cp/ChangeLog branches/gcc-7-branch/gcc/cp/pt.c