mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-24 05:09:01 +08:00
* toplev.c (rest_of_compilation): Defer all non-nested inlines.
From-SVN: r15861
This commit is contained in:
parent
6714c1ae69
commit
c0da11c40a
@ -46,6 +46,10 @@ Mon Oct 6 12:04:24 1997 Jeffrey A Law (law@cygnus.com)
|
||||
* Makefile.in (check-g77): New test target.
|
||||
(CHECK-TARGETS): Add check-g77.
|
||||
|
||||
Fri Oct 3 11:56:36 1997 Jason Merrill <jason@yorick.cygnus.com>
|
||||
|
||||
* toplev.c (rest_of_compilation): Defer all non-nested inlines.
|
||||
|
||||
Fri Oct 3 15:49:27 1997 Michael Meissner <meissner@cygnus.com>
|
||||
|
||||
* flow.c (print_rtl_with_bb): Cast alloca return value for
|
||||
|
@ -3022,6 +3022,11 @@ rest_of_compilation (decl)
|
||||
fflush (rtl_dump_file);
|
||||
});
|
||||
|
||||
/* If we can, defer compiling inlines until EOF.
|
||||
save_for_inline_copying can be extremely expensive. */
|
||||
if (inlineable && ! decl_function_context (decl))
|
||||
DECL_DEFER_OUTPUT (decl) = 1;
|
||||
|
||||
/* If function is inline, and we don't yet know whether to
|
||||
compile it by itself, defer decision till end of compilation.
|
||||
finish_compilation will call rest_of_compilation again
|
||||
|
Loading…
Reference in New Issue
Block a user