gcc13/gcc11-gdwarf-4-default.patch
Richard Biener 5f7413af61 Accepting request 1068011 from devel:gcc:next
- Always enable the link mutex.
- Bump to 529e03b9882fe48cfa3c182abb12a5858a5762a2, git6353.

- Rebase gcc44-rename-info-files.patch patch.

OBS-URL: https://build.opensuse.org/request/show/1068011
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc13?expand=0&rev=24
2023-02-27 14:05:37 +00:00

30 lines
1.2 KiB
Diff

diff --git a/gcc/defaults.h b/gcc/defaults.h
index 376687d91b1..613003eb14f 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -1444,7 +1444,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
/* When generating dwarf info, the default standard version we'll honor
and advertise in absence of -gdwarf-<N> on the command line. */
#ifndef DWARF_VERSION_DEFAULT
-#define DWARF_VERSION_DEFAULT 5
+#define DWARF_VERSION_DEFAULT 4
#endif
#ifndef USED_FOR_TARGET
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 04ca9d9b02b..944019edbc1 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -11255,9 +11255,8 @@ possible.
@itemx -gdwarf-@var{version}
Produce debugging information in DWARF format (if that is supported).
The value of @var{version} may be either 2, 3, 4 or 5; the default
-version for most targets is 5 (with the exception of VxWorks, TPF and
-Darwin/Mac OS X, which default to version 2, and AIX, which defaults
-to version 4).
+version for most targets is 4 (with the exception of VxWorks, TPF and
+Darwin/Mac OS X, which default to version 2).
Note that with DWARF Version 2, some ports require and always
use some non-conflicting DWARF 3 extensions in the unwind tables.