OSDN Git Service

Mumit Khan <khan@xraylith.wisc.edu>
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Jun 1999 20:40:39 +0000 (20:40 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Jun 1999 20:40:39 +0000 (20:40 +0000)
        * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27475 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/reg-stack.c

index 7b6b5a7..38a6fac 100644 (file)
@@ -1,3 +1,7 @@
+Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
+
+       * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
+
 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
 
        * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
index 787b5a1..8a27b95 100644 (file)
@@ -1257,7 +1257,7 @@ stack_reg_life_analysis (first, stackentry)
           function into the epilogue.  */
 
         if (GET_CODE (block_end[blocks-1]) != JUMP_INSN
-           || GET_CODE (PATTERN (block_end[blocks-1])) == RETURN)
+           || returnjump_p (block_end[blocks-1]))
          mark_regs_pat (retvalue, block_out_reg_set+blocks-1);
       }
    }