This patch trivially fixes a few test cases that I noticed during
testing.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/pr120378-1.c: Dump "optimized".
* gcc.target/riscv/rvv/autovec/pr121510.c: Add semicolon.
* gcc.target/riscv/rvv/base/pr112431-21.c: Add -Wno-pedantic.
/* { dg-do compile } */
-/* { dg-options "-march=rv64gcv -mabi=lp64d -O3" } */
+/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fdump-tree-optimized" } */
#include <stdint.h>
long j;
union {
_Float16 x;
- char b[]
+ char b[];
} u;
j = 0;
for (; j < sizeof 0; j++)
/* { dg-do run { target { riscv_v } } } */
-/* { dg-additional-options "-O3 -ansi -pedantic-errors -std=gnu99" } */
+/* { dg-additional-options "-O3 -ansi -std=gnu99 -Wno-pedantic" } */
#include "riscv_vector.h"