From 0f0b26139fe28afea60293528b05495b54e0ba26 Mon Sep 17 00:00:00 2001 From: Andy Hutchinson Date: Mon, 30 Jun 2008 22:38:34 +0000 Subject: [PATCH] re PR middle-end/36598 (Failed optimisation of return of struct argment in memcpy-1.c) PR target/36598 * gcc.dg/memcpy-1.c: Mark test XFAIL for avr target. From-SVN: r137298 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/memcpy-1.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3a2c9a1b1e2..07999bd2384 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-06-30 Andy Hutchinson + + PR target/36598 + * gcc.dg/memcpy-1.c: Mark test XFAIL for avr target. + 2008-06-30 Uros Bizjak * gcc.target/i386/movti.c: New test. diff --git a/gcc/testsuite/gcc.dg/memcpy-1.c b/gcc/testsuite/gcc.dg/memcpy-1.c index 7098f83955d..2b11098b286 100644 --- a/gcc/testsuite/gcc.dg/memcpy-1.c +++ b/gcc/testsuite/gcc.dg/memcpy-1.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-optimized" } */ -/* { dg-final { scan-tree-dump-times "nasty_local" 0 "optimized" } } */ +/* PR36598 AVR fail maybe due to cost metrics */ +/* { dg-final { scan-tree-dump-times "nasty_local" 0 "optimized" { xfail { "avr-*-*" } } } } */ /* { dg-final { cleanup-tree-dump "optimized" } } */ struct a {int a,b,c;} a; int test(struct a a) -- 2.30.2