aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-struct-field-expr.h
diff options
context:
space:
mode:
authorVineet Gupta <vineetg@rivosinc.com>2023-10-16 12:45:41 -0700
committerVineet Gupta <vineetg@rivosinc.com>2023-10-16 12:45:54 -0700
commitc92737722ffff85c759247f96f281438bbf1418d (patch)
treec1888532400a955d9f108dca6f702bd5da0f404d /gcc/rust/backend/rust-compile-struct-field-expr.h
parent04c9cf5c786b94fbe3f6f21f06cae73a7575ff7a (diff)
downloadgcc-c92737722ffff85c759247f96f281438bbf1418d.zip
gcc-c92737722ffff85c759247f96f281438bbf1418d.tar.gz
gcc-c92737722ffff85c759247f96f281438bbf1418d.tar.bz2
RISC-V/testsuite: add a default march (lacking zfa) to some fp tests
A bunch of FP tests expecting specific FP asm output fail when built with zfa because different insns are generated. And this happens because those tests don't have an explicit -march and the default used to configure gcc could end up with zfa causing the false fails. Fix that by adding the -march explicitly which doesn't have zfa. BTW it seems we have some duplication in tests for zfa and non-zfa and it would have been better if they were consolidated, but oh well. gcc/testsuite: * gcc.target/riscv/fle-ieee.c: Updates dg-options with explicit -march=rv64gc and -march=rv32gc. * gcc.target/riscv/fle-snan.c: Ditto. * gcc.target/riscv/fle.c: Ditto. * gcc.target/riscv/flef-ieee.c: Ditto. * gcc.target/riscv/flef.c: Ditto. * gcc.target/riscv/flef-snan.c: Ditto. * gcc.target/riscv/flt-ieee.c: Ditto. * gcc.target/riscv/flt-snan.c: Ditto. * gcc.target/riscv/fltf-ieee.c: Ditto. * gcc.target/riscv/fltf-snan.c: Ditto. Signed-off-by: Vineet Gupta <vineetg@rivosinc.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-struct-field-expr.h')
0 files changed, 0 insertions, 0 deletions