The attached patch changes the -mjump-in-delay option to "Ignore" and removes the mask.

Tested on hppa-unknown-linux-gnu with no regressions. Committed to trunk.

Dave
--
John David Anglin       dave.ang...@bell.net


2014-10-21  John David Anglin  <dang...@gcc.gnu.org>

        * config.gcc: Remove MASK_JUMP_IN_DELAY from target_cpu_default2.
        * config/pa/pa.h (TARGET_DEFAULT): Remove MASK_JUMP_IN_DELAY.
        * config/pa/pa.opt (mjump-in-delay): Ignore option.  Update comment.

Index: config.gcc
===================================================================
--- config.gcc  (revision 216438)
+++ config.gcc  (working copy)
@@ -4066,7 +4066,7 @@
        hppa*-*-*)
                if test x$gas = xyes
                then
-                       target_cpu_default2="MASK_GAS|MASK_JUMP_IN_DELAY"
+                       target_cpu_default2="MASK_GAS"
                fi
                ;;
 
Index: config/pa/pa.h
===================================================================
--- config/pa/pa.h      (revision 216438)
+++ config/pa/pa.h      (working copy)
@@ -114,7 +114,7 @@
 #define TARGET_HPUX_UNWIND_LIBRARY 0
 
 #ifndef TARGET_DEFAULT
-#define TARGET_DEFAULT (MASK_GAS | MASK_JUMP_IN_DELAY)
+#define TARGET_DEFAULT MASK_GAS
 #endif
 
 #ifndef TARGET_CPU_DEFAULT
Index: config/pa/pa.opt
===================================================================
--- config/pa/pa.opt    (revision 216438)
+++ config/pa/pa.opt    (working copy)
@@ -62,8 +62,8 @@
 Assume code will be assembled by GAS
 
 mjump-in-delay
-Target Report Mask(JUMP_IN_DELAY)
-Put jumps in call delay slots
+Target Ignore
+Does nothing.  Preserved for backward compatibility.
 
 ;; Not used by gcc
 mlinker-opt

Reply via email to