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



--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> 2013-02-20 
11:39:47 UTC ---

Author: rguenth

Date: Wed Feb 20 11:39:39 2013

New Revision: 196170



URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196170

Log:

2013-02-20  Richard Biener  <rguent...@suse.de>

    Jakub Jelinek  <ja...@redhat.com>



    PR tree-optimization/56396

    * tree-ssa-ccp.c (n_const_val): New static variable.

    (get_value): Return NULL for SSA names we don't have a lattice

    entry for.

    (ccp_initialize): Initialize n_const_val.

    * tree-ssa-copy.c (n_copy_of): New static variable.

    (init_copy_prop): Initialize n_copy_of.

    (get_value): Return NULL_TREE for SSA names we don't have a

    lattice entry for.



    * gcc.dg/pr56396.c: New testcase.



Added:

    trunk/gcc/testsuite/gcc.dg/pr56396.c

Modified:

    trunk/gcc/ChangeLog

    trunk/gcc/testsuite/ChangeLog

    trunk/gcc/tree-ssa-ccp.c

    trunk/gcc/tree-ssa-copy.c

Reply via email to