]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/58404 (&noninvariant_address not forwproped into ->handled_co...
authorRichard Biener <rguenther@suse.de>
Thu, 12 Sep 2013 13:20:17 +0000 (13:20 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 12 Sep 2013 13:20:17 +0000 (13:20 +0000)
commite1fb4ad3325352d6820722ee2966b9bfd4a3f712
treef71e1f5d4b41a5d90459e260266a7cec947e9d59
parent154c91887b3709c1a2c2407d1dcb2000d3e9b4a7
re PR tree-optimization/58404 (&noninvariant_address not forwproped into ->handled_component)

2013-09-12  Richard Biener  <rguenther@suse.de>

PR tree-optimization/58404
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Also
propagate non-invariant addresses into dereferences wrapped
in component references.

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

From-SVN: r202525
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/pr58404.C [new file with mode: 0644]
gcc/tree-ssa-forwprop.c