This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19163] __attribute__((aligned)) not working in template
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Dec 2004 19:05:45 -0000
- Subject: [Bug c++/19163] __attribute__((aligned)) not working in template
- References: <20041227112454.19163.pcarlini@suse.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pcarlini at suse dot de 2004-12-29 19:05 -------
> Did I already open a PR for this misbehaviour in the past? What
> happened?
Yes, Gaby, the issue at large is clear, by now: see c++/17743. Here, we are
just trying to achieve *minimal* functionality, when the espression in the
attribute is not dependent: among other things (currently __align__ inside
templates is *totally* broken :( this would allow me to provide a decent first
implementation of aligned_storage via specializations for Align=1,2,4,8,16
There is an updated patch ready, which seems to me rather safe
http://gcc.gnu.org/ml/gcc-patches/2004-12/msg02003.html
Paolo.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19163