projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5f99f0
)
(gen_decl): DECL_REGISTER isn't defined for FUNCTION_DECL.
author
Richard Kenner
<kenner@gcc.gnu.org>
Sun, 31 Dec 1995 19:18:48 +0000
(14:18 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Sun, 31 Dec 1995 19:18:48 +0000
(14:18 -0500)
From-SVN: r10909
gcc/c-aux-info.c
patch
|
blob
|
history
diff --git
a/gcc/c-aux-info.c
b/gcc/c-aux-info.c
index d8caa6af1942bea28de7732bb954b4ba55f5aec5..5f5e999826d86db61ad48a4a4e73472e8610731f 100644
(file)
--- a/
gcc/c-aux-info.c
+++ b/
gcc/c-aux-info.c
@@
-581,7
+581,7
@@
gen_decl (decl, is_func_definition, style)
ret_val = affix_data_type (ret_val);
- if (DECL_REGISTER (decl))
+ if (
TREE_CODE (decl) != FUNCTION_DECL &&
DECL_REGISTER (decl))
ret_val = concat ("register ", ret_val);
if (TREE_PUBLIC (decl))
ret_val = concat ("extern ", ret_val);