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 <[email protected]>:

https://gcc.gnu.org/g:7fdb0e1b186b8ade38d454504e3f8bba2b17a9ea

commit r16-7099-g7fdb0e1b186b8ade38d454504e3f8bba2b17a9ea
Author: Richard Biener <[email protected]>
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.

Reply via email to