From cfa2949646db7f26ee3d00e584fa4c9a781895c0 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Wed, 28 Apr 2004 02:45:57 +0000 Subject: [PATCH] s390.md ("casesi"): Mark jump table access as non-trapping and unchanging. * config/s390/s390.md ("casesi"): Mark jump table access as non-trapping and unchanging. From-SVN: r81240 --- gcc/ChangeLog | 5 +++++ gcc/config/s390/s390.md | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8b567508deb..1f8d3e3dea0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-04-28 Ulrich Weigand + + * config/s390/s390.md ("casesi"): Mark jump table access as + non-trapping and unchanging. + 2004-04-27 John David Anglin PR debug/14829 diff --git a/gcc/config/s390/s390.md b/gcc/config/s390/s390.md index 0c9af2a7839..f6aeefbc175 100644 --- a/gcc/config/s390/s390.md +++ b/gcc/config/s390/s390.md @@ -6912,6 +6912,8 @@ emit_move_insn (base, gen_rtx_LABEL_REF (Pmode, operands[3])); index = gen_rtx_MEM (Pmode, gen_rtx_PLUS (Pmode, base, index)); + RTX_UNCHANGING_P (index) = 1; + MEM_NOTRAP_P (index) = 1; emit_move_insn (target, index); if (flag_pic) -- 2.30.2