]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ChangeLog
re PR tree-optimization/56396 (memory corruption in cc1)
authorRichard Biener <rguenther@suse.de>
Wed, 20 Feb 2013 11:39:39 +0000 (11:39 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 20 Feb 2013 11:39:39 +0000 (11:39 +0000)
commite91c8ed63fa4d372a740ca8047bf42c0b86593c4
treea9f201aa86270f426a1e1a693b80027bb5c40590
parent3d916479cf3b6ec9a2a81fece2996a54ebb314c3
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
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr56396.c [new file with mode: 0644]
gcc/tree-ssa-ccp.c
gcc/tree-ssa-copy.c