On Tue, Sep 6, 2011 at 3:29 AM, Jiangning Liu <jiangning....@arm.com> wrote:
> PING...

Ok.

>> -----Original Message-----
>> From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches-
>> ow...@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 <rguent...@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....@arm.com>
>>
>>        PR tree-optimization/46021
>>        * gcc.dg/tree-ssa/20040204-1.c: Don't XFAIL on arm*-*-*.
>>
>> Thanks,
>> -Jiangning
>>
>>
>>
>
>
>
>

Reply via email to