From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1957) id 8D9853858028; Mon, 10 Oct 2022 07:33:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8D9853858028 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665387207; bh=9rYE5YE1nBe5E+CuuNDD6YF5OkGsOj65Mk48X0o7F1I=; h=From:To:Subject:Date:From; b=CaRPr9gUMeR5qHtr5Z39C1Zm8xSsJzEidYdSZEqU0MXGhWzq5N1VQz532Ix1tekAe Czg3A6UYQxpxLK5OxcW5FCDZvZey2F7Q9kCSubclyyWyq0KMHbj+MlgbJUbIiM6p7j C14gmLGtUNufBnqUixzFEOqE/xA9XixJ3AOlRt+8= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Claudiu Zissulescu To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-3187] arc: Remove obsolete mRcq and mRcw options. X-Act-Checkin: gcc X-Git-Author: Claudiu Zissulescu X-Git-Refname: refs/heads/master X-Git-Oldrev: e8f5074f486a2423355703483a8626a4ffe9fe47 X-Git-Newrev: 59d27853f10fdefa32779d74056fb7d16a6bb965 Message-Id: <20221010073327.8D9853858028@sourceware.org> Date: Mon, 10 Oct 2022 07:33:27 +0000 (GMT) List-Id: https://gcc.gnu.org/g:59d27853f10fdefa32779d74056fb7d16a6bb965 commit r13-3187-g59d27853f10fdefa32779d74056fb7d16a6bb965 Author: Claudiu Zissulescu Date: Mon Oct 10 10:27:12 2022 +0300 arc: Remove obsolete mRcq and mRcw options. gcc/ * common/config/arc/arc-common.cc (arc_option_optimization_table): Remove Rcq and Rcw options. * config/arc/arc.opt (mRcq): Ignore option, preserve it for backwards compatibility. (mRcw): Likewise. * doc/invoke.texi (mRcw, mRcq): Update document. Signed-off-by: Claudiu Zissulescu Diff: --- gcc/common/config/arc/arc-common.cc | 2 -- gcc/config/arc/arc.opt | 10 ++++++---- gcc/doc/invoke.texi | 8 ++------ 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/gcc/common/config/arc/arc-common.cc b/gcc/common/config/arc/arc-common.cc index e69c4a4fac7..62fe54234e0 100644 --- a/gcc/common/config/arc/arc-common.cc +++ b/gcc/common/config/arc/arc-common.cc @@ -44,8 +44,6 @@ arc_option_init_struct (struct gcc_options *opts ATTRIBUTE_UNUSED) #define OPT_LEVELS_3_PLUS_SPEED_ONLY OPT_LEVELS_3_PLUS static const struct default_options arc_option_optimization_table[] = { - { OPT_LEVELS_ALL, OPT_mRcq, NULL, 1 }, - { OPT_LEVELS_ALL, OPT_mRcw, NULL, 1 }, { OPT_LEVELS_ALL, OPT_msize_level_, NULL, 1 }, { OPT_LEVELS_ALL, OPT_mearly_cbranchsi, NULL, 1 }, { OPT_LEVELS_ALL, OPT_mbbit_peephole, NULL, 1 }, diff --git a/gcc/config/arc/arc.opt b/gcc/config/arc/arc.opt index 0add5a2a21f..b58273255f7 100644 --- a/gcc/config/arc/arc.opt +++ b/gcc/config/arc/arc.opt @@ -308,12 +308,14 @@ Target Ignore Does nothing. Preserved for backward compatibility. mRcq -Target Var(TARGET_Rcq) -Enable Rcq constraint handling - most short code generation depends on this. +Target Ignore +Does nothing. Preserved for backward compatibility. + mRcw -Target Var(TARGET_Rcw) -Enable Rcw constraint handling - ccfsm condexec mostly depends on this. +Target Ignore +Does nothing. Preserved for backward compatibility. + mearly-cbranchsi Target Var(TARGET_EARLY_CBRANCHSI) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 1eeaec18810..278c55d5a19 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -20896,15 +20896,11 @@ This is the default for @option{-Os}. @item -mRcq @opindex mRcq -Enable @samp{Rcq} constraint handling. -Most short code generation depends on this. -This is the default. +Does nothing. Preserved for backward compatibility. @item -mRcw @opindex mRcw -Enable @samp{Rcw} constraint handling. -Most ccfsm condexec mostly depends on this. -This is the default. +Does nothing. Preserved for backward compatibility. @item -msize-level=@var{level} @opindex msize-level