]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
arc: Remove obsolete mRcq and mRcw options.
authorClaudiu Zissulescu <claziss@gmail.com>
Mon, 10 Oct 2022 07:27:12 +0000 (10:27 +0300)
committerClaudiu Zissulescu <claziss@gmail.com>
Mon, 10 Oct 2022 07:32:49 +0000 (10:32 +0300)
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 <claziss@gmail.com>
gcc/common/config/arc/arc-common.cc
gcc/config/arc/arc.opt
gcc/doc/invoke.texi

index e69c4a4fac7faea41f8349050a2fb860df3009b8..62fe54234e0d0294ff23cd5cdef5b2f923589d54 100644 (file)
@@ -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 },
index 0add5a2a21f0ec2726f8e1450a4849c1b91b6bbb..b58273255f70c913301bf5b1547a1835f75b1e30 100644 (file)
@@ -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)
index 1eeaec1881073d8578fd5f0e398642c96e47e458..278c55d5a19a17e8a6eff4778ab1445d58ef46fa 100644 (file)
@@ -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