From ee9021bc1565655a1cd47039df58f093c7be0324 Mon Sep 17 00:00:00 2001 From: Kito Cheng Date: Thu, 1 Aug 2019 06:33:48 +0000 Subject: [PATCH] RISC-V: Fix testcase on rv64 gcc/testsuite/ChangeLog: * gcc.target/riscv/attribute-10.c: Fix testcase on rv64. From-SVN: r273968 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.target/riscv/attribute-10.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d878013c432..e54fa5760bd 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-08-01 Kito Cheng + + * gcc.target/riscv/attribute-10.c: Fix testcase on rv64. + 2019-07-31 Paolo Carlini * g++.dg/diagnostic/delete1.C: New. diff --git a/gcc/testsuite/gcc.target/riscv/attribute-10.c b/gcc/testsuite/gcc.target/riscv/attribute-10.c index dd817879a67..a874a6234dc 100644 --- a/gcc/testsuite/gcc.target/riscv/attribute-10.c +++ b/gcc/testsuite/gcc.target/riscv/attribute-10.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -march=rv32im_s_sx_unexpectedstring -mabi=ilp32" } */ +/* { dg-options "-O2 -march=rv32i -march=rv32im_s_sx_unexpectedstring -mabi=ilp32" } */ int foo() { } -- 2.30.2