re PR bootstrap/41405 (Bootstrap fails on *-apple-darwin* due to revision 151815)
authorJakub Jelinek <jakub@redhat.com>
Wed, 23 Sep 2009 14:52:20 +0000 (16:52 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 23 Sep 2009 14:52:20 +0000 (16:52 +0200)
PR bootstrap/41405
* doc/invoke.texi: Document -gstrict-dwarf and -gno-strict-dwarf.

From-SVN: r152076

gcc/ChangeLog
gcc/doc/invoke.texi

index 8771bd5..e989ca8 100644 (file)
@@ -1,5 +1,8 @@
 2009-09-23  Jakub Jelinek  <jakub@redhat.com>
 
+       PR bootstrap/41405
+       * doc/invoke.texi: Document -gstrict-dwarf and -gno-strict-dwarf.
+
        PR bootstrap/41436
        * cgraphunit.c (cgraph_lower_function): Set DECL_NO_STATIC_CHAIN
        on non-nested functions.
index 5a547e2..407cb89 100644 (file)
@@ -313,7 +313,8 @@ Objective-C and Objective-C++ Dialects}.
 -ftest-coverage  -ftime-report -fvar-tracking @gol
 -fvar-tracking-assigments  -fvar-tracking-assignments-toggle @gol
 -g  -g@var{level}  -gtoggle  -gcoff  -gdwarf-@var{version} @gol
--ggdb  -gstabs  -gstabs+  -gvms  -gxcoff  -gxcoff+ @gol
+-ggdb  -gstabs  -gstabs+  -gstrict-dwarf  -gno-strict-dwarf @gol
+-gvms  -gxcoff  -gxcoff+ @gol
 -fno-merge-debug-strings -fno-dwarf2-cfi-asm @gol
 -fdebug-prefix-map=@var{old}=@var{new} @gol
 -femit-struct-debug-baseonly -femit-struct-debug-reduced @gol
@@ -4428,6 +4429,17 @@ use, some non-conflicting DWARF 3 extensions in the unwind tables.
 Version 4 may require GDB 7.0 and @option{-fvar-tracking-assignments}
 for maximum benefit.
 
+@item -gstrict-dwarf
+@opindex gstrict-dwarf
+Disallow using extensions of later DWARF standard version than selected
+with @option{-gdwarf-@var{version}}.  On most targets using non-conflicting
+DWARF extensions from later standard versions is allowed.
+
+@item -gno-strict-dwarf
+@opindex gno-strict-dwarf
+Allow using extensions of later DWARF standard version than selected with
+@option{-gdwarf-@var{version}}.
+
 @item -gvms
 @opindex gvms
 Produce debugging information in VMS debug format (if that is