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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-05-24 
11:53:33 UTC ---
Author: jakub
Date: Thu May 24 11:53:29 2012
New Revision: 187828

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187828
Log:
    PR tree-optimization/53465
    * tree-vrp.c (extract_range_from_cond_expr): First copy_value_range
    vr0 into *vr, then vrp_meet that.
    (vrp_meet): If one vr type is VR_UNDEFINED, ensure the result doesn't
    have any equivalences.
    (vrp_visit_phi_node): Call copy_value_range instead of vrp_meet the
    first time.

    * gcc.c-torture/execute/pr53465.c: New test.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/gcc.c-torture/execute/pr53465.c
Modified:
    branches/gcc-4_7-branch/gcc/ChangeLog
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_7-branch/gcc/tree-vrp.c

Reply via email to