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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Uecker <uec...@gcc.gnu.org>:

https://gcc.gnu.org/g:ef626002447e4d2acc835914165dffc419ebbc85

commit r16-1353-gef626002447e4d2acc835914165dffc419ebbc85
Author: Martin Uecker <uec...@tugraz.at>
Date:   Sat Jun 7 15:55:34 2025 +0200

    c: Add remove_qualifier helper function [PR120510]

    Add a helper function to replace repeated code for removing
    qualifiers but not atomic.  Make sure to also remove qualifiers
    but not atomic from the element type of arrays.

            PR c/120510

    gcc/c/ChangeLog:
            * c-typeck.cc (remove_qualifiers): New function.
            (composite_type_internal): Use it.
            (comp_target_types): Use it.
            (type_lists_compatible_p): Use it.
            (find_anonymous_field_with_type): Use it.
            (convert_to_anonymous_field): Use it.
            (convert_for_assignment): Use it.

Reply via email to