(compile_file): Don't try to write function if we didn't save insns

for it.

From-SVN: r7544
This commit is contained in:
Richard Kenner 1994-06-23 18:56:06 -04:00
parent 6ac36afb49
commit 8838265b31

View File

@ -2326,6 +2326,7 @@ compile_file (name)
if (TREE_CODE (decl) == FUNCTION_DECL
&& ! TREE_ASM_WRITTEN (decl)
&& DECL_INITIAL (decl) != 0
&& DECL_SAVED_INSNS (decl) != 0
&& (TREE_ADDRESSABLE (decl)
|| flag_keep_inline_functions
|| TREE_ADDRESSABLE (DECL_ASSEMBLER_NAME (decl)))