Fix regressions for iq2000-elf after recent changes
authorJeff Law <law@redhat.com>
Sun, 27 Dec 2020 18:42:40 +0000 (11:42 -0700)
committerJeff Law <law@redhat.com>
Sun, 27 Dec 2020 18:43:36 +0000 (11:43 -0700)
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
gcc/testsuite/gcc.dg/tree-ssa/asm-3.c

index 00c3079181db3a8fbd85d274abbf9a7030c6df9e..8f747b7a62176c1730132416716575e59f44f5bc 100644 (file)
@@ -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)
 {
index 9e493030d1297c0b64e9be396d72e23ca65d78c6..7808634f01a246be589f006ffe917278872bf0d3 100644 (file)
@@ -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);