[Bug c++/48138] __attribute__((aligned)) should give an error when applied to a typedef or template parameter, at least in C++0x mode.
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 20 14:42:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48138
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-20 14:40:27 UTC ---
Author: jason
Date: Mon Jun 20 14:40:19 2011
New Revision: 175215
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175215
Log:
PR c++/48138
* tree.c (strip_typedefs): Use build_aligned_type.
Added:
trunk/gcc/testsuite/g++.dg/ext/attr-aligned01.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/tree.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list