From 696bafe61327dbf2ce2dee7262af8f18b23fcfa1 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Thu, 29 Jun 2017 11:01:27 +0200 Subject: [PATCH] Fix -mbranch-cost range. 2017-06-29 Martin Liska * config/i386/i386.opt: Change range from [1,5] to [0,5]. From-SVN: r249773 --- gcc/ChangeLog | 4 ++++ gcc/config/i386/i386.opt | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 68129a5aafa..4f117a0bb7f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2017-06-29 Martin Liska + + * config/i386/i386.opt: Change range from [1,5] to [0,5]. + 2017-06-29 Yury Gribov PR bootstrap/80565 diff --git a/gcc/config/i386/i386.opt b/gcc/config/i386/i386.opt index 90eadbc4e18..adc75f36602 100644 --- a/gcc/config/i386/i386.opt +++ b/gcc/config/i386/i386.opt @@ -267,7 +267,7 @@ EnumValue Enum(asm_dialect) String(att) Value(ASM_ATT) mbranch-cost= -Target RejectNegative Joined UInteger Var(ix86_branch_cost) IntegerRange(1, 5) +Target RejectNegative Joined UInteger Var(ix86_branch_cost) IntegerRange(0, 5) Branches are this expensive (arbitrary units). mlarge-data-threshold= -- 2.30.2