cfgrtl.c (verify_flow_info): Allow jump table data in fallthru if CASE_DROPS_THROUGH.
* cfgrtl.c (verify_flow_info): Allow jump table data in fallthru if CASE_DROPS_THROUGH. From-SVN: r47655
This commit is contained in:
parent
4f56ebb79d
commit
32a6f30e69
@ -1,3 +1,8 @@
|
||||
2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
|
||||
|
||||
* cfgrtl.c (verify_flow_info): Allow jump table data in fallthru if
|
||||
CASE_DROPS_THROUGH.
|
||||
|
||||
2001-12-04 Andrew MacLeod <amacleod@redhat.com>
|
||||
|
||||
* rtl.h (initialize_uninitialized_subregs): New prototype.
|
||||
|
@ -1610,7 +1610,12 @@ verify_flow_info ()
|
||||
else
|
||||
for (insn = NEXT_INSN (e->src->end); insn != e->dest->head;
|
||||
insn = NEXT_INSN (insn))
|
||||
if (GET_CODE (insn) == BARRIER || INSN_P (insn))
|
||||
if (GET_CODE (insn) == BARRIER
|
||||
#ifndef CASE_DROPS_THROUGH
|
||||
|| INSN_P (insn))
|
||||
#else
|
||||
|| (INSN_P (insn) && ! JUMP_TABLE_DATA_P (insn)))
|
||||
#endif
|
||||
{
|
||||
error ("verify_flow_info: Incorrect fallthru %i->%i",
|
||||
e->src->index, e->dest->index);
|
||||
|
Loading…
Reference in New Issue
Block a user