From ac07bbf29aefd11bd0786d954592a424ccf3dfc5 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Thu, 12 Jul 2018 20:32:01 +0000 Subject: [PATCH] RISC-V: Silence expected Ada testsuite warning. gcc/testsuite/ * gnat.dg/warn5.adb: Expect warning for riscv*-*-*. From-SVN: r262608 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gnat.dg/warn5.adb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 48637b74d8a..a5309ec95fc 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2018-07-12 Jim Wilson + + * gnat.dg/warn5.adb: Expect warning for riscv*-*-*. + 2018-07-12 Kito Cheng * gcc.target/riscv/interrupt-conflict-mode.c: New. diff --git a/gcc/testsuite/gnat.dg/warn5.adb b/gcc/testsuite/gnat.dg/warn5.adb index 77e4a66f733..61f76972480 100644 --- a/gcc/testsuite/gnat.dg/warn5.adb +++ b/gcc/testsuite/gnat.dg/warn5.adb @@ -26,7 +26,7 @@ procedure Warn5 is function Pointer (Pos : Natural; List : List_Type) return Pointer_Type is begin - return To_Ptr(List.A(Pos)'Address); -- { dg-warning "source alignment" "" { target alpha*-*-* arm*-*-* hppa*-*-* ia64-*-* mips*-*-* sparc*-*-* } } + return To_Ptr(List.A(Pos)'Address); -- { dg-warning "source alignment" "" { target alpha*-*-* arm*-*-* hppa*-*-* ia64-*-* mips*-*-* riscv*-*-* sparc*-*-* } } end; begin -- 2.30.2