two ssa-ccp fixes

Richard Henderson rth@redhat.com
Wed Jul 25 10:46:00 GMT 2001


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~



More information about the Gcc-patches mailing list