OSDN Git Service

PR c/36507
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Jun 2008 09:38:31 +0000 (09:38 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Jun 2008 09:38:31 +0000 (09:38 +0000)
commit56f06eefe91d32c510a389a65078d2b040ca8108
tree5af24d70e0a73823535ae8c8ff4e6923ffecee6a
parent65ab6c26b0262edcb4a1c5e52d9c480973432b8f
PR c/36507
* c-decl.c (merge_decls): Don't clear DECL_EXTERNAL for
nested inline functions.
(start_decl, start_function): Don't invert DECL_EXTERNAL
for nested inline functions.

* gcc.dg/inline-28.c: New test.
* gcc.dg/inline-29.c: New test.
* gcc.dg/inline-30.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136745 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/inline-28.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/inline-29.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/inline-30.c [new file with mode: 0644]