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.