Module Name:    src
Committed By:   kalvisd
Date:           Sun Sep 29 12:52:56 UTC 2024

Modified Files:
        src/external/gpl3/gcc/dist/gcc/config/vax: vax.md

Log Message:
gcc: vax: remove inadvertently duplicated instruction patterns for "eh_return"


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/external/gpl3/gcc/dist/gcc/config/vax/vax.md

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/dist/gcc/config/vax/vax.md
diff -u src/external/gpl3/gcc/dist/gcc/config/vax/vax.md:1.21 src/external/gpl3/gcc/dist/gcc/config/vax/vax.md:1.22
--- src/external/gpl3/gcc/dist/gcc/config/vax/vax.md:1.21	Sun Sep 29 09:28:56 2024
+++ src/external/gpl3/gcc/dist/gcc/config/vax/vax.md	Sun Sep 29 12:52:56 2024
@@ -2869,36 +2869,6 @@
 
 
 
-;; Exception handling
-;; This is used when compiling the stack unwinding routines.
-(define_expand "eh_return"
-  [(use (match_operand 0 "general_operand"))]
-  ""
-{
-  if (GET_MODE (operands[0]) != word_mode)
-    operands[0] = convert_to_mode (word_mode, operands[0], 0);
-  emit_insn (gen_eh_set_retaddr (operands[0]));
-  DONE;
-})
-
-(define_insn_and_split "eh_set_retaddr"
-  [(unspec [(match_operand:SI 0 "general_operand")] VUNSPEC_EH_RETURN)
-   (clobber (match_scratch:SI 1 "=&r"))
-   ]
-  ""
-  "#"
-  "reload_completed"
-  [(const_int 0)]
-{
-  rtx tmp = RETURN_ADDR_RTX(0, frame_pointer_rtx);
-  MEM_VOLATILE_P(tmp) = 1;
-  tmp = gen_rtx_SET(tmp, operands[0]);
-  emit_insn(tmp);
-  DONE;
-})
-
-
-
 (define_insn "nop"
   [(const_int 0)]
   ""

Reply via email to