This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/78489] [6/7/8 Regression] Substitution failure does not happen in lexical order for NTTP declarations.
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 23 Mar 2018 12:22:06 +0000
- Subject: [Bug c++/78489] [6/7/8 Regression] Substitution failure does not happen in lexical order for NTTP declarations.
- Auto-submitted: auto-generated
- References: <bug-78489-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78489
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Eric Fiselier from comment #2)
> Created attachment 43737 [details]
> reproducer2.cpp
>
> Another reproducer: This one is a regression from 7.3
> https://godbolt.org/g/UEti9f
>
> Could somebody please take a look at this?
This one started to fail on trunk with r258039
PR c++/84489 - dependent default template argument
* pt.c (type_unification_real): Handle early substitution failure.
That fix has just been backported to the 6 and 7 branches, and so also fails
with the tip of those branches.