diff mbox

[testsuite] Skip gcc.dg/lto/pr60449_0.c for avr

Message ID 87twbs388r.fsf@atmel.com
State New
Headers show

Commit Message

Senthil Kumar Selvaraj Oct. 31, 2016, 2:26 p.m. UTC
Hi,

  gcc.dg/lto/pr60449_0.c fails to link for the avr target because it
  doesn't have an implementation for gettimeofday. This patch therefore
  skips the test for avr.

  Committed to trunk as obvious.

Regards
Senthil


gcc/testsuite/ChangeLog

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

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

Patch

Index: gcc/testsuite/gcc.dg/lto/pr60449_0.c
===================================================================
--- gcc/testsuite/gcc.dg/lto/pr60449_0.c	(revision 241697)
+++ gcc/testsuite/gcc.dg/lto/pr60449_0.c	(working copy)
@@ -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;