]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c/35434
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 7 Feb 2009 00:32:37 +0000 (00:32 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 7 Feb 2009 00:32:37 +0000 (00:32 +0000)
commit9e830260e94660768c1afb379b85c1d941771589
tree565bd86f7c66276a4fe50b4ebe612007ef76459a
parentfdd3cb8737c2b5b867c705eb5cb61605c80d9de2
PR c/35434
* c-common.c (handle_alias_attribute): Disallow attribute for
anything not a FUNCTION_DECL or VAR_DECL.

testsuite:
* gcc.dg/attr-alias-4.c: New test.

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