tree-optimization/96483 - fix ICE in PRE with POLY_INT_CST
authorRichard Biener <rguenther@suse.de>
Thu, 6 Aug 2020 10:16:05 +0000 (12:16 +0200)
committerRichard Biener <rguenther@suse.de>
Thu, 6 Aug 2020 10:16:05 +0000 (12:16 +0200)
commit1f4c8afa1b2dac97f2ee78eacafe6eee246a4dae
tree235a76fa29396159f7d02be4082ea316aaf55654
parentc7b1f30258f6dbf26705d86343b8cd402376cb70
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  <rguenther@suse.de>

PR tree-optimization/96483
* tree-ssa-pre.c (create_component_ref_by_pieces_1): Handle
POLY_INT_CST.
gcc/tree-ssa-pre.c