This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/40657] allocate local variables with fewer instructions
- From: "carrot at google dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jul 2009 06:44:55 -0000
- Subject: [Bug target/40657] allocate local variables with fewer instructions
- References: <bug-40657-17659@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from carrot at google dot com 2009-07-07 06:44 -------
Could we do the optimization in function thumb1_expand_prologue? If we find
this opportunity in function thumb1_expand_prologue, we can remove the sp
manipulations from prologue and epilogue. We also should add extra registers to
push/pop operands.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40657