------- Comment #4 from jakub at gcc dot gnu dot org  2010-09-20 22:37 -------
Subject: Bug 45695

Author: jakub
Date: Mon Sep 20 22:37:32 2010
New Revision: 164467

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164467
Log:
        PR rtl-optimization/45695
        * combine.c (try_combine): Don't try to swap the two patterns, if the
        chosen order is not possible, just give up.  For HAVE_cc0 targets,
        check if XVECEXP (newpat, 0, 0) doesn't use REGs or MEMs set by insns
        in between i2 and i3.

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

Added:
    branches/gcc-4_5-branch/gcc/testsuite/gcc.c-torture/execute/pr45695.c
Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/combine.c
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


-- 


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

Reply via email to