[Bug c/88546] Copy attribute unusable for weakrefs

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 19 03:20:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88546

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-12-19
     Ever confirmed|0                           |1

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed.  The warnings should be easy enough to suppress in the attribute
copy handler.  Attribute weakref on extern symbols has been rejected since
r108074 (GCC 4.1 seems fine with it).  I have no idea it would take to accept
them with the correct semantics.


More information about the Gcc-bugs mailing list