OSDN Git Service

* c-decl.c (store_parm_decls): When comparing types in an
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Jun 2001 13:26:19 +0000 (13:26 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Jun 2001 13:26:19 +0000 (13:26 +0000)
commite6cb1ebe6921335789543106b940309b6ad79d5c
tree28ef0c84630cc4987e22cb7097cb3d5b25adff66
parentb34a39af2c8211b61b27c4e3343ac8213e477c58
* 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.

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