diff options
author | Richard Biener <rguenther@suse.de> | 2013-02-20 11:39:39 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2013-02-20 11:39:39 +0000 |
commit | e91c8ed63fa4d372a740ca8047bf42c0b86593c4 (patch) | |
tree | a9f201aa86270f426a1e1a693b80027bb5c40590 /gcc/tree-call-cdce.c | |
parent | 3d916479cf3b6ec9a2a81fece2996a54ebb314c3 (diff) | |
download | gcc-e91c8ed63fa4d372a740ca8047bf42c0b86593c4.zip gcc-e91c8ed63fa4d372a740ca8047bf42c0b86593c4.tar.gz gcc-e91c8ed63fa4d372a740ca8047bf42c0b86593c4.tar.bz2 |
re PR tree-optimization/56396 (memory corruption in cc1)
2013-02-20 Richard Biener <rguenther@suse.de>
Jakub Jelinek <jakub@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.
Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r196170
Diffstat (limited to 'gcc/tree-call-cdce.c')
0 files changed, 0 insertions, 0 deletions