From: Jeff Law Date: Sun, 27 Dec 2020 18:42:40 +0000 (-0700) Subject: Fix regressions for iq2000-elf after recent changes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bbd5868bb4e408b450c65caef387b7c72a8a7f6b;p=gcc.git 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. --- 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);