[PATCH, testsuite] Fix some testcases for nds32 target and provide new nds32 target specific tests

Chung-Ju Wu jasonwucj@gmail.com
Thu Nov 14 14:37:00 GMT 2013


Hi, Mike,

Recently the new nds32 port is approved and I committed it into trunk.
According to gcc testsuite report on:
  http://gcc.gnu.org/ml/gcc-testresults/2013-11/msg00751.html
  http://gcc.gnu.org/ml/gcc-testresults/2013-11/msg00752.html

I would like to modify some testcases for nds32 target.
Also I have some nds32 target specific tests which is
suggested by Joseph earlier:
  http://gcc.gnu.org/ml/gcc-patches/2013-07/msg00396.html

The patch is attached and a ChangeLog is as below:

gcc/testsuite/
2013-11-14  Chung-Ju Wu  <jasonwucj@gmail.com>

        * g++.dg/other/PR23205.C: Skip for nds32*-*-*.
        * g++.dg/other/pr23205-2.C: Skip for nds32*-*-*.
        * gcc.dg/20020312-2.c: Add __nds32__ case.
        * gcc.dg/builtin-apply2.c: Skip for nds32*-*-*.
        * gcc.dg/lower-subreg-1.c: Skip for nds32*-*-*.
        * gcc.dg/sibcall-3.c: Expected fail for nds32*-*-*.
        * gcc.dg/sibcall-4.c: Expected fail for nds32*-*-*.
        * gcc.dg/stack-usage-1.c (SIZE): Define case for __nds32__.
        * gcc.dg/torture/pr37868.c: Skip for nds32*-*-*.
        * gcc.dg/torture/stackalign/builtin-apply-2.c: Skip for nds32*-*-*.
        * gcc.dg/tree-ssa/20040204-1.c: Expected fail for nds32*-*-*.
        * gcc.dg/tree-ssa/forwprop-28.c: Skip for nds32*-*-*.
        * gcc.dg/tree-ssa/pr42585.c: Skip for nds32*-*-*.
        * gcc.dg/tree-ssa/sra-12.c: Skip for nds32*-*-*.
        * gcc.target/nds32: New nds32 specific directory and testcases.
        * lib/target-supports.exp (check_profiling_available): Check for
        nds32*-*-elf.


Is this patch OK for the trunk?


Best regards,
jasonwucj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nds32-testsuite.patch
Type: application/octet-stream
Size: 15985 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20131114/3a85e89d/attachment.obj>


More information about the Gcc-patches mailing list