projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33bc3ff
)
(compile_file): DECL_REGISTER isn't defined for FUNCTION_DECL.
author
Richard Kenner
<kenner@gcc.gnu.org>
Sun, 31 Dec 1995 19:20:08 +0000
(14:20 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Sun, 31 Dec 1995 19:20:08 +0000
(14:20 -0500)
From-SVN: r10911
gcc/toplev.c
patch
|
blob
|
history
diff --git
a/gcc/toplev.c
b/gcc/toplev.c
index 6da56cd17fc60ed86c640ca38ed96b5abb947608..37015b399f1f3beb875dee4dce5a38555f4e0ae9 100644
(file)
--- a/
gcc/toplev.c
+++ b/
gcc/toplev.c
@@
-2370,7
+2370,7
@@
compile_file (name)
&& ! DECL_EXTERNAL (decl)
&& ! TREE_PUBLIC (decl)
&& ! TREE_USED (decl)
- &&
! DECL_REGISTER (decl
)
+ &&
(TREE_CODE (decl) == FUNCTION_DECL || ! DECL_REGISTER (decl)
)
/* The TREE_USED bit for file-scope decls
is kept in the identifier, to handle multiple
external decls in different scopes. */