OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
519e718
)
tweak
author
jason
<jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Apr 1999 22:23:19 +0000
(22:23 +0000)
committer
jason
<jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Apr 1999 22:23:19 +0000
(22:23 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26425
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/cp/tree.c
patch
|
blob
|
history
diff --git
a/gcc/cp/tree.c
b/gcc/cp/tree.c
index
7eceff1
..
1d717b2
100644
(file)
--- 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;