Commit 6093f019 by Richard Henderson Committed by Richard Henderson

i386.c (i386_comp_type_attributes): Compare whether the attributes are defined,…

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
parent f3196f46
Fri Oct 30 13:23:20 1998 Richard Henderson <rth@cygnus.com>
* i386.c (i386_comp_type_attributes): Compare whether the
attributes are defined, not their tree nodes.
Fri Oct 30 11:39:47 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
* configure.in (gxx_include_dir): bitten by autoconf quoting
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment