[Bug tree-optimization/94163] [8/9 Regression] ICE in set_ptr_info_alignment with -O2 and __builtin_assume_aligned
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 13 14:07:36 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94163
--- Comment #10 from Martin Liška <marxin at gcc dot gnu.org> ---
commit r10-7158-g3604480a6fe493c51d6ebd53d9b1abeebbbb828f
Author: Richard Biener <rguenther@suse.de>
Date: Fri Mar 13 13:56:26 2020 +0100
tree-optimization/94163 constrain alignment set by PRE
This avoids HWI -> unsigned truncation to end up with zero alignment
which set_ptr_info_alignment ICEs on.
2020-03-13 Richard Biener <rguenther@suse.de>
PR tree-optimization/94163
* tree-ssa-pre.c (create_expression_by_pieces): Check
whether alignment would be zero.
More information about the Gcc-bugs
mailing list