Commit 4688ddf5 by Steven Bosscher

rtlanal.c (tablejump_p): Expect table and label to be adjacent.


       * rtlanal.c (tablejump_p): Expect table and label to be adjacent.

From-SVN: r199460
parent 3b9ceb4b
2013-05-30 Steven Bosscher <steven@gcc.gnu.org>
* rtlanal.c (tablejump_p): Expect table and label to be adjacent.
2013-05-30 Vladimir Makarov <vmakarov@redhat.com>
* target.def (register_usage_leveling_p): New hook.
......
......@@ -2711,6 +2711,7 @@ tablejump_p (const_rtx insn, rtx *labelp, rtx *tablep)
&& (table = next_active_insn (label)) != NULL_RTX
&& JUMP_TABLE_DATA_P (table))
{
gcc_assert (table == NEXT_INSN (label));
if (labelp)
*labelp = label;
if (tablep)
......
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