diff options
Diffstat (limited to 'meta-microblaze/recipes-devtools/gcc/gcc-13/0002-Quick-fail-g-.dg-opt-memcpy1.C-This-particular-testc.patch')
| -rw-r--r-- | meta-microblaze/recipes-devtools/gcc/gcc-13/0002-Quick-fail-g-.dg-opt-memcpy1.C-This-particular-testc.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-microblaze/recipes-devtools/gcc/gcc-13/0002-Quick-fail-g-.dg-opt-memcpy1.C-This-particular-testc.patch b/meta-microblaze/recipes-devtools/gcc/gcc-13/0002-Quick-fail-g-.dg-opt-memcpy1.C-This-particular-testc.patch new file mode 100644 index 00000000..94970e7b --- /dev/null +++ b/meta-microblaze/recipes-devtools/gcc/gcc-13/0002-Quick-fail-g-.dg-opt-memcpy1.C-This-particular-testc.patch | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | From 4a2d958fe0d54c78b7a131b9cde1c74165533aaf 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] Quick fail g++.dg/opt/memcpy1.C This particular | ||
| 5 | testcase fails with a timeout. Instead, fail it at compile-time for | ||
| 6 | microblaze. This speeds up the testsuite without removing it from the FAIL | ||
| 7 | 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 3862756083d..db9f990f781 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.34.1 | ||
| 31 | |||
