diff options
author | Jan-Benedict Glaw <jbglaw@lug-owl.de> | 2022-09-06 13:05:21 +0200 |
---|---|---|
committer | Jan-Benedict Glaw <jbglaw@lug-owl.de> | 2022-09-06 13:05:21 +0200 |
commit | 26ea6ca1fc76752875e74edd628bc3066c642a29 (patch) | |
tree | a64d5f2f811b1be1699be04f07e932f95c1fc211 /gcc | |
parent | e55674b86a10e695cea2f45c0472402b97cc2dfb (diff) | |
download | gcc-26ea6ca1fc76752875e74edd628bc3066c642a29.zip gcc-26ea6ca1fc76752875e74edd628bc3066c642a29.tar.gz gcc-26ea6ca1fc76752875e74edd628bc3066c642a29.tar.bz2 |
Document unused function argument
This patch fixes a small warning about the unused outer_rtx argument in the
msp430 backend.
2022-09-06 Jan-Benedict Glaw <jbglaw@lug-owl.de>
gcc/ChangeLog:
* config/msp430/msp430.cc (msp430_single_op_cost): Document unused argument.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/msp430/msp430.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/msp430/msp430.cc b/gcc/config/msp430/msp430.cc index 7a378ce..6c15780 100644 --- a/gcc/config/msp430/msp430.cc +++ b/gcc/config/msp430/msp430.cc @@ -1460,7 +1460,7 @@ msp430_get_inner_dest_code (rtx x) /* Calculate the cost of an MSP430 single-operand instruction, for operand DST within the RTX OUTER_RTX, optimizing for speed if SPEED is true. */ static int -msp430_single_op_cost (rtx dst, bool speed, rtx outer_rtx) +msp430_single_op_cost (rtx dst, bool speed, rtx /* outer_rtx */) { enum rtx_code dst_code = GET_CODE (dst); const struct single_op_cost *cost_p; |