This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [PATCH, testsuite] MIPS: Add isa>=2 option to interrupt_handler-bug-1.c.
- From: "Moore, Catherine" <Catherine_Moore at mentor dot com>
- To: Toma Tabacu <Toma dot Tabacu at imgtec dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: Matthew Fortune <Matthew dot Fortune at imgtec dot com>, "Moore, Catherine" <Catherine_Moore at mentor dot com>
- Date: Mon, 21 Nov 2016 21:28:50 +0000
- Subject: RE: [PATCH, testsuite] MIPS: Add isa>=2 option to interrupt_handler-bug-1.c.
- Authentication-results: sourceware.org; auth=none
- References: <A614194ED15B4844BC4C9FB7F21FCD92225342E7@HHMAIL01.hh.imgtec.org>
> -----Original Message-----
> From: Toma Tabacu [mailto:Toma.Tabacu@imgtec.com]
> Sent: Monday, November 21, 2016 8:53 AM
> To: gcc-patches@gcc.gnu.org
> Cc: Matthew Fortune <Matthew.Fortune@imgtec.com>; Moore,
> Catherine <Catherine_Moore@mentor.com>
> Subject: [PATCH, testsuite] MIPS: Add isa>=2 option to
> interrupt_handler-bug-1.c.
>
> Hi,
>
> Currently, the interrupt_handler-bug-1.c test will fail on pre-R2 targets
> because the "interrupt" function attribute requires at least an R2 target
> and
> the test does not enforce this requirement.
>
> This patch fixes this by adding the isa_rev>=2 option to the test's dg-
> options.
>
> Tested with mips-mti-elf.
>
> Regards,
> Toma Tabacu
>
> gcc/testsuite/ChangeLog:
>
> 2016-11-21 Toma Tabacu <toma.tabacu@imgtec.com>
>
> * gcc.target/mips/interrupt_handler-bug-1.c (dg-options): Add
> isa_rev>=2.
>
Yes, this is okay to commit.