re PR c++/48138 (__attribute__((aligned)) should give an error when applied to a...
authorJason Merrill <jason@redhat.com>
Mon, 20 Jun 2011 14:40:19 +0000 (10:40 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 20 Jun 2011 14:40:19 +0000 (10:40 -0400)
commit053225431604d09cbe1d1495581b71a85a72dd1f
tree2582cba7aba4912881fdb6ed06448bc6d805f397
parent2602f8fe61dcf2388890bbbdb938e46ce9d2936b
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
* tree.c (strip_typedefs): Use build_aligned_type.

From-SVN: r175215
gcc/cp/ChangeLog
gcc/cp/tree.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/attr-aligned01.C [new file with mode: 0644]