summaryrefslogtreecommitdiff
path: root/gcc/reorg.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-01-15 12:02:10 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-01-15 12:02:10 +0000
commita86237c888a968609af487b8facc2ea6361f715c (patch)
treef455a4ed70605d55b08e02aa6db9a70c195e6a28 /gcc/reorg.c
parent9a7e4fca6edfebb444bd771eb973de40ba0e4a1f (diff)
downloadgcc-a86237c888a968609af487b8facc2ea6361f715c.tar.gz
(mark_referenced_resources, case TRAP_IF): Set volatil.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10980 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reorg.c')
-rw-r--r--gcc/reorg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c
index 2bee6487d3d..2852f3287f8 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;