From: Richard Biener Date: Thu, 6 Aug 2020 10:16:05 +0000 (+0200) Subject: tree-optimization/96483 - fix ICE in PRE with POLY_INT_CST X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1f4c8afa1b2dac97f2ee78eacafe6eee246a4dae;p=gcc.git tree-optimization/96483 - fix ICE in PRE with POLY_INT_CST This adds a missing case for PRE expression re-materialization. 2020-08-06 Richard Biener PR tree-optimization/96483 * tree-ssa-pre.c (create_component_ref_by_pieces_1): Handle POLY_INT_CST. --- diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c index 7d67305bf4b..0a94f4e3355 100644 --- a/gcc/tree-ssa-pre.c +++ b/gcc/tree-ssa-pre.c @@ -2644,6 +2644,7 @@ create_component_ref_by_pieces_1 (basic_block block, vn_reference_t ref, } case STRING_CST: case INTEGER_CST: + case POLY_INT_CST: case COMPLEX_CST: case VECTOR_CST: case REAL_CST: