C++ PATCH for c++/84221, bogus -Wunused with unused attribute on template
Jason Merrill
jason@redhat.com
Wed Apr 4 19:04:00 GMT 2018
For bugs 54372 and 60063, we changed attributes used and unused to be
applied immediately in a template even if what they apply to is
dependent, to avoid bogus warnings from
maybe_warn_unused_local_typedefs. But that's only an issue for
TYPE_DECL, so we can use the normal logic for other things.
Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 84221.diff
Type: text/x-patch
Size: 1491 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180404/96343dc0/attachment.bin>
More information about the Gcc-patches
mailing list