C++ PATCH to cp_valid_lang_attribute
Jason Merrill
jason@redhat.com
Tue Jan 2 11:31:00 GMT 2001
There's no reason to suppress RTTI with COM in the new ABI; it was designed
to be COM-compliant.
2001-01-02 Jason Merrill <jason@redhat.com>
* tree.c (cp_valid_lang_attribute): Don't set CLASSTYPE_COM_INTERFACE
for v3 ABI.
*** tree.c.~1~ Tue Jan 2 15:22:32 2001
--- tree.c Tue Jan 2 18:23:31 2001
*************** cp_valid_lang_attribute (attr_name, attr
*** 2259,2265 ****
return 0;
}
! CLASSTYPE_COM_INTERFACE (type) = 1;
return 1;
}
else if (is_attribute_p ("init_priority", attr_name))
--- 2259,2267 ----
return 0;
}
! if (!flag_new_abi)
! /* The v3 ABI is already COM compliant; don't set this flag. */
! CLASSTYPE_COM_INTERFACE (type) = 1;
return 1;
}
else if (is_attribute_p ("init_priority", attr_name))
More information about the Gcc-patches
mailing list