From bbd5868bb4e408b450c65caef387b7c72a8a7f6b Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sun, 27 Dec 2020 11:42:40 -0700 Subject: [PATCH] Fix regressions for iq2000-elf after recent changes gcc/testsuite * gcc.dg/tree-ssa/asm-2.c: Use different register for iq2000. * gcc.dg/tree-ssa/asm-3.c: Likewise. --- gcc/testsuite/gcc.dg/tree-ssa/asm-2.c | 4 ++++ gcc/testsuite/gcc.dg/tree-ssa/asm-3.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/gcc/testsuite/gcc.dg/tree-ssa/asm-2.c b/gcc/testsuite/gcc.dg/tree-ssa/asm-2.c index 00c3079181d..8f747b7a621 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/asm-2.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/asm-2.c @@ -7,9 +7,13 @@ #ifdef __moxie__ #define REGISTER "2" #else +#ifdef __iq2000__ +#define REGISTER "3" +#else #define REGISTER "0" #endif #endif +#endif void baz(void) { diff --git a/gcc/testsuite/gcc.dg/tree-ssa/asm-3.c b/gcc/testsuite/gcc.dg/tree-ssa/asm-3.c index 9e493030d12..7808634f01a 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/asm-3.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/asm-3.c @@ -8,9 +8,13 @@ #ifdef __moxie__ #define REGISTER "8" #else +#ifdef __iq2000__ +#define REGISTER "3" +#else #define REGISTER "0" #endif #endif +#endif void foo (int); void bar (int); -- 2.30.2