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

--- Comment #21 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Richard Biener
<rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:573e1df0ec8428e564c97af7c237a5e0c98c59bd

commit r14-10210-g573e1df0ec8428e564c97af7c237a5e0c98c59bd
Author: Richard Biener <rguent...@suse.de>
Date:   Fri May 3 11:48:07 2024 +0200

    Avoid changing type in the type_hash_canon hash

    When building a type and type_hash_canon returns an existing type
    avoid changing it, in particular its TYPE_CANONICAL.

            PR middle-end/114931
            * tree.cc (build_array_type_1): Return early when type_hash_canon
            returned an older existing type.
            (build_function_type): Likewise.
            (build_method_type_directly): Likewise.
            (build_offset_type): Likewise.

    (cherry picked from commit 7a212ac678e13e0df5da2d090144b246a1262b64)

Reply via email to