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:
John David Anglin 2001-12-05 03:54:51 +00:00 committed by John David Anglin
parent 4f56ebb79d
commit 32a6f30e69
2 changed files with 11 additions and 1 deletions

View File

@ -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.

View File

@ -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);