diff options
author | Tom de Vries <tom@codesourcery.com> | 2017-11-07 08:11:54 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2017-11-07 08:11:54 +0000 |
commit | aac11893d49779ae7423cfbe6e1daf1b44a41874 (patch) | |
tree | 8b3128e5399e94bff093595d47cdadabee0b519d /gcc | |
parent | 2a321acb02d5b678f7fd4a4aadc31e586acac84a (diff) | |
download | gcc-aac11893d49779ae7423cfbe6e1daf1b44a41874.zip gcc-aac11893d49779ae7423cfbe6e1daf1b44a41874.tar.gz gcc-aac11893d49779ae7423cfbe6e1daf1b44a41874.tar.bz2 |
[arm] Remove semicolon after while {} do (0) in HANDLE_NARROW_SHIFT_ARITH
2017-11-07 Tom de Vries <tom@codesourcery.com>
PR other/82784
* config/arm/arm.c (HANDLE_NARROW_SHIFT_ARITH): Remove semicolon after
"while {} do (0)".
(arm_rtx_costs_internal): Add missing semicolon after
HANDLE_NARROW_SHIFT_ARITH call.
From-SVN: r254490
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/config/arm/arm.c | 8 |
2 files changed, 12 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0502241..105f222 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2017-11-07 Tom de Vries <tom@codesourcery.com> + + PR other/82784 + * config/arm/arm.c (HANDLE_NARROW_SHIFT_ARITH): Remove semicolon after + "while {} do (0)". + (arm_rtx_costs_internal): Add missing semicolon after + HANDLE_NARROW_SHIFT_ARITH call. + 2017-11-06 Segher Boessenkool <segher@kernel.crashing.org> * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 033ec25..c2a3e9c 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -9222,7 +9222,7 @@ arm_unspec_cost (rtx x, enum rtx_code /* outer_code */, bool speed_p, int *cost) return true; \ } \ } \ - while (0); + while (0) /* RTX costs. Make an estimate of the cost of executing the operation X, which is contained with an operation with code OUTER_CODE. @@ -9654,8 +9654,8 @@ arm_rtx_costs_internal (rtx x, enum rtx_code code, enum rtx_code outer_code, /* We check both sides of the MINUS for shifter operands since, unlike PLUS, it's not commutative. */ - HANDLE_NARROW_SHIFT_ARITH (MINUS, 0) - HANDLE_NARROW_SHIFT_ARITH (MINUS, 1) + HANDLE_NARROW_SHIFT_ARITH (MINUS, 0); + HANDLE_NARROW_SHIFT_ARITH (MINUS, 1); /* Slightly disparage, as we might need to widen the result. */ *cost += 1; @@ -9766,7 +9766,7 @@ arm_rtx_costs_internal (rtx x, enum rtx_code code, enum rtx_code outer_code, rtx shift_op, shift_reg; shift_reg = NULL; - HANDLE_NARROW_SHIFT_ARITH (PLUS, 0) + HANDLE_NARROW_SHIFT_ARITH (PLUS, 0); if (CONST_INT_P (XEXP (x, 1))) { |