OSDN Git Service

* reg-stack.c (propagate_stack): Always copy the source stack to
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 29 May 2005 15:37:44 +0000 (15:37 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 29 May 2005 15:37:44 +0000 (15:37 +0000)
commite8f7380b4e4ef76a5e4638377f75c4e2b1bb1ad0
tree33f875d7a34eb17686fd2ba815611a406f5634cb
parent3857274c4287116920191985bc5d7798ac9cf497
* reg-stack.c (propagate_stack): Always copy the source stack to
the destination.  This routine is now only called when this is safe.
(better_edge): New function split out from convert_regs_1 to
determine which of two edges is better to propagate across.
(convert_regs_1):  We need only search for a best edge if the
stack layout hasn't been defined yet.  Use better_edge to help
find beste.  No longer traverse unnecessary edges.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100323 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/reg-stack.c