re PR tree-optimization/49645 (g++.dg/tree-ssa/pr8781.C FAILs on Tru64 UNIX)
authorRichard Guenther <rguenther@suse.de>
Wed, 6 Jul 2011 14:05:54 +0000 (14:05 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 6 Jul 2011 14:05:54 +0000 (14:05 +0000)
commit6d6c952527c53637280297b2e6a48d6b21606294
tree8be0cce61ef719aebeb7411affb2f4847a356b91
parentd1a6ec10922732aebd828be711062731f51ee2ff
re PR tree-optimization/49645 (g++.dg/tree-ssa/pr8781.C FAILs on Tru64 UNIX)

2011-07-06  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/49645
* c-decl.c (finish_decl): Also set DECL_HARD_REGISTER for global
register variables.
* tree-ssa-sccvn.c (vn_reference_op_eq): Disregard differences
in type qualification here ...
(copy_reference_ops_from_ref): ... not here.
(vn_reference_lookup_3): ... or here.
(copy_reference_ops_from_ref): Record decl bases as MEM[&decl].
(vn_reference_lookup): Do the lookup with a valueized ao-ref.

* g++.dg/tree-ssa/pr8781.C: Disable SRA.

From-SVN: r175916
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/pr8781.C
gcc/tree-ssa-sccvn.c