From: Hans-Peter Nilsson Date: Fri, 3 Sep 2004 19:24:41 +0000 (+0000) Subject: cris.h (ASM_OUTPUT_CASE_END): Use prev_nonnote_insn to get the tablejump-insn before... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f671762a68bd712623a14d56e2c873798f1b8101;p=gcc.git cris.h (ASM_OUTPUT_CASE_END): Use prev_nonnote_insn to get the tablejump-insn before the jump-table label. * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1343d164abb..9c4561fa2fa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-09-03 Hans-Peter Nilsson + + * 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 * c-common.h (objc_is_id, objc_declare_alias, objc_declare_class, diff --git a/gcc/config/cris/cris.h b/gcc/config/cris/cris.h index a308412e7ac..d7da1833ec7 100644 --- a/gcc/config/cris/cris.h +++ b/gcc/config/cris/cris.h @@ -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" : "")); \