DWARF supports C++
authorJason Merrill <merrill@gnu.org>
Fri, 11 Oct 1996 20:25:05 +0000 (20:25 +0000)
committerJason Merrill <merrill@gnu.org>
Fri, 11 Oct 1996 20:25:05 +0000 (20:25 +0000)
From-SVN: r12955

gcc/toplev.c

index e61415213d70a4e185c1f61d5642be9649773652..27163944685f603724dd2ba67f7a8d2dab71585d 100644 (file)
@@ -3980,15 +3980,6 @@ main (argc, argv, envp)
        warning ("-Wuninitialized is not supported without -O");
     }
 
-#if defined(DWARF_DEBUGGING_INFO)
-  if (write_symbols == DWARF_DEBUG
-      && strcmp (language_string, "GNU C++") == 0)
-    {
-      warning ("-g option not supported for C++ on systems using the DWARF debugging format");
-      write_symbols = NO_DEBUG;
-    }
-#endif /* defined(DWARF_DEBUGGING_INFO) */
-
 #ifdef OVERRIDE_OPTIONS
   /* Some machines may reject certain combinations of options.  */
   OVERRIDE_OPTIONS;