This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]