This removes the --with-stabs configure option which had no effect
since quite some time.

Will push when it was included in some bootstrap/regtest cycle.

2021-09-10  Richard Biener  <rguent...@suse.de>

        * configure.ac (--with-stabs): Remove.
        * configure: Regenerate.
        * doc/install.texi: Remove --with-stabs documentation.
---
 gcc/configure        | 16 ++--------------
 gcc/configure.ac     |  7 -------
 gcc/doc/install.texi |  5 -----
 3 files changed, 2 insertions(+), 26 deletions(-)

diff --git a/gcc/configure b/gcc/configure
index 500e3f68215..27293279eba 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -958,7 +958,6 @@ enable_checking
 enable_coverage
 enable_gather_detailed_mem_stats
 enable_valgrind_annotations
-with_stabs
 enable_multilib
 enable_multiarch
 with_stack_clash_protection_guard_size
@@ -1820,7 +1819,6 @@ Optional Packages:
                           pathname)
   --with-gnu-as           arrange to work with GNU as
   --with-as               arrange to use the specified as (full pathname)
-  --with-stabs            arrange to use stabs instead of host debug format
   --with-stack-clash-protection-guard-size=size
                           Set the default stack clash protection guard size
                           for specific targets as a power of two in bytes.
@@ -7604,16 +7602,6 @@ fi
 # Miscenalleous configure options
 # -------------------------------
 
-# With stabs
-
-# Check whether --with-stabs was given.
-if test "${with_stabs+set}" = set; then :
-  withval=$with_stabs; stabs="$with_stabs"
-else
-  stabs=no
-fi
-
-
 # Determine whether or not multilibs are enabled.
 # Check whether --enable-multilib was given.
 if test "${enable_multilib+set}" = set; then :
@@ -19480,7 +19468,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 19483 "configure"
+#line 19471 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -19586,7 +19574,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 19589 "configure"
+#line 19577 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 6f768e02aa4..259c933b415 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -845,13 +845,6 @@ fi
 # Miscenalleous configure options
 # -------------------------------
 
-# With stabs
-AC_ARG_WITH(stabs,
-[AS_HELP_STRING([--with-stabs],
-               [arrange to use stabs instead of host debug format])],
-stabs="$with_stabs",
-stabs=no)
-
 # Determine whether or not multilibs are enabled.
 AC_ARG_ENABLE(multilib,
 [AS_HELP_STRING([--enable-multilib],
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 8e974d2952e..99b44706836 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -1088,11 +1088,6 @@ but for the linker.
 Same as @uref{#with-as,,@option{--with-as}}
 but for the debug linker (only used on Darwin platforms so far).
 
-@item --with-stabs
-Specify that stabs debugging
-information should be used instead of whatever format the host normally
-uses.  Normally GCC uses the same debug format as the host system.
-
 @item --with-tls=@var{dialect}
 Specify the default TLS dialect, for systems were there is a choice.
 For ARM targets, possible values for @var{dialect} are @code{gnu} or
-- 
2.31.1

Reply via email to