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]

Re: __attribute__((aligned(N))) silently ignored for auto variables


Rene Herman wrote:
Was instructed (on irc.oftc.net:#gcc) to file a bug report. It seems gcc silently ignores __attribute__((aligned(N))) on stack variables (even with -mpreferred-stack-boundary=K, K >= 2logN). My own test is with:

Yes, it does. The aligned attribute works for structure members, and global scalar variables, but not for local scalar variables. This has apparently always been the case.


If you want someone to deal with this problem, you should submit a bug report into our bugzilla bug database. We don't track problems sent to the bug-gcc mailing list. See
http://gcc.gnu.org/bugs.html
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



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