[Bug c++/90894] maybe_unused attribute is ignored on function parameters in explicitly instantiated templates

2020-01-28 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90894

Martin Liška  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||marxin at gcc dot gnu.org
 Resolution|--- |FIXED

--- Comment #2 from Martin Liška  ---
Fixed on trunk with r10-1214-g1bf32c1141e23074.

[Bug c++/90894] maybe_unused attribute is ignored on function parameters in explicitly instantiated templates

2019-10-09 Thread TonyELewis at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90894

Tony E Lewis  changed:

   What|Removed |Added

 CC||TonyELewis at hotmail dot com

--- Comment #1 from Tony E Lewis  ---
I've also just hit this issue. Good work on the clear, simple repro code Matt.

>From what I can see using Godbolt, this issue has now been fixed between 9.2
and the current trunk (10.0.0 20191008).