This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/40667] [4.4/4.5 Regression] stack frames are generated even with -fomit-frame-pointer
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Aug 2009 11:45:13 -0000
- Subject: [Bug rtl-optimization/40667] [4.4/4.5 Regression] stack frames are generated even with -fomit-frame-pointer
- References: <bug-40667-1600@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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