OSDN Git Service

2014-05-06 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 May 2014 14:22:41 +0000 (14:22 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 May 2014 14:22:41 +0000 (14:22 +0000)
commitade445ee765b32f2673194168099566b0a18ce4d
treea5bfc81c207255c4401ab545e1c57e49685d04a1
parenta1b95ce2faad54da93b2aad7a639cff27cdb3b8f
2014-05-06  Richard Biener  <rguenther@suse.de>

Backport from mainline
2013-05-27  Richard Biener  <rguenther@suse.de>

PR tree-optimization/57417
* tree-ssa-sccvn.c (set_ssa_val_to): Compare addresses using
get_addr_base_and_unit_offset.

* gcc.dg/torture/pr57417.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@210110 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr57417.c [new file with mode: 0644]
gcc/tree-ssa-sccvn.c