summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-13 22:23:19 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-13 22:23:19 +0000
commitdbe5bccecfb943bc82d221aad3a2bd2370f783a2 (patch)
tree9c3f0314e69a9faa8775f1ce46f99d24e39ba5a6
parent519e71888f46caf941c37f81dbd0445d090cb8e8 (diff)
downloadppe42-gcc-dbe5bccecfb943bc82d221aad3a2bd2370f783a2.tar.gz
ppe42-gcc-dbe5bccecfb943bc82d221aad3a2bd2370f783a2.zip
tweak
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26425 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/cp/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c
index 7eceff1925c..1d717b2a2bb 100644
--- a/gcc/cp/tree.c
+++ b/gcc/cp/tree.c
@@ -2704,7 +2704,7 @@ cp_valid_lang_attribute (attr_name, attr_args, decl, type)
tree decl ATTRIBUTE_UNUSED;
tree type ATTRIBUTE_UNUSED;
{
- if (attr_name == get_identifier ("com_interface"))
+ if (is_attribute_p ("com_interface", attr_name))
{
if (! flag_vtable_thunks)
{
@@ -2724,7 +2724,7 @@ cp_valid_lang_attribute (attr_name, attr_args, decl, type)
CLASSTYPE_COM_INTERFACE (type) = 1;
return 1;
}
- else if (attr_name == get_identifier ("init_priority"))
+ else if (is_attribute_p ("init_priority", attr_name))
{
tree initp_expr = (attr_args ? TREE_VALUE (attr_args): NULL_TREE);
int pri;
OpenPOWER on IntegriCloud