From: John Hassey Date: Mon, 8 Feb 1993 15:17:53 +0000 (+0000) Subject: (compile_file): Don't flag global register variables as unused. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f2dabd38de8d7ea3573b7e16aaa98131bb4e7886;p=gcc.git (compile_file): Don't flag global register variables as unused. From-SVN: r3442 --- diff --git a/gcc/toplev.c b/gcc/toplev.c index b2b6db831ee..263ff676b7a 100644 --- 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. */