diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 2000-09-16 14:58:51 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2000-09-16 14:58:51 -0400 |
commit | f93dacbdefbd440732896d176447c814d61458bf (patch) | |
tree | 6de510f651766f1daf10b0bf6db9c8a40c430cec /gcc/toplev.c | |
parent | 5748b2cb4b46855f9a6052741de818825e9632ef (diff) | |
download | gcc-f93dacbdefbd440732896d176447c814d61458bf.zip gcc-f93dacbdefbd440732896d176447c814d61458bf.tar.gz gcc-f93dacbdefbd440732896d176447c814d61458bf.tar.bz2 |
function.h (no_debugging_symbols): New field.
* function.h (no_debugging_symbols): New field.
* integrate.c (save_for_inline): Renamed from save_for_inline_nocopy.
Initialize no_debugging_symbols.
(output_inline_function): Save and restore write_symbols and set from
no_debugging_symbols.
* toplev.c (rest_of_compilation): Call save_for_inline.
* tree.h: Update comment.
From-SVN: r36461
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 95ef7a2..fb41c78 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -2778,17 +2778,15 @@ rest_of_compilation (decl) if (DECL_DEFER_OUTPUT (decl)) { - /* If -Wreturn-type, we have to do a bit of compilation. - However, if we just fall through we will call - save_for_inline_copying() which results in excessive - memory use. Instead, we just want to call - jump_optimize() to figure out whether or not we can fall - off the end of the function; we do the minimum amount of - work necessary to make that safe. And, we set optimize - to zero to keep jump_optimize from working too hard. */ + /* If -Wreturn-type, we have to do a bit of compilation. We just + want to call jump_optimize to figure out whether or not we can + fall off the end of the function; we do the minimum amount of + work necessary to make that safe. And, we set optimize to zero + to keep jump_optimize from working too hard. */ if (warn_return_type) { int saved_optimize = optimize; + optimize = 0; find_exception_handler_labels (); jump_optimize (insns, !JUMP_CROSS_JUMP, !JUMP_NOOP_MOVES, @@ -2803,7 +2801,7 @@ rest_of_compilation (decl) TREE_NOTHROW (current_function_decl) = 1; timevar_push (TV_INTEGRATION); - save_for_inline_nocopy (decl); + save_for_inline (decl); timevar_pop (TV_INTEGRATION); DECL_SAVED_INSNS (decl)->inlinable = inlinable; goto exit_rest_of_compilation; @@ -2862,7 +2860,6 @@ rest_of_compilation (decl) #endif /* From now on, allocate rtl in current_obstack, not in saveable_obstack. - Note that that may have been done above, in save_for_inline_copying. The call to resume_temporary_allocation near the end of this function goes back to the usual state of affairs. This must be done after we've built up any unwinders for exception handling, and done |