http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52969

--- Comment #8 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-04-13 
12:22:25 UTC ---
Author: rguenth
Date: Fri Apr 13 12:22:16 2012
New Revision: 186416

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186416
Log:
2012-04-13  Richard Guenther  <rguent...@suse.de>

    PR tree-optimization/52969
    * tree-if-conv.c (predicate_mem_writes): Properly gimplify
    the condition for the COND_EXPR and handle predicate negation
    by swapping the COND_EXPR arms.

    * gcc.dg/torture/pr52969.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr52969.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-if-conv.c

Reply via email to