This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: two ssa-ccp fixes
- To: law at redhat dot com
- Subject: Re: two ssa-ccp fixes
- From: Richard Henderson <rth at redhat dot com>
- Date: Wed, 25 Jul 2001 10:43:52 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- References: <26444.996071013@localhost.localdomain>
On Wed, Jul 25, 2001 at 08:23:33AM -0600, law@redhat.com wrote:
> + /* Ugh. CALL_INSNs may end a basic block and have multiple edges
> + leading out from them.
> +
> + Mark all the outgoing edges as executable, then fall into the
> + normal processing below. */
> + if (GET_CODE (insn) == CALL_INSN && block->end == insn)
I think you actually want != JUMP_INSN. Consider Java, which
can throw from a divide instruction.
r~