commit: 1221c15b4ad01e2de08f169f1512ab8139391e8e
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 17 00:32:25 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 17 00:50:47 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1221c15b
sys-devel/gcc: add USE=debug description
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-devel/gcc/metadata.xml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/sys-devel/gcc/metadata.xml b/sys-devel/gcc/metadata.xml
index d1c5c038131d..da28d6809a07 100644
--- a/sys-devel/gcc/metadata.xml
+++ b/sys-devel/gcc/metadata.xml
@@ -24,6 +24,16 @@
code is therefore compatible with i686 at the earliest.
</flag>
<flag name="d">Enable support for the D programming
language</flag>
+ <flag name="debug">
+ Enables GCC's 'checking' facility via
--enable-checking=yes,extra,rtl.
+
+ This adds checks to various compiler passes for
integrity and input
+ validation. This can help catch possible
miscompilations early as
+ well as latent bugs which could become real problems in
future, but
+ at the cost of slower compile times when using GCC.
+
+ Unrelated to backtraces.
+ </flag>
<flag name="default-stack-clash-protection">
Build packages with stack clash protection on by
default as
a hardening measure.