This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Disable test inapplicable to RISC-V
- From: Palmer Dabbelt <palmer at dabbelt dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Andrew Waterman <andrew at sifive dot com>
- Date: Mon, 20 Mar 2017 09:43:28 -0700 (PDT)
- Subject: Re: [PATCH] Disable test inapplicable to RISC-V
- Authentication-results: sourceware.org; auth=none
On Fri, 17 Mar 2017 15:52:50 PDT (-0700), Palmer Dabbelt wrote:
> From: Andrew Waterman <andrew@sifive.com>
>
> The test is coupled to the branch cost model.
>
> gcc/testsuite/ChangeLog:
>
> * gcc.dg/tree-ssa/ssa-thread-14.c: Adjust target selector.
> ---
> gcc/testsuite/gcc.dg/tree-ssa/ssa-thread-14.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-thread-14.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-thread-14.c
> index aa1323a..f12fb07 100644
> --- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-thread-14.c
> +++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-thread-14.c
> @@ -1,4 +1,4 @@
> -/* { dg-do compile { target { ! { logical_op_short_circuit || { m68k*-*-* mmix*-*-* mep*-*-* bfin*-*-* v850*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-* hppa*-*-* nios2*-*-* } } } } } */
> +/* { dg-do compile { target { ! { logical_op_short_circuit || { m68k*-*-* mmix*-*-* mep*-*-* bfin*-*-* v850*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-* hppa*-*-* nios2*-*-* riscv*-*-* } } } } } */
> /* { dg-additional-options "-O2 -fdump-tree-vrp-details" } */
> /* { dg-additional-options "-mbranch-cost=2" { target i?86-*-* x86_64-*-* } } */
> /* { dg-final { scan-tree-dump-times "Threaded jump" 8 "vrp1" } } */
Committed.