PR tree-optimization/77454
commit99d887de6caa8e13b938317c2835aecc65b31b6f
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Sep 2016 19:19:33 +0000 (13 19:19 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Sep 2016 19:19:33 +0000 (13 19:19 +0000)
treeed4e689b86d691d06100c95deb62bd8d2b78c60c
parent46fad8d5f3211569363cbb6ebc240ae6e3033b35
PR tree-optimization/77454
* tree-ssa-dom.c (optimize_stmt): Set modified flag on stmt after
changing GIMPLE_COND.  Move update_stmt_if_modified call after this.
Formatting fix.

* gcc.dg/pr77454.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240120 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr77454.c [new file with mode: 0644]
gcc/tree-ssa-dom.c