*** empty log message ***

From-SVN: r1489
This commit is contained in:
Charles Hannum 1992-07-07 01:43:34 +00:00
parent 6489924b12
commit 0c20aabf3b

View File

@ -1725,6 +1725,7 @@ compile_file (name)
if (warn_unused
&& (TREE_CODE (decl) == FUNCTION_DECL
|| TREE_CODE (decl) == VAR_DECL)
&& ! DECL_IN_SYSTEM_HEADER (decl)
&& ! TREE_EXTERNAL (decl)
&& ! TREE_PUBLIC (decl)
&& ! TREE_USED (decl)
@ -2049,11 +2050,6 @@ rest_of_compilation (decl)
}
}
/* Suppress warnings for unused static functions
defined (not just declared) in system headers. */
if (in_system_header && TREE_STATIC (decl) && !TREE_INLINE (decl))
TREE_USED (decl) = 1;
TREE_ASM_WRITTEN (decl) = 1;
/* Now that integrate will no longer see our rtl, we need not distinguish