diff options
author | Richard Henderson <rth@cygnus.com> | 1998-10-30 05:24:33 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1998-10-30 05:24:33 -0800 |
commit | 6093f019b9e24360320b3fdd8d856650323fab61 (patch) | |
tree | df0438f06795806a76bcb783122d4c6df196a0d5 /gcc/config/i386 | |
parent | f3196f46a264716802509c97ec993980dafa990a (diff) | |
download | gcc-6093f019b9e24360320b3fdd8d856650323fab61.tar.gz |
i386.c (i386_comp_type_attributes): Compare whether the attributes are defined, not their tree nodes.
* i386.c (i386_comp_type_attributes): Compare whether the
attributes are defined, not their tree nodes.
From-SVN: r23457
Diffstat (limited to 'gcc/config/i386')
-rw-r--r-- | gcc/config/i386/i386.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 3729553bd21..3ab736892bb 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -632,8 +632,8 @@ i386_comp_type_attributes (type1, type2) return 1; /* Check for mismatched return types (cdecl vs stdcall). */ - if (lookup_attribute (rtdstr, TYPE_ATTRIBUTES (type1)) - != lookup_attribute (rtdstr, TYPE_ATTRIBUTES (type2))) + if (!lookup_attribute (rtdstr, TYPE_ATTRIBUTES (type1)) + != !lookup_attribute (rtdstr, TYPE_ATTRIBUTES (type2))) return 0; return 1; } |