projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ac36af
)
(compile_file): Don't try to write function if we didn't save insns
author
Richard Kenner
<kenner@gcc.gnu.org>
Thu, 23 Jun 1994 22:56:06 +0000
(18:56 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Thu, 23 Jun 1994 22:56:06 +0000
(18:56 -0400)
for it.
From-SVN: r7544
gcc/toplev.c
patch
|
blob
|
history
diff --git
a/gcc/toplev.c
b/gcc/toplev.c
index
7eb9ff1
..
d10c38b
100644
(file)
--- a/
gcc/toplev.c
+++ b/
gcc/toplev.c
@@
-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)))