OSDN Git Service

* c-decl.c (start_function): Form composite type of function types
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Jul 2004 19:22:13 +0000 (19:22 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Jul 2004 19:22:13 +0000 (19:22 +0000)
commit78c26657011887dc868e2045f90ab09ea268d603
tree679296ae674e05a9bc0acd3399eb16f236fe81f9
parentf7fe27f8f33c827a3a8dbd473b9ec303ee907cfd
* c-decl.c (start_function): Form composite type of function types
rather than copying type from previous prototype declaration.

testsuite:
* gcc.dg/comp-return-1.c: New test

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