[Bug tree-optimization/47538] [4.6 Regression] GNU Scientific Library miscompiled by gcc 4.6

dnovillo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 2 18:31:00 GMT 2011


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

--- Comment #19 from Diego Novillo <dnovillo at gcc dot gnu.org> 2011-02-02 18:11:57 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:11:45 2011
New Revision: 169721

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169721
Log:
    PR tree-optimization/47538
    * tree-ssa-ccp.c (bit_value_binop_1): For uns computation use
    type instead of r1type, except for comparisons.  For right
    shifts and comparisons punt if there are mismatches in
    sizetype vs. non-sizetype types.

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

Added:
    branches/google/integration/gcc/testsuite/gcc.c-torture/execute/pr47538.c
Modified:
    branches/google/integration/gcc/ChangeLog
    branches/google/integration/gcc/testsuite/ChangeLog
    branches/google/integration/gcc/tree-ssa-ccp.c



More information about the Gcc-bugs mailing list