From: Jim Wilson Date: Thu, 12 Jul 2018 20:32:01 +0000 (+0000) Subject: RISC-V: Silence expected Ada testsuite warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac07bbf29aefd11bd0786d954592a424ccf3dfc5;p=gcc.git RISC-V: Silence expected Ada testsuite warning. gcc/testsuite/ * gnat.dg/warn5.adb: Expect warning for riscv*-*-*. From-SVN: r262608 --- 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