Commit f843649d by Richard Kenner

(compile_file): DECL_REGISTER isn't defined for FUNCTION_DECL.

From-SVN: r10911
parent 33bc3ff5
......@@ -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. */
......
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