[committed] [RISC-V] Fix testsuite fallout from recent changes
Recent changes have started triggering: > Tests that now fail, but worked before (3 tests): > > unix/-march=rv64gc_zba_zbb_zbs_zicond: gcc: gcc.target/riscv/rvv/base/pr115068-run.c (test for excess errors) > unix/-march=rv64gc_zba_zbb_zbs_zicond: gcc: gcc.target/riscv/rvv/base/pr115068.c (test for excess errors) > unix/-march=rv64gc_zba_zbb_zbs_zicond: gcc: gcc.target/riscv/rvv/base/vwaddsub-1.c (test for excess errors) We're emitting a pedantic diagnostic on the #include_next. This just turns off the pedantic warnings. Pushing as obvious. gcc/testsuite * gcc.target/riscv/rvv/base/pr115068-run.c: Turn off pedantic diagnostics. * gcc.target/riscv/rvv/base/pr115068.c: Likewise. * gcc.target/riscv/rvv/base/vwaddsub-1.c: Likewise.
This commit is contained in:
parent
4acdfb71d4
commit
992be16d83
3 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
/* { dg-do run } */
|
||||
/* { dg-require-effective-target riscv_v_ok } */
|
||||
/* { dg-add-options riscv_v } */
|
||||
/* { dg-additional-options "-std=gnu99" } */
|
||||
/* { dg-additional-options "-std=gnu99 -Wno-pedantic" } */
|
||||
|
||||
#include "pr115068.c"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* { dg-do compile { target { ! riscv_abi_e } } } */
|
||||
/* { dg-add-options riscv_v } */
|
||||
/* { dg-additional-options "-std=gnu99" } */
|
||||
/* { dg-additional-options "-std=gnu99 -Wno-pedantic" } */
|
||||
|
||||
#include <stdint.h>
|
||||
#include "riscv_vector.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* { dg-do compile { target { { ! riscv_abi_e } && rv64 } } } */
|
||||
/* { dg-add-options riscv_v } */
|
||||
/* { dg-additional-options "-std=gnu99 -O3 -fno-schedule-insns -fno-schedule-insns2" } */
|
||||
/* { dg-additional-options "-std=gnu99 -O3 -fno-schedule-insns -fno-schedule-insns2 -Wno-pedantic" } */
|
||||
|
||||
#include <stdint.h>
|
||||
#include "riscv_vector.h"
|
||||
|
|
Loading…
Add table
Reference in a new issue