Skip gcc.dg/lto/pr60449_0.c for avr
authorSenthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Mon, 31 Oct 2016 14:06:04 +0000 (14:06 +0000)
committerSenthil Kumar Selvaraj <saaadhu@gcc.gnu.org>
Mon, 31 Oct 2016 14:06:04 +0000 (14:06 +0000)
The testcase requires gettimeofday to be available for the target. The avr
target doesn't have an implementation, so the test always fails with a
linker error.

gcc/testsuite

2016-10-31  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>

* gcc.dg/lto/pr60449_0.c: Skip for avr.

From-SVN: r241701

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/pr60449_0.c

index 5e773fb47a47e9496fa4b74bf58c2d3d0d2b4261..63b2a47ea882deb702c7626c5c4ffb9ab6076064 100644 (file)
@@ -1,3 +1,7 @@
+2016-10-31  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
+
+       * gcc.dg/lto/pr60449_0.c: Skip for avr.
+
 2016-10-30  Le-Chun Wu  <lcwu@google.com>
            Mark Wielaard  <mjw@redhat.com>
 
index a430830cbed8235c07c43001be41230a2ac1c581..5b878a640dbac168b6b3268354879dda7075c77b 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-lto-do link } */
+/* { dg-skip-if "Needs gettimeofday" { "avr-*-*" } } */
 
 extern int printf (const char *__restrict __format, ...);
 typedef long int __time_t;