re PR c/21659 ([unit-at-a-time] "weak declaration must precede definition" error...
authorJan Hubicka <jh@suse.cz>
Mon, 24 Jan 2011 23:07:25 +0000 (00:07 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 24 Jan 2011 23:07:25 +0000 (23:07 +0000)
commite8ba94fc1fe2d7d96bfc2fa5293c1bb0b86a5b52
tree22cf10e472b5ae4e466e1ea53c1f2933f186775d
parent71c67403a2faf26b64c2bf525e392953a2707aa3
re PR c/21659 ([unit-at-a-time] "weak declaration must precede definition" error missing at >= O1)

PR c/21659
* doc/extend.texi (weak pragma): Drop claim that it must
appear before definition.
* varasm.c (merge_weak, declare_weak): Only sanity check
that DECL is not output at a time it is declared weak.

From-SVN: r169184
gcc/ChangeLog
gcc/doc/extend.texi
gcc/varasm.c