(compile_file): DECL_REGISTER isn't defined for FUNCTION_DECL.
From-SVN: r10911
This commit is contained in:
parent
33bc3ff583
commit
f843649d5c
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user