re PR c/16666 (dremf type conflict)
authorJoseph Myers <joseph@codesourcery.com>
Sat, 30 Oct 2004 08:50:31 +0000 (09:50 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Sat, 30 Oct 2004 08:50:31 +0000 (09:50 +0100)
commit46097c763954059fdbd8fa5859c3a6a744096d8b
treef14d7c8e29c272504247e1d4eb33a70e85877d14
parent514a3b1100835a73bc91d2bfcc897929a792e85b
re PR c/16666 (dremf type conflict)

PR c/16666
* c-decl.c (start_function): Don't check for DECL_BUILT_IN when
determining whether to copy parameter types from a previous
prototype declaration.

testsuite:
* gcc.dg/dremf-type-compat-1.c, gcc.dg/dremf-type-compat-2.c,
gcc.dg/dremf-type-compat-3.c, gcc.dg/dremf-type-compat-4.c,
gcc.dg/old-style-prom-1.c, gcc.dg/old-style-prom-2.c,
gcc.dg/old-style-prom-3.c: New tests.

From-SVN: r89883
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/dremf-type-compat-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/dremf-type-compat-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/dremf-type-compat-3.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/dremf-type-compat-4.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/old-style-prom-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/old-style-prom-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/old-style-prom-3.c [new file with mode: 0644]