This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/28862] [4.0/4.1/4.2 Regression] attribute ((aligned)) ignored on vector variables
- From: "thomas at reactsoft dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Sep 2006 07:10:55 -0000
- Subject: [Bug middle-end/28862] [4.0/4.1/4.2 Regression] attribute ((aligned)) ignored on vector variables
- References: <bug-28862-1501@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from thomas at reactsoft dot com 2006-09-05 07:10 -------
(In reply to comment #4)
> Actually it looks like an oversight of what relayout_decl does. The reason is
> that relayout_decl was added by the patch to fix "PR c++/16115" and I think
> Jason forgot about user specified alignment because he was only dealing with
> PARM_DECLs at the time.
Is this also supposed to fix the problem I posted in comment #2? I applied that
patch to my gcc but it didn't fix the generated code for me. It's just weird
because the bug only appears if the code is complex enough. If it's just a
rather simple function, the generated code is correct.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28862