c-decl.c (start_function): Form composite type of function types rather than copying...
authorJoseph Myers <jsm@polyomino.org.uk>
Fri, 23 Jul 2004 19:22:13 +0000 (20:22 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Fri, 23 Jul 2004 19:22:13 +0000 (20:22 +0100)
commit7eb01bd8296eda52b215c3047ce4bc6a2040c875
tree679296ae674e05a9bc0acd3399eb16f236fe81f9
parentf67376e4ba0e45670eac3d3f0ace808a576ef2f0
c-decl.c (start_function): Form composite type of function types rather than copying type from previous...

* 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

From-SVN: r85093
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/comp-return-1.c [new file with mode: 0644]