Commit 2d37f024 by Jason Merrill

oops

From-SVN: r12895
parent 2b77decc
......@@ -3974,6 +3974,15 @@ 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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment