OSDN Git Service

* config/cris/cris.h (ASM_OUTPUT_CASE_END): Use prev_nonnote_insn
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Sep 2004 19:24:41 +0000 (19:24 +0000)
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Sep 2004 19:24:41 +0000 (19:24 +0000)
to get the tablejump-insn before the jump-table label.

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

gcc/ChangeLog
gcc/config/cris/cris.h

index 1343d16..9c4561f 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-03  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/cris/cris.h (ASM_OUTPUT_CASE_END): Use prev_nonnote_insn
+       to get the tablejump-insn before the jump-table label.
+
 2004-09-03  Ziemowit Laski  <zlaski@apple.com>
 
        * c-common.h (objc_is_id, objc_declare_alias, objc_declare_class,
index a308412..d7da183 100644 (file)
@@ -1537,8 +1537,9 @@ call_ ## FUNC (void)                                              \
                   CODE_LABEL_NUMBER                                    \
                    (XEXP (XEXP (XEXP                                   \
                                  (XVECEXP                              \
-                                   (PATTERN (PREV_INSN (PREV_INSN      \
-                                                         (TABLE))),    \
+                                   (PATTERN                            \
+                                    (prev_nonnote_insn                 \
+                                     (PREV_INSN (TABLE))),             \
                                     0, 0), 1), 2), 0)),                \
                   NUM,                                                 \
                   (TARGET_PDEBUG ? "; default" : ""));                 \