------- Comment #3 from rguenth at gcc dot gnu dot org  2008-11-26 12:28 -------
Subject: Bug 38180

Author: rguenth
Date: Wed Nov 26 12:27:33 2008
New Revision: 142217

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142217
Log:
2008-11-26  Richard Guenther  <[EMAIL PROTECTED]>

        PR tree-optimization/38180
        * tree-ssa-ccp.c (get_default_value): Simplify.
        (likely_value): Likewise.
        (surely_varying_stmt_p): Properly handle VOP case.
        (ccp_initialize): Likewise.
        (ccp_fold): Handle propagating through *&.
        (fold_const_aggregate_ref): Also handle decls.

        * gcc.dg/tree-ssa/ssa-ccp-24.c: New testcase.

Added:
    branches/alias-improvements/gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-24.c
Modified:
    branches/alias-improvements/gcc/ChangeLog.alias
    branches/alias-improvements/gcc/tree-ssa-ccp.c


-- 


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

Reply via email to