[PATCH] PR81747, ICE in operator[]
Alan Modra
amodra@gmail.com
Wed Aug 16 09:40:00 GMT 2017
Ping?
On Wed, Aug 09, 2017 at 08:58:31PM +0930, Alan Modra wrote:
> PR rtl-optimization/81747
> * cse.c (cse_extended_basic_block): Don't attempt to record
> equivalences for degenerate conditional jumps that branch
> to their fall-through.
>
> diff --git a/gcc/cse.c b/gcc/cse.c
> index 6a968d1..85be372 100644
> --- a/gcc/cse.c
> +++ b/gcc/cse.c
> @@ -6640,6 +6640,7 @@ cse_extended_basic_block (struct cse_basic_block_data *ebb_data)
> equivalences due to the condition being tested. */
> insn = BB_END (bb);
> if (path_entry < path_size - 1
> + && EDGE_COUNT (bb->succs) == 2
> && JUMP_P (insn)
> && single_set (insn)
> && any_condjump_p (insn))
--
Alan Modra
Australia Development Lab, IBM
More information about the Gcc-patches
mailing list