[Bug tree-optimization/110043] [13/14/15/16 Regression] ice in size_remaining, at pointer-query.cc:875 since r12-6606-g9d6a0f388eb048
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 28 08:11:46 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110043
--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:7fdb0e1b186b8ade38d454504e3f8bba2b17a9ea
commit r16-7099-g7fdb0e1b186b8ade38d454504e3f8bba2b17a9ea
Author: Richard Biener <rguenther@suse.de>
Date: Tue Jan 27 15:43:53 2026 +0100
tree-optimization/110043 - avoid overflow in pointer-query
pointer-query is built around using offset_int to avoid needing
to deal with overflow. This falls apart when trying to analyze
array accesses indexed by __int128. So don't.
PR tree-optimization/110043
* pointer-query.cc (get_offset_range): Fail for integer
types with precision larger than ptrdiff_type_node.
* gcc.dg/torture/pr110043.c: New testcase.
More information about the Gcc-bugs
mailing list