This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/28074] -mstackrealign generates inefficient code
- From: "asl at math dot spbu dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Oct 2007 05:15:34 -0000
- Subject: [Bug target/28074] -mstackrealign generates inefficient code
- References: <bug-28074-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from asl at math dot spbu dot ru 2007-10-04 05:15 -------
The testcase is slightly uninformative.
Note, that %esp is aligned here and %ebp is potentially not (thus locals are
accessed via %esp).
What if:
1. We have dinamic size alloca() call
2. We have incoming arguments. How are they referenced? Via %ebp?
--
asl at math dot spbu dot ru changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |asl at math dot spbu dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28074