[Bug tree-optimization/105232] [11/12 Regression] ICE in tree_to_poly_int64 via check_builtin

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 12 08:54:06 GMT 2022


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

--- Comment #3 from CVS 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:1bd96873cf73c4f59de48e9bc0d17a498f1ede04

commit r12-8105-g1bd96873cf73c4f59de48e9bc0d17a498f1ede04
Author: Richard Biener <rguenther@suse.de>
Date:   Tue Apr 12 09:54:32 2022 +0200

    tree-optimization/105232 - handle overly large sizes in component_ref_size

    The following properly checks tree_fits_poly_int64_p before converting
    a size to a poly_int64.

    2022-04-12  Richard Biener  <rguenther@suse.de>

            PR tree-optimization/105232
            * tree.cc (component_ref_size): Bail out for too large
            or non-constant sizes.


More information about the Gcc-bugs mailing list