aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-tree.h
diff options
context:
space:
mode:
authorZack Weinberg <zack@codesourcery.com>2003-08-30 21:24:19 +0000
committerZack Weinberg <zack@gcc.gnu.org>2003-08-30 21:24:19 +0000
commit766beae18707b9c9918bac392c8340d84aceffd1 (patch)
tree224ec6b140b0764f4f59fa98e93fdcd681438b8c /gcc/c-tree.h
parentbf7a697f0ad4399b6ef6abc542520c9be858356e (diff)
downloadgcc-766beae18707b9c9918bac392c8340d84aceffd1.zip
gcc-766beae18707b9c9918bac392c8340d84aceffd1.tar.gz
gcc-766beae18707b9c9918bac392c8340d84aceffd1.tar.bz2
c-tree.h: Delete COMPARE_DIFFERENT_TU from enumeration.
* c-tree.h: Delete COMPARE_DIFFERENT_TU from enumeration. * c-typeck.c (same_translation_unit_p): New function. (comptypes): Use it instead of flags parameter to identify structure types from different translation units. * c-decl.c (duplicate_decls): Always call comptypes with COMPTYPE_STRICT flags argument. (c_reset_state): Set BLOCK_SUPERCONTEXT of the block formed to file_scope_decl. From-SVN: r70953
Diffstat (limited to 'gcc/c-tree.h')
-rw-r--r--gcc/c-tree.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h
index f692f73..f85e5d0 100644
--- a/gcc/c-tree.h
+++ b/gcc/c-tree.h
@@ -244,8 +244,7 @@ extern bool c_warn_unused_global_decl (tree);
/* For use with comptypes. */
enum {
- COMPARE_STRICT = 0,
- COMPARE_DIFFERENT_TU = 1
+ COMPARE_STRICT = 0
};
extern tree require_complete_type (tree);