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

--- Comment #5 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:b423035d75f742a7377185a195231a62f1e36e92

commit r17-6490-gb423035d75f742a7377185a195231a62f1e36e92
Author: Richard Biener <[email protected]>
Date:   Fri Nov 20 08:55:58 2026 +0100

    tree-optimization/90241 - overflow in bytes to bits conversion

    For large offsets ao_ref_init_from_ptr_and_range can lead to
    wrong code.  Make sure the offset in bits fits a poly_int64.

            PR tree-optimization/90241
            * tree-ssa-alias.cc (ao_ref_init_from_ptr_and_range): Add
            missing range check before multiplying byte offset by 8.

            * gcc.dg/pr90241.c: New testcase.

Reply via email to