[Bug target/52828] powerpc -m32 -Os writes register saves below stack
amodra at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 12 22:26:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52828
--- Comment #1 from Alan Modra <amodra at gcc dot gnu.org> 2012-04-12 22:26:28 UTC ---
Author: amodra
Date: Thu Apr 12 22:26:24 2012
New Revision: 186397
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186397
Log:
PR target/52828
* config/rs6000/rs6000.c (rs6000_emit_stack_tie): Rewrite with
tie regs on destination of sets. Delete forward declaration.
(rs6000_emit_stack_reset): Update rs6000_emit_stack_tie calls.
(rs6000_emit_prologue): Likewise.
(rs6000_emit_epilogue): Likewise. Use in place of gen_frame_tie
and gen_stack_tie.
(is_mem_ref): Use tie_operand to recognise stack ties.
* config/rs6000/predicates.md (tie_operand): New.
* config/rs6000/rs6000.md (restore_stack_block): Generate new
stack tie rtl.
(restore_stack_nonlocal): Likewise.
(stack_tie): Update.
(frame_tie): Delete.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/rs6000/predicates.md
trunk/gcc/config/rs6000/rs6000.c
trunk/gcc/config/rs6000/rs6000.md
More information about the Gcc-bugs
mailing list