Simulator testing for sh and sh64

Oleg Endo
Sat Feb 25 02:45:00 GMT 2012


On Fri, 2012-02-24 at 22:23 +0100, Thomas Schwinge wrote:

> Confirming that this patch makes GCC trunk buildable again.
> Comparing to the 4.6 testsuite results, with trunk there are about 700
> new execution failures in g++, gcc, libstdc++, about 100 ``compilation
> failed to produce executable'' in g++, there is ``FAIL:
> scan-assembler mov @\\(4,r.\\),r.; mov
> @r.,r.''

The test case should be actually skipped, shouldn't it?
At least it tries to do..
/* { dg-skip-if "" { "sh*-*-*" } { "-mb" && "-m5*"} { "" } }  */

I guess this could fail to skip depending on the compiler's default
configuration.  E.g. if it is configured to emit big endian by default,
-mb will not necessarily be passed and the test would be executed,
although it is not supposed to be.

> ``FAIL: scan-assembler-times neg
> 2'', 

This test case should be disabled for SH64 if the abs:SI insns are
disabled in, otherwise it will most likely fail.
Adding the following line to pr49468-si.c 

/* { dg-skip-if "" { "sh*-*-*" } { "-m5*"} { "" } }  */

should skip it on SH64 (if an -m5* arg is actually passed).


More information about the Gcc-patches mailing list