RISC-V: Fix testcase on rv64
authorKito Cheng <kito.cheng@sifive.com>
Thu, 1 Aug 2019 06:33:48 +0000 (06:33 +0000)
committerKito Cheng <kito@gcc.gnu.org>
Thu, 1 Aug 2019 06:33:48 +0000 (06:33 +0000)
gcc/testsuite/ChangeLog:

* gcc.target/riscv/attribute-10.c: Fix testcase on rv64.

From-SVN: r273968

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/riscv/attribute-10.c

index d878013c43225dc5f33cd4a78e6c53e2f69a2532..e54fa5760bd3e70adbfbb9b1df0927a33f89cf77 100644 (file)
@@ -1,3 +1,7 @@
+2019-08-01  Kito Cheng  <kito.cheng@sifive.com>
+
+       * gcc.target/riscv/attribute-10.c: Fix testcase on rv64.
+
 2019-07-31  Paolo Carlini  <paolo.carlini@oracle.com>
 
        * g++.dg/diagnostic/delete1.C: New.
index dd817879a6752f5885425494be1b1b33259897c1..a874a6234dce343466db3d568e221d4b237fe97d 100644 (file)
@@ -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()
 {
 }