Commit f2dabd38 by John Hassey

(compile_file): Don't flag global register variables as unused.

From-SVN: r3442
parent 74c475ad
...@@ -1886,6 +1886,7 @@ compile_file (name) ...@@ -1886,6 +1886,7 @@ compile_file (name)
&& ! TREE_PUBLIC (decl) && ! TREE_PUBLIC (decl)
&& ! TREE_USED (decl) && ! TREE_USED (decl)
&& ! DECL_INLINE (decl) && ! DECL_INLINE (decl)
&& ! DECL_REGISTER (decl)
/* The TREE_USED bit for file-scope decls /* The TREE_USED bit for file-scope decls
is kept in the identifier, to handle multiple is kept in the identifier, to handle multiple
external decls in different scopes. */ external decls in different scopes. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment