LGTM.

Kito Cheng <k...@andestech.com> 於 2019年3月26日 週二 下午1:29寫道:

> From: Kito Cheng <kito.ch...@gmail.com>
>
> Chung-Ju Wu  <jasonw...@gmail.com>
> Shiva Chen  <shiva0...@gmail.com>
>
> ChangeLog:
>
> gcc/testsuite/
>         * gcc.c-torture/execute/20010122-1.c: Add -malways-save-lp for
>         nds32.
>         * gcc.c-torture/execute/pr60822.c: Add -mcmodel=large for nds32.
>         * gcc.c-torture/execute/pr79286.c: Ditto.
>         * gcc.dg/graphite/interchange-15.c: Ditto.
>         * gcc.dg/graphite/interchange-3.c: Ditto.
>         * gcc.dg/graphite/interchange-7.c: Ditto.
>         * gcc.dg/graphite/interchange-9.c: Ditto.
>         * gcc.dg/graphite/interchange-mvt.c: Ditto.
>         * gcc.dg/graphite/uns-interchange-15.c: Ditto.
>         * gcc.dg/graphite/uns-interchange-9.c: Ditto.
>         * gcc.dg/graphite/uns-interchange-mvt.c: Ditto.
>         * gcc.dg/lower-subreg-1.c: Skip nds32.
>         * gcc.dg/stack-usage-1.c: Add -fno-omit-frame-pointer for nds32.
> ---
>  gcc/testsuite/gcc.c-torture/execute/20010122-1.c    | 1 +
>  gcc/testsuite/gcc.c-torture/execute/pr60822.c       | 1 +
>  gcc/testsuite/gcc.c-torture/execute/pr79286.c       | 1 +
>  gcc/testsuite/gcc.dg/graphite/interchange-15.c      | 1 +
>  gcc/testsuite/gcc.dg/graphite/interchange-3.c       | 1 +
>  gcc/testsuite/gcc.dg/graphite/interchange-7.c       | 1 +
>  gcc/testsuite/gcc.dg/graphite/interchange-9.c       | 1 +
>  gcc/testsuite/gcc.dg/graphite/interchange-mvt.c     | 1 +
>  gcc/testsuite/gcc.dg/graphite/uns-interchange-15.c  | 1 +
>  gcc/testsuite/gcc.dg/graphite/uns-interchange-9.c   | 1 +
>  gcc/testsuite/gcc.dg/graphite/uns-interchange-mvt.c | 1 +
>  gcc/testsuite/gcc.dg/lower-subreg-1.c               | 2 +-
>  gcc/testsuite/gcc.dg/stack-usage-1.c                | 1 +
>  13 files changed, 13 insertions(+), 1 deletion(-)
>
> diff --git a/gcc/testsuite/gcc.c-torture/execute/20010122-1.c
> b/gcc/testsuite/gcc.c-torture/execute/20010122-1.c
> index 4eeb8c7..6cd02bc 100644
> --- a/gcc/testsuite/gcc.c-torture/execute/20010122-1.c
> +++ b/gcc/testsuite/gcc.c-torture/execute/20010122-1.c
> @@ -1,4 +1,5 @@
>  /* { dg-skip-if "requires frame pointers" { *-*-* }
> "-fomit-frame-pointer" "" } */
> +/* { dg-additional-options "-malways-save-lp" { target nds32*-*-* } } */
>  /* { dg-require-effective-target return_address } */
>
>  extern void exit (int);
> diff --git a/gcc/testsuite/gcc.c-torture/execute/pr60822.c
> b/gcc/testsuite/gcc.c-torture/execute/pr60822.c
> index dcd2447..f658827 100644
> --- a/gcc/testsuite/gcc.c-torture/execute/pr60822.c
> +++ b/gcc/testsuite/gcc.c-torture/execute/pr60822.c
> @@ -1,4 +1,5 @@
>  /* { dg-require-effective-target int32plus } */
> +/* { dg-options "-mcmodel=large" { target nds32*-*-* } } */
>  struct X {
>      char fill0[800000];
>      int a;
> diff --git a/gcc/testsuite/gcc.c-torture/execute/pr79286.c
> b/gcc/testsuite/gcc.c-torture/execute/pr79286.c
> index e6d0e93..fef026d 100644
> --- a/gcc/testsuite/gcc.c-torture/execute/pr79286.c
> +++ b/gcc/testsuite/gcc.c-torture/execute/pr79286.c
> @@ -1,3 +1,4 @@
> +/* { dg-options "-mcmodel=large" { target nds32*-*-* } } */
>  int a = 0, c = 0;
>  static int d[][8] = {};
>
> diff --git a/gcc/testsuite/gcc.dg/graphite/interchange-15.c
> b/gcc/testsuite/gcc.dg/graphite/interchange-15.c
> index 7410f29..85d3645 100644
> --- a/gcc/testsuite/gcc.dg/graphite/interchange-15.c
> +++ b/gcc/testsuite/gcc.dg/graphite/interchange-15.c
> @@ -1,4 +1,5 @@
>  /* { dg-require-effective-target size32plus } */
> +/* { dg-options "-mcmodel=large" { target nds32*-*-* } } */
>
>  #define DEBUG 0
>  #if DEBUG
> diff --git a/gcc/testsuite/gcc.dg/graphite/interchange-3.c
> b/gcc/testsuite/gcc.dg/graphite/interchange-3.c
> index 4aec824..7e60385 100644
> --- a/gcc/testsuite/gcc.dg/graphite/interchange-3.c
> +++ b/gcc/testsuite/gcc.dg/graphite/interchange-3.c
> @@ -1,4 +1,5 @@
>  /* { dg-require-effective-target size32plus } */
> +/* { dg-options "-mcmodel=large" { target nds32*-*-* } } */
>
>  /* Formerly known as ltrans-3.c */
>
> diff --git a/gcc/testsuite/gcc.dg/graphite/interchange-7.c
> b/gcc/testsuite/gcc.dg/graphite/interchange-7.c
> index 50f7dd7..5be43a5 100644
> --- a/gcc/testsuite/gcc.dg/graphite/interchange-7.c
> +++ b/gcc/testsuite/gcc.dg/graphite/interchange-7.c
> @@ -1,5 +1,6 @@
>  /* { dg-require-effective-target size32plus } */
>  /* { dg-require-stack-size "8*111*1111" } */
> +/* { dg-options "-mcmodel=large" { target nds32*-*-* } } */
>
>  /* Formerly known as ltrans-8.c */
>
> diff --git a/gcc/testsuite/gcc.dg/graphite/interchange-9.c
> b/gcc/testsuite/gcc.dg/graphite/interchange-9.c
> index 88a3578..dd3bc9f 100644
> --- a/gcc/testsuite/gcc.dg/graphite/interchange-9.c
> +++ b/gcc/testsuite/gcc.dg/graphite/interchange-9.c
> @@ -1,4 +1,5 @@
>  /* { dg-require-effective-target size32plus } */
> +/* { dg-options "-mcmodel=large" { target nds32*-*-* } } */
>
>  #define DEBUG 0
>  #if DEBUG
> diff --git a/gcc/testsuite/gcc.dg/graphite/interchange-mvt.c
> b/gcc/testsuite/gcc.dg/graphite/interchange-mvt.c
> index c6543ec..c304a30 100644
> --- a/gcc/testsuite/gcc.dg/graphite/interchange-mvt.c
> +++ b/gcc/testsuite/gcc.dg/graphite/interchange-mvt.c
> @@ -1,4 +1,5 @@
>  /* { dg-require-effective-target size32plus } */
> +/* { dg-options "-mcmodel=large" { target nds32*-*-* } } */
>
>  #define DEBUG 0
>  #if DEBUG
> diff --git a/gcc/testsuite/gcc.dg/graphite/uns-interchange-15.c
> b/gcc/testsuite/gcc.dg/graphite/uns-interchange-15.c
> index fe2669f..28cdee6 100644
> --- a/gcc/testsuite/gcc.dg/graphite/uns-interchange-15.c
> +++ b/gcc/testsuite/gcc.dg/graphite/uns-interchange-15.c
> @@ -1,4 +1,5 @@
>  /* { dg-require-effective-target size32plus } */
> +/* { dg-options "-mcmodel=large" { target nds32*-*-* } } */
>
>  #define DEBUG 0
>  #if DEBUG
> diff --git a/gcc/testsuite/gcc.dg/graphite/uns-interchange-9.c
> b/gcc/testsuite/gcc.dg/graphite/uns-interchange-9.c
> index cc108c2..47bb37d 100644
> --- a/gcc/testsuite/gcc.dg/graphite/uns-interchange-9.c
> +++ b/gcc/testsuite/gcc.dg/graphite/uns-interchange-9.c
> @@ -1,4 +1,5 @@
>  /* { dg-require-effective-target size32plus } */
> +/* { dg-options "-mcmodel=large" { target nds32*-*-* } } */
>
>  #define DEBUG 0
>  #if DEBUG
> diff --git a/gcc/testsuite/gcc.dg/graphite/uns-interchange-mvt.c
> b/gcc/testsuite/gcc.dg/graphite/uns-interchange-mvt.c
> index 211c9ab..df47557 100644
> --- a/gcc/testsuite/gcc.dg/graphite/uns-interchange-mvt.c
> +++ b/gcc/testsuite/gcc.dg/graphite/uns-interchange-mvt.c
> @@ -1,4 +1,5 @@
>  /* { dg-require-effective-target size32plus } */
> +/* { dg-options "-mcmodel=large" { target nds32*-*-* } } */
>
>  #define DEBUG 0
>  #if DEBUG
> diff --git a/gcc/testsuite/gcc.dg/lower-subreg-1.c
> b/gcc/testsuite/gcc.dg/lower-subreg-1.c
> index 6bae730..4a5099b 100644
> --- a/gcc/testsuite/gcc.dg/lower-subreg-1.c
> +++ b/gcc/testsuite/gcc.dg/lower-subreg-1.c
> @@ -1,4 +1,4 @@
> -/* { dg-do compile { target { ! { mips64 || { aarch64*-*-* arm*-*-*
> ia64-*-* sparc*-*-* spu-*-* tilegx-*-* } } } } } */
> +/* { dg-do compile { target { ! { mips64 || { aarch64*-*-* arm*-*-*
> ia64-*-* nds32*-*-* sparc*-*-* spu-*-* tilegx-*-* } } } } } */
>  /* { dg-options "-O -fdump-rtl-subreg1" } */
>  /* { dg-additional-options "-mno-stv" { target ia32 } } */
>  /* { dg-skip-if "" { { i?86-*-* x86_64-*-* } && x32 } } */
> diff --git a/gcc/testsuite/gcc.dg/stack-usage-1.c
> b/gcc/testsuite/gcc.dg/stack-usage-1.c
> index e644014..926f610 100644
> --- a/gcc/testsuite/gcc.dg/stack-usage-1.c
> +++ b/gcc/testsuite/gcc.dg/stack-usage-1.c
> @@ -2,6 +2,7 @@
>  /* { dg-options "-fstack-usage" } */
>  /* nvptx doesn't have a reg allocator, and hence no stack usage data.  */
>  /* { dg-skip-if "" { nvptx-*-* } } */
> +/* { dg-options "-fstack-usage -fno-omit-frame-pointer" { target {
> nds32*-*-* } } } */
>
>  /* This is aimed at testing basic support for -fstack-usage in the
> back-ends.
>     See the SPARC back-end for example (grep flag_stack_usage_info in
> sparc.c).
> --
> 1.8.3.1
>
>

Reply via email to