[Bug c++/66586] Template backtrace is truncated/absent after 'template argument deduction/substitution failed:'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66586 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > Dup. > > *** This bug has been marked as a duplicate of bug 56842 *** I should dup and fixed in GCC 9.1.0.
[Bug c++/66586] Template backtrace is truncated/absent after 'template argument deduction/substitution failed:'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66586 Andrew Pinski changed: What|Removed |Added Known to work||9.1.0 Status|NEW |RESOLVED Known to fail||8.5.0 Resolution|--- |DUPLICATE --- Comment #4 from Andrew Pinski --- Dup. *** This bug has been marked as a duplicate of bug 56842 ***
[Bug c++/66586] Template backtrace is truncated/absent after 'template argument deduction/substitution failed:'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66586 Michał Mirosław changed: What|Removed |Added CC||mirq-gccboogs at rere dot qmqm.pl --- Comment #3 from Michał Mirosław --- Created attachment 44379 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44379=edit Testcase with enable_if_t Happens also in 6.3.0, 7.3.0, 8.1.0 (same messages generated for those versions). Slightly different testcase, with enable_if_t. $ g++ -c -std=c++17 a.cc a.cc: In function ‘void bar()’: a.cc:22:7: error: no matching function for call to ‘foo(A&)’ foo(a); ^ a.cc:6:6: note: candidate: template void foo(S&) void foo(S&); ^~~ a.cc:6:6: note: template argument deduction/substitution failed: a.cc:9:6: note: candidate: template void foo(S&) void foo(S&); ^~~ a.cc:9:6: note: template argument deduction/substitution failed: a.cc:8:23: error: no type named ‘other’ in ‘struct A’ template > ^~~~
[Bug c++/66586] Template backtrace is truncated/absent after 'template argument deduction/substitution failed:'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66586 --- Comment #2 from Paolo Carlini paolo.carlini at oracle dot com --- Happens in c++/66439 too.
[Bug c++/66586] Template backtrace is truncated/absent after 'template argument deduction/substitution failed:'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66586 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED |NEW Last reconfirmed||2015-06-18 Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely redi at gcc dot gnu.org --- I've seen this many times but never distilled it down. Thanks for the testcase.