https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15269
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2005-05-01 03:42:59 |2021-8-11 --- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So to summary here, the only problem left is the following testcase: // { dg-do compile } struct B { void foo() __attribute__((deprecated)); // { dg-message "note" } }; void B::foo() {} // { dg-bogus "" } void demo() { ((B*)0)->foo(); } // { dg-warning "" }