re PR c++/48138 (__attribute__((aligned)) should give an error when applied to a...
authorJason Merrill <jason@redhat.com>
Tue, 21 Jun 2011 02:24:09 +0000 (22:24 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 21 Jun 2011 02:24:09 +0000 (22:24 -0400)
commit344bf2e1a23979f149b9489155dfe2ee74e38273
tree14b2e8dd4ee3c89d225f748b1742d9e16a52cabe
parent7bd161189862841d30c84c4d6bb5c251869adeef
re PR c++/48138 (__attribute__((aligned)) should give an error when applied to a typedef or template parameter, at least in C++0x mode.)

PR c++/48138
* pt.c (canonicalize_type_argument): New.
(convert_template_argument, unify): Use it.

From-SVN: r175236
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/ext/attr-aligned01.C