OSDN Git Service

* c-decl.c (grokdeclarator): Make the TREE_TYPE for declarations
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Jun 2001 22:33:46 +0000 (22:33 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Jun 2001 22:33:46 +0000 (22:33 +0000)
commit7c772c9a1f35e89fff25d8200f20d1276dd3f1f1
treed8ba494b63c0ae629f01eb15a7a2029026736c14
parentcd7d360ca7315e42b4c609ed3c324f65229a44fd
* c-decl.c (grokdeclarator): Make the TREE_TYPE for declarations
accurately reflect its cv-qualification.
* c-typeck.c (type_lists_compatible_p): Ignore the top-levl
cv-qualifiers on function types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43056 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-decl.c
gcc/c-typeck.c
gcc/testsuite/gcc.c-torture/compile/920729-1.c
gcc/testsuite/gcc.c-torture/execute/931018-1.c
gcc/testsuite/gcc.dg/noncompile/redecl-1.c