diff options
author | Jeff Law <law@redhat.com> | 2020-12-27 11:42:40 -0700 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 2020-12-27 11:43:36 -0700 |
commit | bbd5868bb4e408b450c65caef387b7c72a8a7f6b (patch) | |
tree | bd17e50e8b113058d8c23993ffaf7dff760cd4ee | |
parent | c4a678981572c12d158709ace0d3f23dd04cf217 (diff) | |
download | gcc-bbd5868bb4e408b450c65caef387b7c72a8a7f6b.zip gcc-bbd5868bb4e408b450c65caef387b7c72a8a7f6b.tar.gz gcc-bbd5868bb4e408b450c65caef387b7c72a8a7f6b.tar.bz2 |
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.
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/asm-2.c | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/asm-3.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/asm-2.c b/gcc/testsuite/gcc.dg/tree-ssa/asm-2.c index 00c3079..8f747b7 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 9e49303..7808634 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); |