(compile_file): Don't flag global register variables as unused.
From-SVN: r3442
This commit is contained in:
parent
74c475adae
commit
f2dabd38de
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user