OSDN Git Service

PR c/7425
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Sep 2004 20:27:26 +0000 (20:27 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Sep 2004 20:27:26 +0000 (20:27 +0000)
commitdf4d0ece4fe5366ed0261b32b6e5cdb2dc8252fc
tree4d6af7bfab6a91d602bda4e9a23e6b7fcfeac89c
parent9cf6cf1c1297de7fad44b084ec539909b3cbabd1
PR c/7425
* c-decl.c (merge_decls): Merge TREE_DEPRECATED.

cp:
* decl.c (duplicate_decls): Merge TREE_DEPRECATED.

testsuite:
* gcc.dg/deprecated-3.c, g++.dg/warn/deprecated-2.C: New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88303 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-decl.c
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/deprecated-2.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/deprecated-3.c [new file with mode: 0644]