aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorMartin Uecker <uecker@tugraz.at>2023-05-19 16:15:17 +0200
committerMartin Uecker <uecker@tugraz.at>2023-05-19 23:15:33 +0200
commitae2345285c28549145af203ef8161ff96e2ad877 (patch)
tree428c4e4df89b9eed24a579051a883a0575a641d8 /gcc/expr.cc
parent05b7cc7daac8b3c275bbe85194e1bb4f6e29b19c (diff)
downloadgcc-ae2345285c28549145af203ef8161ff96e2ad877.zip
gcc-ae2345285c28549145af203ef8161ff96e2ad877.tar.gz
gcc-ae2345285c28549145af203ef8161ff96e2ad877.tar.bz2
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.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions