diff options
author | Jeff Law <jlaw@ventanamicro.com> | 2024-01-21 15:41:38 -0700 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro.com> | 2024-01-21 15:41:38 -0700 |
commit | b1829de17bdf9770b276756ead49eba6f408ecd1 (patch) | |
tree | 0e957fc746526f4f413fe21384aeaf132db44d81 /gcc/expr.cc | |
parent | 7431fcea6b72beb54abb1932c254ac0e76bd0bde (diff) | |
download | gcc-b1829de17bdf9770b276756ead49eba6f408ecd1.zip gcc-b1829de17bdf9770b276756ead49eba6f408ecd1.tar.gz gcc-b1829de17bdf9770b276756ead49eba6f408ecd1.tar.bz2 |
[committed] [NFC] Fix riscv_init_cumulative_args for unused arguments
The signature was still using ATTRIBUTE_UNUSED and actually marked one
of the used arguments with ATTRIBUTE_UNUSED.
This patch drops the decorations and instead remove the name of arguments
which are actually unused which is the preferred way to handle this now
when we can.
Bootstrapped. I didn't have test results on the platform where I
bootstrapped, so no results to compare against. Given its NFC, I
think we're OK without the regression results.
gcc/
* config/riscv/riscv.cc (riscv_init_cumulative_args): Update and
fix bugs in signature.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions