Hi,

The gcc.dg/lto/pr60449_0.c is failing for mips*-*-elf* targets because they do
not support gettimeofday, which is used in this test case.

This patch changes the test so that it is skipped for mips*-*-elf* targets.

Regards,
Toma

gcc/testsuite/

        * gcc.dg/lto/pr60449_0.c (dg-skip-if): Skip for mips*-*-elf*.

diff --git a/gcc/testsuite/gcc.dg/lto/pr60449_0.c 
b/gcc/testsuite/gcc.dg/lto/pr60449_0.c
index 5b878a6..6f3eccb 100644
--- a/gcc/testsuite/gcc.dg/lto/pr60449_0.c
+++ b/gcc/testsuite/gcc.dg/lto/pr60449_0.c
@@ -1,5 +1,5 @@
 /* { dg-lto-do link } */
-/* { dg-skip-if "Needs gettimeofday" { "avr-*-*" } } */
+/* { dg-skip-if "Needs gettimeofday" { "avr-*-*" mips*-*-elf* } } */
 
 extern int printf (const char *__restrict __format, ...);
 typedef long int __time_t;

Reply via email to