re PR c++/13954 ([tree-ssa] SRA does not work for classes that use inheritance with...
authorRichard Guenther <rguenther@suse.de>
Tue, 15 Mar 2011 13:37:23 +0000 (13:37 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 15 Mar 2011 13:37:23 +0000 (13:37 +0000)
commitc7ee7b4534f5730263f9d653d4c8d58c3ea02acf
tree871d4458a82b725b653f90b1c5ac68630aa4626f
parentb2ad5e3738bdf0c957dea0973400320995f185c5
re PR c++/13954 ([tree-ssa] SRA does not work for classes that use inheritance with an empty base)

2011-03-15  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/13954
* tree-ssa-sccvn.c (vn_reference_lookup_3): Look through memcpy
and friends.

* g++.dg/tree-ssa/pr13954.C: New testcase.

From-SVN: r170994
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/pr13954.C [new file with mode: 0644]
gcc/tree-ssa-sccvn.c