This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [PATCH, testsuite, ARM] change XFAIL to pass for ARM on a case testing tree-ssa-dom
- From: "Jiangning Liu" <jiangning dot liu at arm dot com>
- To: "Jiangning Liu" <Jiangning dot Liu at arm dot com>, <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 6 Sep 2011 09:29:10 +0800
- Subject: RE: [PATCH, testsuite, ARM] change XFAIL to pass for ARM on a case testing tree-ssa-dom
- References: <000101cc63d6$5233f630$f69be290$@liu@arm.com>
PING...
> -----Original Message-----
> From: gcc-patches-owner@gcc.gnu.org [mailto:gcc-patches-
> owner@gcc.gnu.org] On Behalf Of Jiangning Liu
> Sent: Friday, August 26, 2011 5:56 PM
> To: gcc-patches@gcc.gnu.org
> Subject: [PATCH, testsuite, ARM] change XFAIL to pass for ARM on a case
> testing tree-ssa-dom
>
> Test case gcc.dg/tree-ssa/20040204-1.c can pass for -O1 after Richard
> Guenther <rguenther@suse.de> fixed something in tree-ssa-dom. The
> "link_error" should be optimized away for ARM targets as well.
>
> The patch is:
>
> diff --git a/gcc/testsuite/gcc.dg/tree-ssa/20040204-1.c
> b/gcc/testsuite/gcc.dg/tree-ssa/20040204-1.c
> index 45e44a1..470b585 100644
> --- a/gcc/testsuite/gcc.dg/tree-ssa/20040204-1.c
> +++ b/gcc/testsuite/gcc.dg/tree-ssa/20040204-1.c
> @@ -33,5 +33,5 @@ void test55 (int x, int y)
> that the && should be emitted (based on BRANCH_COST). Fix this
> by teaching dom to look through && and register all components
> as true. */
> -/* { dg-final { scan-tree-dump-times "link_error" 0 "optimized"
> { xfail { !
> "alpha*-*-* powerpc*-*-* cris-*-* crisv32-*-* hppa*-*-* i?86-*-* mmix-
> *-*
> mips*-*-* m68k*-*-* moxie-*-* sparc*-*-* spu-*-* x86_64-*-*" } } } } */
> +/* { dg-final { scan-tree-dump-times "link_error" 0 "optimized"
> { xfail { !
> "alpha*-*-* arm*-*-* powerpc*-*-* cris-*-* crisv32-*-* hppa*-*-* i?86-
> *-*
> mmix-*-* mips*-*-* m68k*-*-* moxie-*-* sparc*-*-* spu-*-* x86_64-*-
> *" } } }
> } */
> /* { dg-final { cleanup-tree-dump "optimized" } } */
>
> gcc/testsuite/ChangeLog:
>
> 2011-08-26 Jiangning Liu <Jiangning.liu@arm.com>
>
> PR tree-optimization/46021
> * gcc.dg/tree-ssa/20040204-1.c: Don't XFAIL on arm*-*-*.
>
> Thanks,
> -Jiangning
>
>
>