re PR c++/35546 (__attribute__(format...) broken for members of template classes?)
authorJakub Jelinek <jakub@redhat.com>
Wed, 26 Mar 2008 20:34:14 +0000 (21:34 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 26 Mar 2008 20:34:14 +0000 (21:34 +0100)
commitff2f1c5f22e9372be35ae5e03f5d9ada1c4e47da
treef3c00cfabb1e1de34ce1b74f9890ef3f2d44b1b8
parent33558d947ce6fb40d78caaa208b394def95269b7
re PR c++/35546 (__attribute__(format...) broken for members of template classes?)

PR c++/35546
* pt.c (apply_late_template_attributes): Don't call tsubst on
first attribute argument if it is IDENTIFIER_NODE.

* g++.dg/ext/attrib33.C: New test.

From-SVN: r133615
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/attrib33.C [new file with mode: 0644]