diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2004-09-03 19:24:41 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2004-09-03 19:24:41 +0000 |
commit | f671762a68bd712623a14d56e2c873798f1b8101 (patch) | |
tree | 940b57ce2e3dd643e666d194b50a361c15665e01 /gcc | |
parent | 321c496bc775d392735ddeacafb0dbb1035248e0 (diff) | |
download | gcc-f671762a68bd712623a14d56e2c873798f1b8101.zip gcc-f671762a68bd712623a14d56e2c873798f1b8101.tar.gz gcc-f671762a68bd712623a14d56e2c873798f1b8101.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/cris/cris.h | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1343d16..9c4561f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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, diff --git a/gcc/config/cris/cris.h b/gcc/config/cris/cris.h index a308412..d7da183 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" : "")); \ |