* pa.c (following_call): Check TARGET_JUMP_IN_DELAY.
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>
Fri, 31 May 2002 03:30:42 +0000 (03:30 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Fri, 31 May 2002 03:30:42 +0000 (03:30 +0000)
From-SVN: r54084

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

index 0b7e12ac87b8454c75bc8ce1f7d00bce6ad48ce2..675193a56f4ff9c0591eed67d5c40ff2488c5a5b 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 67496011d252dab43ebb11075103c617c8084cc2..354afd62d4b6f329d33a26a4453cf0eb149654a7 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.  */