diff options
author | Joseph Myers <jsm@polyomino.org.uk> | 2004-06-13 18:14:09 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2004-06-13 18:14:09 +0100 |
commit | 132da1a5aa17e496019e1603ce3d59fe1e61d44d (patch) | |
tree | c30a57dca5c79311f6a8335e3a454cbbde51ee9e /gcc/objc | |
parent | 118a3a8ba8497b0b68ebe0f875ce940d84a7315e (diff) | |
download | gcc-132da1a5aa17e496019e1603ce3d59fe1e61d44d.zip gcc-132da1a5aa17e496019e1603ce3d59fe1e61d44d.tar.gz gcc-132da1a5aa17e496019e1603ce3d59fe1e61d44d.tar.bz2 |
c-typeck.c (comptypes, [...]): Remove flags parameter.
* c-typeck.c (comptypes, tagged_types_tu_compatible_p,
function_types_compatible_p, type_lists_compatible_p): Remove
flags parameter.
* c-tree.h (comptypes): Likewise.
(COMPARE_STRICT): Remove.
* c-decl.c, c-lang.c, c-parse.in, c-typeck.c, objc/objc-act.c: All
callers changed.
From-SVN: r83061
Diffstat (limited to 'gcc/objc')
-rw-r--r-- | gcc/objc/objc-act.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 791f320..96e29b1 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -1,6 +1,6 @@ /* Implement classes and message passing for Objective C. Copyright (C) 1992, 1993, 1994, 1995, 1997, 1998, 1999, 2000, - 2001, 2002, 2003 Free Software Foundation, Inc. + 2001, 2002, 2003, 2004 Free Software Foundation, Inc. Contributed by Steve Naroff. This file is part of GCC. @@ -4257,7 +4257,7 @@ check_ivars (tree inter, tree imp) t1 = TREE_TYPE (intdecls); t2 = TREE_TYPE (impdecls); - if (!comptypes (t1, t2, false) + if (!comptypes (t1, t2) || !tree_int_cst_equal (TREE_VALUE (TREE_VALUE (rawintdecls)), TREE_VALUE (TREE_VALUE (rawimpdecls)))) { @@ -7612,8 +7612,7 @@ comp_method_with_proto (tree method, tree proto) /* install return type */ TREE_TYPE (function1_template) = groktypename (TREE_TYPE (proto)); - return comptypes (TREE_TYPE (METHOD_DEFINITION (method)), function1_template, - false); + return comptypes (TREE_TYPE (METHOD_DEFINITION (method)), function1_template); } /* Return 1 if TYPE1 is equivalent to TYPE2. */ |