mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-13 05:43:45 +08:00
cfgcleanup.c (label_is_jump_target_p): Correct use of table returned by tablejump_p.
* cfgcleanup.c (label_is_jump_target_p): Correct use of table returned by tablejump_p. From-SVN: r71443
This commit is contained in:
parent
1e290ba1e6
commit
1dd61cb4d0
@ -1,3 +1,8 @@
|
||||
2003-09-16 Ian Lance Taylor <ian@wasabisystems.com>
|
||||
|
||||
* cfgcleanup.c (label_is_jump_target_p): Correct use of table
|
||||
returned by tablejump_p.
|
||||
|
||||
2003-09-16 Joel Brobecker <brobecker@gnat.com>
|
||||
|
||||
* dwarf2asm.c (dw2_asm_output_nstring): Add comment.
|
||||
|
@ -661,7 +661,8 @@ label_is_jump_target_p (rtx label, rtx jump_insn)
|
||||
|
||||
if (tablejump_p (jump_insn, NULL, &tmp))
|
||||
{
|
||||
rtvec vec = XVEC (tmp, GET_CODE (tmp) == ADDR_DIFF_VEC);
|
||||
rtvec vec = XVEC (PATTERN (tmp),
|
||||
GET_CODE (PATTERN (tmp)) == ADDR_DIFF_VEC);
|
||||
int i, veclen = GET_NUM_ELEM (vec);
|
||||
|
||||
for (i = 0; i < veclen; ++i)
|
||||
|
Loading…
Reference in New Issue
Block a user