[Bug c++/90451] [8/9/10/11 Regression] "static" function which added "deprecated" print deprecated warning >1 times (twice or even 3 times)

2021-04-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90451

--- Comment #8 from Jason Merrill  ---
Created attachment 50537
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50537=edit
WIP Fix

Here's an approach that moves the mark_used calls closer to where the functions
are actually used.  We might also try moving the calls the other way, to as
soon as we have a unique result.  Either way, this is too risky for a
diagnostic issue at this point in the release cycle, so deferring.

[Bug c++/90451] [8/9/10/11 Regression] "static" function which added "deprecated" print deprecated warning >1 times (twice or even 3 times)

2021-04-08 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90451

Jason Merrill  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |jason at gcc dot gnu.org