[Bug tree-optimization/110043] [13/14 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
Mon Mar 16 13:37:55 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110043
--- Comment #10 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Richard Biener
<rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:1a00c90b7417891232a4f147dec75acd245073f1
commit r14-12435-g1a00c90b7417891232a4f147dec75acd245073f1
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.
(cherry picked from commit 7fdb0e1b186b8ade38d454504e3f8bba2b17a9ea)
More information about the Gcc-bugs
mailing list