projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74c475a
)
(compile_file): Don't flag global register variables as unused.
author
John Hassey
<hassey@gnu.org>
Mon, 8 Feb 1993 15:17:53 +0000
(15:17 +0000)
committer
John Hassey
<hassey@gnu.org>
Mon, 8 Feb 1993 15:17:53 +0000
(15:17 +0000)
From-SVN: r3442
gcc/toplev.c
patch
|
blob
|
history
diff --git
a/gcc/toplev.c
b/gcc/toplev.c
index b2b6db831ee8f8b4ab459a66054c523689422746..263ff676b7a6ef9a76860101774e0a7c828b171e 100644
(file)
--- a/
gcc/toplev.c
+++ b/
gcc/toplev.c
@@
-1886,6
+1886,7
@@
compile_file (name)
&& ! TREE_PUBLIC (decl)
&& ! TREE_USED (decl)
&& ! DECL_INLINE (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. */