This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PING - Sort SH / H8300 ISR tests
- From: Oleg Endo <oleg dot endo at t-online dot de>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Cc: law <law at redhat dot com>, kazu at codesourcery dot com, kkojima <kkojima at gcc dot gnu dot org>, Mike Stump <mikestump at comcast dot net>
- Date: Mon, 10 Jun 2013 23:36:40 +0200
- Subject: PING - Sort SH / H8300 ISR tests
- References: <1369065992 dot 2248 dot 32 dot camel at yam-132-YW-E178-FTW>
Hello,
Any comments on that one?
Original message containing the attachment is here:
http://gcc.gnu.org/ml/gcc-patches/2013-05/msg01086.html
On Mon, 2013-05-20 at 18:06 +0200, Oleg Endo wrote:
> Hi,
>
> I've noticed that testsuite/gcc.dg has some ISR related test cases that
> probably should have went to testsuite/gcc.target. The tests in
> question were mainly for SH, with two of them being used also for
> H8/300.
>
> Attached patch is supposed to fix that, also fixing some formatting
> issues and target checking for some of the SH tests.
>
> Unfortunately there's no H8/300 target test collection, so I took the
> liberty of adding one.
>
> Tested briefly with
> make check-gcc RUNTESTFLAGS="sh.exp --target_board=sh-sim
> \{-m2/-ml,-m2/-mb,-m2a/-mb,-m4/-ml,-m4/-mb,-m4a/-ml,-m4a/-mb}"
>
> OK?
>
> Cheers,
> Oleg
>
> testsuite/ChangeLog:
>
> * gcc.target/h8300/h8300.exp: New.
> * gcc.dg/pragma-isr.c: Move to ...
> * gcc.target/sh/torture/pragma-isr.c: ... here ...
> * gcc.target/h8300/pragma-isr.c: ... and here.
> * gcc.dg/pragma-isr2.c: Move to ...
> * gcc.target/sh/torture/pragma-isr2.c: ... here ...
> * gcc.target/h8300/pragma-isr2.c: ... and here.
> * gcc.dg/pragma-isr-trapa.c: Move to ...
> * gcc.target/sh/pragma-isr-trapa.c: ... here.
> * gcc.dg/pragma-isr-trapa2.c: Move to ...
> * gcc.target/sh/pragma-isr-trapa2.c: ... here.
> * gcc.dg/pragma-isr-trap_exit.c: Move to ...
> * gcc.target/sh/pragma-isr-trap-exit.c: ... here.
> * gcc.dg/pragma-isr-nosave_low_regs.c: Move to ...
> * gcc.target/sh/pragma-isr-nosave_low_regs.c: ... here.
> * gcc.dg/attr-isr-nosave_low_regs.c: Move to ...
> * gcc.target/sh/attr-isr-nosave_low_regs.c: ... here.
> * gcc.dg/attr-isr-trap_exit.c: Move to ...
> * gcc.target/sh/attr-isr-trap_exit.c: ... here.
> * gcc.dg/attr-isr-trapa.c: Move to ...
> * gcc.target/sh/attr-isr-trapa.c: ... here.