------- Comment #22 from hjl dot tools at gmail dot com 2009-08-08 11:45 ------- (In reply to comment #21) > Hmm, it still generates the stack frame (and the alignment itself) when there > are structures containing long long and with -malign-double. > > Example, compile with -O2 -fomit-frame-pointer -mpreferred-stack-boundary=2 > -malign-double: >
It is because -malign-double will align long long to 8 byte. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40667