[Bug c++/109177] Call to C++ function marked unavailable gets diagnosed twice

2023-03-22 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109177 Alex Coplan changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/109177] Call to C++ function marked unavailable gets diagnosed twice

2023-03-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109177 --- Comment #5 from CVS Commits --- The master branch has been updated by Alex Coplan : https://gcc.gnu.org/g:d3a6f174543816600b1f472997d492088e4e396a commit r13-6801-gd3a6f174543816600b1f472997d492088e4e396a Author: Alex Coplan Date: Wed M

[Bug c++/109177] Call to C++ function marked unavailable gets diagnosed twice

2023-03-21 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109177 --- Comment #4 from Alex Coplan --- (In reply to Patrick Palka from comment #3) > FWIW one way to test against duplicate errors currently is something like: > > void f() __attribute__((unavailable)); // { dg-bogus "is unavailable.*is > unavaila

[Bug c++/109177] Call to C++ function marked unavailable gets diagnosed twice

2023-03-21 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109177 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #

[Bug c++/109177] Call to C++ function marked unavailable gets diagnosed twice

2023-03-20 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109177 --- Comment #2 from Alex Coplan --- Part of the problem here seems to be that dg-error doesn't care how many times the same diagnostic is emitted, so it doesn't seem able to detect this failure mode. Otherwise, I expect this would have shown up

[Bug c++/109177] Call to C++ function marked unavailable gets diagnosed twice

2023-03-18 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109177 Alex Coplan changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0