diff options
author | Jakub Jelinek <jakub@redhat.com> | 2022-03-15 13:34:33 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2022-03-15 13:34:33 +0100 |
commit | 98afdc3e2bfccf0a1337013b54f2c5634ef40ee5 (patch) | |
tree | 06056f05e23d67c3d98b2d79faf9a9a2143d9118 /gcc/go | |
parent | da24fce323eaf088239e0f900dd23f6b05d552c1 (diff) | |
download | gcc-98afdc3e2bfccf0a1337013b54f2c5634ef40ee5.zip gcc-98afdc3e2bfccf0a1337013b54f2c5634ef40ee5.tar.gz gcc-98afdc3e2bfccf0a1337013b54f2c5634ef40ee5.tar.bz2 |
riscv: Allow -Wno-psabi to turn off ABI warnings [PR91229]
While checking if all targets honor -Wno-psabi for ABI related warnings
or messages, I found that almost all do, except for riscv.
In the testsuite when we want to ignore ABI related messages we
typically use -Wno-psabi -w, but it would be nice to get rid of those
-w uses eventually.
The following allows silencing those warnings with -Wno-psabi rather than
just -w even on riscv.
2022-03-15 Jakub Jelinek <jakub@redhat.com>
PR target/91229
* config/riscv/riscv.cc (riscv_pass_aggregate_in_fpr_pair_p,
riscv_pass_aggregate_in_fpr_and_gpr_p): Pass OPT_Wpsabi instead of 0
to warning calls.
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions