]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c-common.c
* c-common.c (handle_used_attribute): Accept static data too.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Feb 2003 02:07:06 +0000 (02:07 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Feb 2003 02:07:06 +0000 (02:07 +0000)
commitd0a31bd870118dd2ab77285a2a0e4086b3bf4f67
tree61bfc9f2c849a8b517a22fb036bb9ba1c8838f72
parente22a6b11f360c5eb79d68da905318944a9c63dcf
    * c-common.c (handle_used_attribute): Accept static data too.

        * gcc.dg/attr-invalid.c: Allow __used__ on static data.
        * gcc.dg/attr-used-2.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63082 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/attr-invalid.c
gcc/testsuite/gcc.dg/attr-used-2.c [new file with mode: 0644]