From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1666) id 0674E3858D37; Tue, 24 Oct 2023 07:10:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0674E3858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1698131403; bh=1M03oaWvTRUa0SJ2q6/fK70W4eRz8wouh/9D99IFaGc=; h=From:To:Subject:Date:From; b=M2rdsyw5FqYTh4LDd7Y5v3lmn7/Df6vo+KGEc/7AfZlhLs1VMdzWQI26mHcy/Z6lq WBDaeAOO1p1Nr8PIvbV8QHosB9gMPxKMpufCjYETY8dGXhV/M6JbH4OJFUNkC4ae2e GpwTr7A3g2UdJOL82yHvZJ/T9J7COrD+pnPhYYHA= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Richard Biener To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-7979] Remove obsolete debugging formats from names list X-Act-Checkin: gcc X-Git-Author: Mark Harmstone X-Git-Refname: refs/heads/releases/gcc-13 X-Git-Oldrev: 9481a1f7d5ad989588ee7444e5add8161c3cb1ea X-Git-Newrev: 3235289bc7e092abde361668851e07850ccccfb2 Message-Id: <20231024071003.0674E3858D37@sourceware.org> Date: Tue, 24 Oct 2023 07:10:03 +0000 (GMT) List-Id: https://gcc.gnu.org/g:3235289bc7e092abde361668851e07850ccccfb2 commit r13-7979-g3235289bc7e092abde361668851e07850ccccfb2 Author: Mark Harmstone Date: Tue Oct 24 09:04:25 2023 +0200 Remove obsolete debugging formats from names list * opts.cc (debug_type_names): Remove stabs and xcoff. (df_set_names): Adjust. (cherry picked from commit 724badcadf889b5798321620aeed16b61e91fe72) Diff: --- gcc/opts.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/opts.cc b/gcc/opts.cc index fb2e5388ab19..e0ba89ffe516 100644 --- a/gcc/opts.cc +++ b/gcc/opts.cc @@ -49,7 +49,7 @@ static void set_Wstrict_aliasing (struct gcc_options *opts, int onoff); const char *const debug_type_names[] = { - "none", "stabs", "dwarf-2", "xcoff", "vms", "ctf", "btf" + "none", "dwarf-2", "vms", "ctf", "btf" }; /* Bitmasks of fundamental debug info formats indexed by enum @@ -64,7 +64,7 @@ static uint32_t debug_type_masks[] = /* Names of the set of debug formats requested by user. Updated and accessed via debug_set_names. */ -static char df_set_names[sizeof "none stabs dwarf-2 xcoff vms ctf btf"]; +static char df_set_names[sizeof "none dwarf-2 vms ctf btf"]; /* Get enum debug_info_type of the specified debug format, for error messages. Can be used only for individual debug format types. */