Hi Catherine,
> Hi Robert,
> The patch is OK, but will you please name the test something other than the
> date?
OK. I'll change it to interrupt_handler-5.c, add a comment and commit after
approval for the new interrupt handler options.
Regards,
Robert
diff --git a/gcc/testsuite/gcc.target/mips/interrupt_handler-5.c
b/gcc/testsuite/gcc.target/mips/interrupt_handler-5.c
new file mode 100644
index 0000000..6419479
--- /dev/null
+++ b/gcc/testsuite/gcc.target/mips/interrupt_handler-5.c
@@ -0,0 +1,8 @@
+/* Test the interrupt handler with an accumulator. */
+/* { dg-do assemble } */
+/* { dg-options "-mips64r2" } */
+_Accum a;
+__attribute__((interrupt))
+void foo () {
+ a = a*a;
+}
--
2.2.2