cris.h (ASM_OUTPUT_CASE_END): Use prev_nonnote_insn to get the tablejump-insn before...
authorHans-Peter Nilsson <hp@axis.com>
Fri, 3 Sep 2004 19:24:41 +0000 (19:24 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Fri, 3 Sep 2004 19:24:41 +0000 (19:24 +0000)
* config/cris/cris.h (ASM_OUTPUT_CASE_END): Use prev_nonnote_insn
to get the tablejump-insn before the jump-table label.

From-SVN: r87048

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

index 1343d164abbc790a530b8b4e55c8f7d91a77c672..9c4561fa2faacdbaa8bd15d42273e6d5ed07854d 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 a308412e7acb5fb74aff9a8fb651e195a439c7e3..d7da1833ec77b1e8dffb7e5e5107f56035d5b39f 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" : ""));                 \