OSDN Git Service

PR tree-optimization/51466
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Dec 2011 19:49:02 +0000 (19:49 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Dec 2011 19:49:02 +0000 (19:49 +0000)
commit31fa5b0d2f64ac0734820eba0608d53c7728280c
tree6caf2e8d00f1a83d05f8fcda61769a913fceedc0
parent80b8720617d9cd0cf9dcc01a61314ab5d8952c08
PR tree-optimization/51466
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Also copy
TREE_SIDE_EFFECTS.

* gcc.c-torture/execute/pr51466.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182136 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr51466.c [new file with mode: 0644]
gcc/tree-ssa-forwprop.c