OSDN Git Service

2008-03-27 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 Mar 2008 16:34:55 +0000 (16:34 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 Mar 2008 16:34:55 +0000 (16:34 +0000)
commit059a60f37edb43c972e0dc98836142865ca50b37
tree80c072ec99b03af1c2177a37fdaa302f07d39aa2
parent590d65aa2235ac9f6be3eecf634288cb82d00831
2008-03-27  Richard Guenther  <rguenther@suse.de>

PR c/32511
* c-common.c (handle_weak_attribute): Reject combination of
weak and inline.

* gcc.dg/attr-weak-1.c: New testcase.

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