This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/36998] [4.3/4.4 regression] Ada bootstrap broken on i586-*-*
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Aug 2008 16:25:49 -0000
- Subject: [Bug rtl-optimization/36998] [4.3/4.4 regression] Ada bootstrap broken on i586-*-*
- References: <bug-36998-226@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #22 from jakub at gcc dot gnu dot org 2008-08-11 16:25 -------
Created an attachment (id=16053)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16053&action=view)
pop.patch
Additional patch on top of sp=reg.patch patch, which should fix the SH4 case -
the simplistic stack_adjust_offset wouldn't see the adjustments in pop
instructions, only push instructions. I'm not sure if it is enough to do it
this way, or whether for_each_rtx shouldn't be called instead to find all
embedded MEMs with {PRE,POST}_{INC,DEC,MODIFY} operands on sp register.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36998