Commit d492b096 by John David Anglin Committed by Jeff Law

pa.md (return, [...]): Modify patterns to prevent regrename mucking with the return pointer.

	* pa.md (return, return_internal): Modify patterns to prevent regrename
	mucking with the return pointer.

From-SVN: r38741
parent 476e49bd
2000-01-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
* pa.md (return, return_internal): Modify patterns to prevent regrename
mucking with the return pointer.
2001-01-05 Mike Stump <mrs@wrs.com> 2001-01-05 Mike Stump <mrs@wrs.com>
* varasm.c (assemble_name): Ensure we output the stripped name. * varasm.c (assemble_name): Ensure we output the stripped name.
......
;;- Machine description for HP PA-RISC architecture for GNU C compiler ;;- Machine description for HP PA-RISC architecture for GNU C compiler
;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 ;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
;; Free Software Foundation, Inc. ;; Free Software Foundation, Inc.
;; Contributed by the Center for Software Science at the University ;; Contributed by the Center for Software Science at the University
;; of Utah. ;; of Utah.
...@@ -5467,7 +5467,9 @@ ...@@ -5467,7 +5467,9 @@
;; Unconditional and other jump instructions. ;; Unconditional and other jump instructions.
(define_insn "return" (define_insn "return"
[(return)] [(return)
(use (reg:SI 2))
(const_int 0)]
"hppa_can_use_return_insn_p ()" "hppa_can_use_return_insn_p ()"
"* "*
{ {
...@@ -5482,7 +5484,8 @@ ...@@ -5482,7 +5484,8 @@
;; epilogues so as not to confuse jump and reorg. ;; epilogues so as not to confuse jump and reorg.
(define_insn "return_internal" (define_insn "return_internal"
[(return) [(return)
(use (reg:SI 2))] (use (reg:SI 2))
(const_int 1)]
"" ""
"* "*
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment