(mark_referenced_resources, case TRAP_IF): Set volatil.
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 15 Jan 1996 12:02:10 +0000 (07:02 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 15 Jan 1996 12:02:10 +0000 (07:02 -0500)
From-SVN: r10980

gcc/reorg.c

index 2bee6487d3ddcf23f4fa2bcdf0c491eae149f40e..2852f3287f8413932a0a0d7f49339d87e5991651 100644 (file)
@@ -1,5 +1,5 @@
 /* Perform instruction reorganizations for delay slot filling.
-   Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
+   Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
    Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu).
    Hacked by Michael Tiemann (tiemann@cygnus.com).
 
@@ -328,6 +328,7 @@ mark_referenced_resources (x, res, include_delayed_effects)
 
     case UNSPEC_VOLATILE:
     case ASM_INPUT:
+    case TRAP_IF:
       /* Traditional asm's are always volatile.  */
       res->volatil = 1;
       return;