]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/102853 - avoid trapping types in split_constant_offset
authorRichard Biener <rguenther@suse.de>
Wed, 20 Oct 2021 10:54:59 +0000 (12:54 +0200)
committerRichard Biener <rguenther@suse.de>
Wed, 20 Oct 2021 11:48:35 +0000 (13:48 +0200)
commitac5e46563817f4f1bd786be1d21b85d18e61bc0c
tree65dd0c41f77b81b7d56abb34e2983f82e47b9af1
parent6fca1761a16c68740f875fc487b98b6bde8e9be7
tree-optimization/102853 - avoid trapping types in split_constant_offset

This avoids running into the assert in compute_distributive_range when
starting the analysis with operations in a trapping type.

2021-10-20  Richard Biener  <rguenther@suse.de>

PR tree-optimization/102853
* tree-data-ref.c (split_constant_offset_1): Bail out
immediately if the expression traps on overflow.
gcc/tree-data-ref.c