summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/code-readable-4.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/mips/code-readable-4.c')
-rw-r--r--gcc/testsuite/gcc.target/mips/code-readable-4.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/mips/code-readable-4.c b/gcc/testsuite/gcc.target/mips/code-readable-4.c
index ae8ff8a1a66..4db89f87466 100644
--- a/gcc/testsuite/gcc.target/mips/code-readable-4.c
+++ b/gcc/testsuite/gcc.target/mips/code-readable-4.c
@@ -8,6 +8,10 @@ volatile int x4;
volatile int x5;
volatile int x6;
volatile int x7;
+volatile int x8;
+volatile int x9;
+volatile int x10;
+volatile int x11;
MIPS16 int
foo (int i, volatile *x)
@@ -21,6 +25,10 @@ foo (int i, volatile *x)
case 5: return x5 + x[4];
case 6: return x6 + x[5];
case 7: return x7 + x[6];
+ case 8: return x8 + x[7];
+ case 9: return x9 + x[8];
+ case 10: return x10 + x[9];
+ case 11: return x11 + x[10];
default: return 0;
}
}