Commit 1dd61cb4 by Ian Lance Taylor Committed by Ian Lance Taylor

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
parent 1e290ba1
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment