[Bug middle-end/28862] [4.0/4.1/4.2 Regression] attribute ((aligned)) ignored on vector variables

thomas at reactsoft dot com gcc-bugzilla@gcc.gnu.org
Tue Sep 5 07:11:00 GMT 2006



------- 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



More information about the Gcc-bugs mailing list