https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110043

--- Comment #11 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Richard Biener
<[email protected]>:

https://gcc.gnu.org/g:4c4be4edef4dd1117d7f76c6ba1d2b5f32b54d21

commit r13-10144-g4c4be4edef4dd1117d7f76c6ba1d2b5f32b54d21
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.

    (cherry picked from commit 7fdb0e1b186b8ade38d454504e3f8bba2b17a9ea)
  • [Bug tree-optimization/110043] ... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to