Commit 8838265b by Richard Kenner

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

for it.

From-SVN: r7544
parent 6ac36afb
......@@ -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)))
......
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