[Bug c++/95725] Confusing error diagnostic in an invalid template

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 18 11:31:24 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95725

--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Haoxin Tu from comment #7)
> By the way, can you take a look at bug 95597 and bug 95659? I think GCC
> should accept the first case and shouldn't miss the error message in the
> second code. 
> Those cases are different from this report.

I've confirmed bug 95597, that's a real bug.

Bug 95659 is just more garbage.


More information about the Gcc-bugs mailing list