re PR tree-optimization/35402 (Store CCP will not inline static const variable which...
authorAndrew Pinski <andrew_pinski@playstation.sony.com>
Thu, 6 Mar 2008 21:56:04 +0000 (21:56 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Thu, 6 Mar 2008 21:56:04 +0000 (13:56 -0800)
commitb094015443c17d6ef43ecfb77b01932701e3b4e4
tree571a3a53a75436d921342817d1fe0b19f2685dc9
parent39897cdcb0e468dd683a554c1d76c410429d32bc
re PR tree-optimization/35402 (Store CCP will not inline static const variable which is default initialized)

2008-03-06  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR tree-opt/35402
        * tree-ssa-ccp.c (get_symbol_constant_value): Handle
        integral and scalar float variables which have a
        NULL DECL_INITIAL.

2008-03-06  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR tree-opt/35402
        * gcc.dg/tree-ssa/ssa-store-ccp-1.c: New test.

From-SVN: r132991
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-store-ccp-1.c [new file with mode: 0644]
gcc/tree-ssa-ccp.c