OSDN Git Service

* pa.c (following_call): Check TARGET_JUMP_IN_DELAY.
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 31 May 2002 03:30:42 +0000 (03:30 +0000)
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 31 May 2002 03:30:42 +0000 (03:30 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54084 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/pa/pa.c

index 0b7e12a..675193a 100644 (file)
@@ -1,3 +1,7 @@
+2002-05-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * pa.c (following_call): Check TARGET_JUMP_IN_DELAY.
+
 2002-05-31  Jason Thorpe  <thorpej@wasabisystems.com>
 
        * config.gcc (ns32k-*-netbsd*): Set tm_file to
index 6749601..354afd6 100644 (file)
@@ -6897,11 +6897,7 @@ int
 following_call (insn)
      rtx insn;
 {
-  /* We do not place jumps into call delay slots when optimizing for the
-     PA8000 processor or when generating dwarf2 call frame information.  */
-  if (pa_cpu >= PROCESSOR_8000
-      || (! USING_SJLJ_EXCEPTIONS && flag_exceptions)
-      || flag_unwind_tables)
+  if (! TARGET_JUMP_IN_DELAY)
     return 0;
 
   /* Find the previous real insn, skipping NOTEs.  */