This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug regression/32849] Unnecessary %esp inc/decrements in trivial code
- From: "rask at sygehus dot dk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jul 2007 22:56:07 -0000
- Subject: [Bug regression/32849] Unnecessary %esp inc/decrements in trivial code
- References: <bug-32849-12956@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from rask at sygehus dot dk 2007-07-22 22:56 -------
The point is exactly to align the stack. The call instruction decrements %esp
by 4 bytes, so GCC has to decrement %esp by another 12 bytes to keep the stack
aligned. See also bug target/13685.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32849