Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 1 | From 4b675eeabceea22ec51abfa7c37e11a631e58659 Mon Sep 17 00:00:00 2001 |
| 2 | From: Mahesh Bodapati <mbodapat@xilinx.com> |
| 3 | Date: Wed, 11 Jan 2017 14:31:10 +0530 |
| 4 | Subject: [PATCH 02/54] [LOCAL]: Quick fail g++.dg/opt/memcpy1.C This |
| 5 | particular testcase fails with a timeout. Instead, fail it at compile-time |
| 6 | for microblaze. This speeds up the testsuite without removing it from the |
| 7 | FAIL reports. |
| 8 | |
| 9 | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> |
| 10 | --- |
| 11 | gcc/testsuite/g++.dg/opt/memcpy1.C | 4 ++++ |
| 12 | 1 file changed, 4 insertions(+) |
| 13 | |
| 14 | diff --git a/gcc/testsuite/g++.dg/opt/memcpy1.C b/gcc/testsuite/g++.dg/opt/memcpy1.C |
| 15 | index 66411cd..d951fee 100644 |
| 16 | --- a/gcc/testsuite/g++.dg/opt/memcpy1.C |
| 17 | +++ b/gcc/testsuite/g++.dg/opt/memcpy1.C |
| 18 | @@ -4,6 +4,10 @@ |
| 19 | // { dg-do compile } |
| 20 | // { dg-options "-O" } |
| 21 | |
| 22 | +#if defined (__MICROBLAZE__) |
| 23 | +#error "too slow on mb. Investigate." |
| 24 | +#endif |
| 25 | + |
| 26 | typedef unsigned char uint8_t; |
| 27 | typedef uint8_t uint8; |
| 28 | __extension__ typedef __SIZE_TYPE__ size_t; |
| 29 | -- |
| 30 | 2.7.4 |
| 31 | |