re PR c++/65687 (Inconsistent behavior for __attribute__((__deprecated__)) between...
authorJason Merrill <jason@redhat.com>
Thu, 21 Jan 2016 20:26:21 +0000 (15:26 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 21 Jan 2016 20:26:21 +0000 (15:26 -0500)
commit020491e63b0eaf2141f3ea9f65184551e94ecbad
tree566359039e775fab5642c199dc190ba14acb985d
parent2f3932b910c7e450e0ac75e607dfb7229b9429cc
re PR c++/65687 (Inconsistent behavior for __attribute__((__deprecated__)) between C and C++.)

PR c++/65687
* decl.c (type_is_deprecated): Don't look into a typedef.

From-SVN: r232703
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/g++.dg/warn/deprecated-10.C [new file with mode: 0644]