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: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Dec 2004 13:18:19 -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 giovannibajo at libero dot it 2004-12-27 13:18 -------
We lose the alignment while tsubsting. This is a quick patch for this, I'm not
sure if there are other information we should propagate from the original array
type to the new array type, I guess the reviewer will know.
Meanwhile, Paolo, mind if I ask you to test this patch for me? You can also
test the partial specialization, it looks like it works for me.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |wrong-code
Last reconfirmed|0000-00-00 00:00:00 |2004-12-27 13:18:18
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19163