summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1999-07-09 22:48:57 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1999-07-09 22:48:57 +0000
commit2a5eb6dfef690d02623602f647e26dae4ef35ca5 (patch)
tree80ccce7d9bbbdf52b489c95422d0ff851990b533
parent2922db0c733a747b9d581889cd1b3a98fdcfec9c (diff)
downloadppe42-gcc-2a5eb6dfef690d02623602f647e26dae4ef35ca5.tar.gz
ppe42-gcc-2a5eb6dfef690d02623602f647e26dae4ef35ca5.zip
* toplev.c (main): Don't complain about saying -gdwarf.
(rest_of_compilation): Remove redundant code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28049 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/toplev.c10
2 files changed, 8 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d2b35831e27..64d2e818043 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
+
+ * toplev.c (main): Don't complain about saying -gdwarf.
+ (rest_of_compilation): Remove redundant code.
+
Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
* unroll.c (unroll_loops): Don't delete named CODE_LABELs.
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 92617f799dc..d60c206aa31 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -3656,11 +3656,6 @@ rest_of_compilation (decl)
close_dump_file (print_rtl, insns);
}
- /* If we can, defer compiling inlines until EOF.
- save_for_inline_copying can be extremely expensive. */
- if (inlinable && ! 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
@@ -3673,7 +3668,8 @@ rest_of_compilation (decl)
/* If this is a nested inline, remove ADDRESSOF now so we can
finish compiling ourselves. Otherwise, wait until EOF.
We have to do this because the purge_addressof transformation
- changes the DECL_RTL for many variables, which confuses integrate. */
+ changes the DECL_RTL for many variables, which confuses integrate.
+ Also, save_for_inline_copying can be very expensive. */
if (inlinable)
{
if (decl_function_context (decl))
@@ -5247,7 +5243,7 @@ main (argc, argv)
else
level = 2;
- if (da_len > 1 && !strncmp (str, "gdwarf", da_len))
+ if (da_len > 1 && *p && !strncmp (str, "gdwarf", da_len))
{
error ("use -gdwarf -g%d for DWARF v1, level %d",
level, level);
OpenPOWER on IntegriCloud