aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2004-09-03 19:24:41 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2004-09-03 19:24:41 +0000
commitf671762a68bd712623a14d56e2c873798f1b8101 (patch)
tree940b57ce2e3dd643e666d194b50a361c15665e01 /gcc/config
parent321c496bc775d392735ddeacafb0dbb1035248e0 (diff)
downloadgcc-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/config')
-rw-r--r--gcc/config/cris/cris.h5
1 files changed, 3 insertions, 2 deletions
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" : "")); \