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
(parent:
65b5e6a
)
(decl_attributes): Chain multiple attributes correctly.
author
coxs
<coxs@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 May 1996 20:58:44 +0000
(20:58 +0000)
committer
coxs
<coxs@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 May 1996 20:58:44 +0000
(20:58 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11942
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/c-common.c
patch
|
blob
|
history
diff --git
a/gcc/c-common.c
b/gcc/c-common.c
index
8a834dd
..
3f6b28e
100644
(file)
--- a/
gcc/c-common.c
+++ b/
gcc/c-common.c
@@
-322,6
+322,8
@@
decl_attributes (node, attributes, prefix_attributes)
if (! valid_machine_attribute (name, args, decl, type))
warning ("`%s' attribute directive ignored",
IDENTIFIER_POINTER (name));
+ else if (decl != 0)
+ type = TREE_TYPE (decl);
continue;
}
else if (attrtab[i].decl_req && decl == 0)