[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug tree-optimization/38359] [4.3 Regression] ICE in set_lattice_value, at tree-ssa-ccp.c:466




------- Comment #10 from rguenth at gcc dot gnu dot org  2009-01-24 23:27 -------
Subject: Bug 38359

Author: rguenth
Date: Sat Jan 24 23:26:56 2009
New Revision: 143656

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143656
Log:
2009-01-25  Richard Guenther  <rguenther@suse.de>

        Backport from mainline:
        2008-12-02  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/38359
        * fold-const.c (fold_binary): Fold -1 >> x to -1 only for
        non-negative x.

        * gcc.c-torture/compile/pr38359.c: New testcase.
        * gcc.c-torture/execute/shiftopt-1.c: Adjust.

Added:
    branches/gcc-4_3-branch/gcc/testsuite/gcc.c-torture/compile/pr38359.c
      - copied unchanged from r142357,
trunk/gcc/testsuite/gcc.c-torture/compile/pr38359.c
Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/fold-const.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_3-branch/gcc/testsuite/gcc.c-torture/execute/shiftopt-1.c


-- 


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

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.


Reply to: