[Bug c++/96045] [11 Regression] Wrong line and column diagnostic message in a class template instantiation
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jul 8 21:54:44 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96045
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |11.0
Ever confirmed|0 |1
Last reconfirmed| |2020-07-08
Summary|Wrong line and column |[11 Regression] Wrong line
|diagnostic message in a |and column diagnostic
|class template |message in a class template
|instantiation |instantiation
Status|UNCONFIRMED |NEW
CC| |mpolacek at gcc dot gnu.org
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed. Interestingly, GCC 10 was much better:
$ xg++-10 -c 96045.C
96045.C:2:8: error: expected unqualified-id at end of input
2 | struct A <int>
| ^~~~~~~
More information about the Gcc-bugs
mailing list