[Bug c++/71982] Wrong error and note range with macro

2021-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71982 --- Comment #3 from Andrew Pinski --- Trunk gives: [apinski@xeond2 src]$ ~/upstream-gcc/bin/gcc t.cc t.cc: In instantiation of ‘bool operator==(const A&, const A&) [with T = const B]’: t.cc:25:30: required from here t.cc:1:34: error: no match f

[Bug c++/71982] Wrong error and note range with macro

2021-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71982 Andrew Pinski changed: What|Removed |Added Status|WAITING |NEW

[Bug c++/71982] Wrong error and note range with macro

2021-12-09 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71982 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |WAITING CC|

[Bug c++/71982] Wrong error and note range with macro

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71982 --- Comment #1 from Andrew Pinski --- Seems fixed in GCC 11+.