Message ID | B5E67142681B53468FAF6B7C31356562441AB31D@hhmail02.hh.imgtec.org |
---|---|
State | New |
Headers | show |
Robert Suchanek <Robert.Suchanek@imgtec.com> writes: > > 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. I believe this change is independent of the new attributes so feel free to commit it before. Thanks, Matthew
Hi, > > OK. I'll change it to interrupt_handler-5.c, add a comment and commit after > > approval for the new interrupt handler options. > > I believe this change is independent of the new attributes so feel free to > commit > it before. I was to going to commit it before but by the time I did that, I got approval for all patches and committed in order. Committed as r225820. 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; +}