]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap on a CLOBBER.
authorRichard Henderson <rth@cygnus.com>
Tue, 28 Oct 1997 08:04:16 +0000 (00:04 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 28 Oct 1997 08:04:16 +0000 (00:04 -0800)
* alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap
on a CLOBBER.

From-SVN: r16212

gcc/ChangeLog
gcc/config/alpha/alpha.c

index 001cf1f12be0cff78022704e86b54f7d32a9a1e7..96830d59fc0d0026b6d614485ccead5fab831693 100644 (file)
@@ -1,3 +1,8 @@
+Mon Oct 27 23:59:26 1997  Richard Henderson  <rth@cygnus.com>
+
+       * alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap
+       on a CLOBBER.
+
 Mon Oct 27 21:25:20 1997  Richard Henderson  <rth@cygnus.com>
 
        * alpha.md (movqi, movhi): Make sure new insns created during reload
index f1adea4d0038f1654faa5de07dfabd8475b654fd..67b80ac70e372f77926bcb34d2b5d83c94298fa3 100644 (file)
@@ -3020,15 +3020,16 @@ alpha_handle_trap_shadows (insns)
            }
        }
 
-      if (exception_nesting > 0 || alpha_tp >= ALPHA_TP_FUNC)
-       if (GET_CODE (i) == INSN
-           && GET_CODE (PATTERN (i)) != USE
-           && get_attr_trap (i) == TRAP_YES)
-         {
-           if (optimize && !trap_pending)
-             summarize_insn (PATTERN (i), &shadow, 0);
-           trap_pending = 1;
-         }
+      if ((exception_nesting > 0 || alpha_tp >= ALPHA_TP_FUNC)
+         && GET_CODE (i) == INSN
+         && GET_CODE (PATTERN (i)) != USE
+         && GET_CODE (PATTERN (i)) != CLOBBER
+         && get_attr_trap (i) == TRAP_YES)
+       {
+         if (optimize && !trap_pending)
+           summarize_insn (PATTERN (i), &shadow, 0);
+         trap_pending = 1;
+       }
     }
 }