[Bug c++/83271] const variable previously declared "extern" results in "weak declaration must be public" error

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 5 09:47:00 GMT 2017


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

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Can't we simply force it public when processing the attribute and let
duplicate-decl complain when merging a previous declaration/definition?


More information about the Gcc-bugs mailing list