projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc0c675
)
(decl_attributes): Chain multiple attributes correctly.
author
Stan Cox
<coxs@gnu.org>
Mon, 6 May 1996 20:58:44 +0000
(20:58 +0000)
committer
Stan Cox
<coxs@gnu.org>
Mon, 6 May 1996 20:58:44 +0000
(20:58 +0000)
From-SVN: r11942
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)