aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-01-15 07:02:10 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1996-01-15 07:02:10 -0500
commit2142b2d5d6ec1b285104837359328e67f5323cc1 (patch)
treef455a4ed70605d55b08e02aa6db9a70c195e6a28 /gcc
parent5b4ddd855bf4eb18b20e039bb4247ec8646243d6 (diff)
downloadgcc-2142b2d5d6ec1b285104837359328e67f5323cc1.zip
gcc-2142b2d5d6ec1b285104837359328e67f5323cc1.tar.gz
gcc-2142b2d5d6ec1b285104837359328e67f5323cc1.tar.bz2
(mark_referenced_resources, case TRAP_IF): Set volatil.
From-SVN: r10980
Diffstat (limited to 'gcc')
-rw-r--r--gcc/reorg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c
index 2bee648..2852f32 100644
--- a/gcc/reorg.c
+++ b/gcc/reorg.c
@@ -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;