OSDN Git Service

* config/s390/s390.md ("casesi"): Mark jump table access as
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Apr 2004 02:45:57 +0000 (02:45 +0000)
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Apr 2004 02:45:57 +0000 (02:45 +0000)
non-trapping and unchanging.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81240 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/s390/s390.md

index 8b56750..1f8d3e3 100644 (file)
@@ -1,3 +1,8 @@
+2004-04-28  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390.md ("casesi"): Mark jump table access as
+       non-trapping and unchanging.
+
 2004-04-27  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
        PR debug/14829
index 0c9af2a..f6aeefb 100644 (file)
    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)