OSDN Git Service

* toplev.c (warn_deprecated_use): Correct logic for saying "type"
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Sep 2004 10:54:25 +0000 (10:54 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Sep 2004 10:54:25 +0000 (10:54 +0000)
commitba03a9086d20fab11badea65d734205119b4a762
treeed2baafd2f1b72a27341679804ac68b6b935c411
parent597ff315647cb37da623e03e63865491ef96990d
* toplev.c (warn_deprecated_use): Correct logic for saying "type"
in diagnostic.  Don't dereference NULL TYPE_NAME.

testsuite:
* gcc.dg/deprecated-2.c: New test.

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