From: Alan Lawrence Date: Wed, 4 Feb 2015 12:23:08 +0000 (+0000) Subject: Minor corrections to gcc.dg/combine_ashiftrt_[12].c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=251f0b62d6d62cb5dba2afb8289b3629b823ab2e;p=gcc.git Minor corrections to gcc.dg/combine_ashiftrt_[12].c 2015-02-04 Alan Lawrence Rainer Orth * gcc.dg/combine_ashiftrt_1.c: Sort, complete and explain target list, allow for multilibed targets. * gcc.dg/combine_ashiftrt_2.c: Likewise. Co-Authored-By: Rainer Orth From-SVN: r220397 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ab7c9ebf4b5..fd3562648cf 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2015-02-04 Alan Lawrence + Rainer Orth + + * gcc.dg/combine_ashiftrt_1.c: Sort, complete and explain target + list, allow for multilibed targets. + * gcc.dg/combine_ashiftrt_2.c: Likewise. + 2015-02-04 Segher Boessenkool * gcc.dg/builtins-58.c: Check for pow at the end of words only. diff --git a/gcc/testsuite/gcc.dg/combine_ashiftrt_1.c b/gcc/testsuite/gcc.dg/combine_ashiftrt_1.c index c2ba918424d..162015c964c 100644 --- a/gcc/testsuite/gcc.dg/combine_ashiftrt_1.c +++ b/gcc/testsuite/gcc.dg/combine_ashiftrt_1.c @@ -1,4 +1,6 @@ -/* { dg-do compile {target sparc64*-*-* aarch64*-*-* i?86-*-* x86_64-*-* powerpc64*-*-*} } */ +/* Target architectures which have been found to produce the expected RTL + (neg:DI (ge:DI ...)) when compiling for LP64. */ +/* { dg-do compile { target aarch64*-*-* arm*-*-* i?86-*-* ia64-*-* powerpc*-*-* sparc*-*-* x86_64-*-* } } */ /* { dg-require-effective-target lp64 } */ /* { dg-options "-O2 -fdump-rtl-combine-all" } */ diff --git a/gcc/testsuite/gcc.dg/combine_ashiftrt_2.c b/gcc/testsuite/gcc.dg/combine_ashiftrt_2.c index fee5b84d24e..7d6721dd56a 100644 --- a/gcc/testsuite/gcc.dg/combine_ashiftrt_2.c +++ b/gcc/testsuite/gcc.dg/combine_ashiftrt_2.c @@ -1,4 +1,6 @@ -/* { dg-do compile {target arm*-*-* i?86-*-* x86_64-*-* powerpc-*-* sparc-*-*} } */ +/* Target architectures where RTL has been found to produce the expected + (neg:SI (ge:SI ...)) when compiling for ILP32. */ +/* { dg-do compile { target aarch64*-*-* arm*-*-* i?86-*-* microblaze-*-* mips*-*-* powerpc*-*-* sparc*-*-* x86_64-*-* } } */ /* { dg-require-effective-target ilp32 } */ /* { dg-options "-O2 -fdump-rtl-combine-all" } */