[gcc(refs/users/acsawdey/heads/memcpy-unaligned-vsx)] tree-optimization/96483 - fix ICE in PRE with POLY_INT_CST
Aaron Sawdey
acsawdey@gcc.gnu.org
Mon Aug 10 23:21:19 GMT 2020
https://gcc.gnu.org/g:1f4c8afa1b2dac97f2ee78eacafe6eee246a4dae
commit 1f4c8afa1b2dac97f2ee78eacafe6eee246a4dae
Author: Richard Biener <rguenther@suse.de>
Date: Thu Aug 6 12:16:05 2020 +0200
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.
Diff:
---
gcc/tree-ssa-pre.c | 1 +
1 file changed, 1 insertion(+)
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:
More information about the Gcc-cvs
mailing list