(compile_file): Don't try to write function if we didn't save insns
for it. From-SVN: r7544
This commit is contained in:
parent
6ac36afb49
commit
8838265b31
@ -2326,6 +2326,7 @@ compile_file (name)
|
|||||||
if (TREE_CODE (decl) == FUNCTION_DECL
|
if (TREE_CODE (decl) == FUNCTION_DECL
|
||||||
&& ! TREE_ASM_WRITTEN (decl)
|
&& ! TREE_ASM_WRITTEN (decl)
|
||||||
&& DECL_INITIAL (decl) != 0
|
&& DECL_INITIAL (decl) != 0
|
||||||
|
&& DECL_SAVED_INSNS (decl) != 0
|
||||||
&& (TREE_ADDRESSABLE (decl)
|
&& (TREE_ADDRESSABLE (decl)
|
||||||
|| flag_keep_inline_functions
|
|| flag_keep_inline_functions
|
||||||
|| TREE_ADDRESSABLE (DECL_ASSEMBLER_NAME (decl)))
|
|| TREE_ADDRESSABLE (DECL_ASSEMBLER_NAME (decl)))
|
||||||
|
Loading…
Reference in New Issue
Block a user