re PR c++/36662 (vector vs template)
authorJakub Jelinek <jakub@redhat.com>
Mon, 30 Jun 2008 20:41:29 +0000 (22:41 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 30 Jun 2008 20:41:29 +0000 (22:41 +0200)
commitb2febff9b75efcb419fcf5d8d821175300fa00b5
tree850a4f25e3444247fa6f8223910e36ae7337c920
parent727683a51c938a58cc7bdb7ea6bebed63521c5b4
re PR c++/36662 (vector vs template)

PR c++/36662
* decl2.c (is_late_template_attribute): If the first attribute
argument is IDENTIFIER_NODE, don't consider it when checking
if arguments are value or type dependent.

* g++.dg/ext/altivec-16.C: New test.

From-SVN: r137287
gcc/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/altivec-16.C [new file with mode: 0644]