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

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <h...@gcc.gnu.org>:

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

commit r16-170-ga670ebde3995481225ec62b29686ec07a21e5c10
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Thu Nov 21 07:54:35 2024 +0800

    Drop targetm.promote_prototypes from C, C++ and Ada frontends

    Remove the targetm.calls.promote_prototypes call from C, C++ and Ada
    frontends.

    gcc/

            PR c/48274
            PR middle-end/112877
            PR middle-end/118288
            * gimple.cc (gimple_builtin_call_types_compatible_p): Remove the
            targetm.calls.promote_prototypes call.
            * tree.cc (tree_builtin_call_types_compatible_p): Likewise.

    gcc/ada/

            PR middle-end/112877
            * gcc-interface/utils.cc (create_param_decl): Remove the
            targetm.calls.promote_prototypes call.

    gcc/c/

            PR c/48274
            PR middle-end/112877
            PR middle-end/118288
            * c-decl.cc (start_decl): Remove the
            targetm.calls.promote_prototypes call.
            (store_parm_decls_oldstyle): Likewise.
            (finish_function): Likewise.
            * c-typeck.cc (convert_argument): Likewise.
            (c_safe_arg_type_equiv_p): Likewise.

    gcc/cp/

            PR middle-end/112877
            * call.cc (type_passed_as): Remove the
            targetm.calls.promote_prototypes call.
            (convert_for_arg_passing): Likewise.
            * typeck.cc (cxx_safe_arg_type_equiv_p): Likewise.

    Signed-off-by: H.J. Lu <hjl.to...@gmail.com>

Reply via email to