aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@yorick.cygnus.com>1999-07-09 22:48:57 +0000
committerJason Merrill <jason@gcc.gnu.org>1999-07-09 18:48:57 -0400
commit539bd34cb8fa34c20040c9e7181e17431500fe87 (patch)
tree80ccce7d9bbbdf52b489c95422d0ff851990b533 /gcc
parent570621d5ba905e7ed5248c62317437ac7a3f2206 (diff)
downloadgcc-539bd34cb8fa34c20040c9e7181e17431500fe87.zip
gcc-539bd34cb8fa34c20040c9e7181e17431500fe87.tar.gz
gcc-539bd34cb8fa34c20040c9e7181e17431500fe87.tar.bz2
toplev.c (main): Don't complain about saying -gdwarf.
* toplev.c (main): Don't complain about saying -gdwarf. (rest_of_compilation): Remove redundant code. From-SVN: r28049
Diffstat (limited to 'gcc')
-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 d2b3583..64d2e81 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 92617f7..d60c206 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);