------- Comment #7 from rakdver at gcc dot gnu dot org  2006-11-17 10:29 -------
Subject: Bug 29801

Author: rakdver
Date: Fri Nov 17 10:29:07 2006
New Revision: 118926

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118926
Log:
        PR tree-optimization/29801
        * tree-ssa-ccp.c (get_symbol_constant_value): New function.
        (get_default_value): Use get_symbol_constant_value.
        (set_lattice_value): ICE when the value of the constant is
        changed.
        (visit_assignment): Ignore VDEFs of read-only variables.

        * gcc.dg/pr29801.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/pr29801.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-ccp.c


-- 


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

Reply via email to