diff options
author | John David Anglin <dave@hiauly1.hia.nrc.ca> | 2001-12-05 03:54:51 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2001-12-05 03:54:51 +0000 |
commit | 32a6f30e69f5044b5718c0c30b3a86eb94a2e8ec (patch) | |
tree | b6319484437c264117d0472f57d7508ec8abcebf /gcc/cfgrtl.c | |
parent | 4f56ebb79dc1afe5527dfb48c56d10b03e0f71dd (diff) | |
download | gcc-32a6f30e69f5044b5718c0c30b3a86eb94a2e8ec.zip gcc-32a6f30e69f5044b5718c0c30b3a86eb94a2e8ec.tar.gz gcc-32a6f30e69f5044b5718c0c30b3a86eb94a2e8ec.tar.bz2 |
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
Diffstat (limited to 'gcc/cfgrtl.c')
-rw-r--r-- | gcc/cfgrtl.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index 94f3a55..efc05313 100644 --- a/gcc/cfgrtl.c +++ b/gcc/cfgrtl.c @@ -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); |