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 c/37990] -Os produces redundant instructions



------- Comment #1 from rguenth at gcc dot gnu dot org  2008-11-02 10:33 -------
What exactly do you mean with redundant stack manipulation?  Note that the
ABI requires the stack to be aligned properly at function entry which makes
stack adjustment necessary before the call.  Note also that you can use
-maccumulate-outgoing-args to reduce the number of stack operations, but that
may cause bigger code in some cases.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37990


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