On Fri, 19 May 2023, Martin Uecker via Gcc-patches wrote:

> Repost for stage 1.
> 
> 
>     C: Remove dead code related to type compatibility across TUs.
>     
>     Code to detect struct/unions across the same TU is not needed
>     anymore. Code for determining compatibility of tagged types is
>     preserved as it will be used for C2X. Some errors in the unused
>     code are fixed.
>     
>     Bootstrapped with no regressions for x86_64-pc-linux-gnu.
>     
>     gcc/c/
>             * c-decl.cc (set_type_context): Remove.
>             (pop_scope, diagnose_mismatched_decls, pushdecl):
>             Remove dead code.
>             * c-typeck.cc (comptypes_internal): Remove dead code.
>             (same_translation_unit_p): Remove.
>             (tagged_types_tu_compatible_p): Some fixes.

OK.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to