]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
driver: Also prune joined switches with negation
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Tue, 1 Oct 2019 10:28:40 +0000 (10:28 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Tue, 1 Oct 2019 10:28:40 +0000 (10:28 +0000)
2019-10-01  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

Backport from mainline
2019-09-26  Matt Turner  <mattst88@gmail.com>

PR driver/69471
* config/aarch64/aarch64.opt (march=): Add Negative(march=).
(mtune=): Add Negative(mtune=).
(mcpu=): Add Negative(mcpu=).
* config/arm/arm.opt: Likewise.

From-SVN: r276397

gcc/ChangeLog
gcc/config/aarch64/aarch64.opt
gcc/config/arm/arm.opt

index 4b0a16e67fe2a64fff3d1e8bc193b54726bf7b5b..5f1145ef8d4afd4ec8726771246a2aa1fd9e0b6e 100644 (file)
@@ -1,3 +1,14 @@
+2019-10-01  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       Backport from mainline
+       2019-09-26  Matt Turner  <mattst88@gmail.com>
+
+       PR driver/69471
+       * config/aarch64/aarch64.opt (march=): Add Negative(march=).
+       (mtune=): Add Negative(mtune=).
+       (mcpu=): Add Negative(mcpu=).
+       * config/arm/arm.opt: Likewise.
+
 2019-09-28  Oleg Endo  <olegendo@gcc.gnu.org>
 
        Backport from mainline
index 7719c3b635242642ad1975721e8699d84f359eea..3c6d1cc90ada9606bee33e66882cccf3a76dfdf2 100644 (file)
@@ -119,15 +119,15 @@ EnumValue
 Enum(aarch64_tls_size) String(48) Value(48)
 
 march=
-Target RejectNegative ToLower Joined Var(aarch64_arch_string)
+Target RejectNegative Negative(march=) ToLower Joined Var(aarch64_arch_string)
 Use features of architecture ARCH.
 
 mcpu=
-Target RejectNegative ToLower Joined Var(aarch64_cpu_string)
+Target RejectNegative Negative(mcpu=) ToLower Joined Var(aarch64_cpu_string)
 Use features of and optimize for CPU.
 
 mtune=
-Target RejectNegative ToLower Joined Var(aarch64_tune_string)
+Target RejectNegative Negative(mtune=) ToLower Joined Var(aarch64_tune_string)
 Optimize for CPU.
 
 mabi=
index 9067d491b9c5fd9e1552a912e57d127b7770b858..78f3878e037cf1e316d262244d48a48b401589ca 100644 (file)
@@ -82,7 +82,7 @@ mapcs-stack-check
 Target Report Mask(APCS_STACK) Undocumented
 
 march=
-Target RejectNegative ToLower Joined Var(arm_arch_string)
+Target RejectNegative Negative(march=) ToLower Joined Var(arm_arch_string)
 Specify the name of the target architecture.
 
 ; Other arm_arch values are loaded from arm-tables.opt
@@ -107,7 +107,7 @@ Target Report Mask(CALLER_INTERWORKING)
 Thumb: Assume function pointers may go to non-Thumb aware code.
 
 mcpu=
-Target RejectNegative ToLower Joined Var(arm_cpu_string)
+Target RejectNegative Negative(mcpu=) ToLower Joined Var(arm_cpu_string)
 Specify the name of the target CPU.
 
 mfloat-abi=
@@ -232,7 +232,7 @@ Target Report Mask(TPCS_LEAF_FRAME)
 Thumb: Generate (leaf) stack frames even if not needed.
 
 mtune=
-Target RejectNegative ToLower Joined Var(arm_tune_string)
+Target RejectNegative Negative(mtune=) ToLower Joined Var(arm_tune_string)
 Tune code for the given processor.
 
 mprint-tune-info