]> gcc.gnu.org Git - gcc.git/commit - gcc/c-decl.c
re PR c/3116 (Bug with using oldstyle prototype declarations)
authorJoseph Myers <jsm28@cam.ac.uk>
Mon, 11 Jun 2001 13:26:19 +0000 (14:26 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Mon, 11 Jun 2001 13:26:19 +0000 (14:26 +0100)
commit1552f8745719c1b62efc50579e200c7e851924c5
tree28ef0c84630cc4987e22cb7097cb3d5b25adff66
parentcff75d2efee00dc45d4b9856c7b94c6660bd6e90
re PR c/3116 (Bug with using oldstyle prototype declarations)

* c-decl.c (store_parm_decls): When comparing types in an
old-style function declaration with those from a previous
prototype, compare the unqualified versions of parameter types.
Fixes PR c/3116.

testsuite:
* gcc.c-torture/compile/20010611-1.c: New test.

From-SVN: r43186
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20010611-1.c [new file with mode: 0644]
This page took 0.059967 seconds and 5 git commands to generate.