re PR tree-optimization/67690 (wrong code with -O2 on x86_64/Linux)
authorMarek Polacek <polacek@redhat.com>
Wed, 30 Sep 2015 09:24:02 +0000 (09:24 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Wed, 30 Sep 2015 09:24:02 +0000 (09:24 +0000)
commit6ea2f74cf9dbee7a3e41d4c2bd3757a2ea303b8e
treed3500a983497c0bd0167a8f97529626c0c3a2ed2
parentae15100c9197195f26541c199aa4f6c75d36eb13
re PR tree-optimization/67690 (wrong code with -O2 on x86_64/Linux)

PR tree-optimization/67690
* tree-ssa-ifcombine.c (pass_tree_ifcombine::execute): Call
reset_flow_sensitive_info_in_bb.
* tree-ssa-tail-merge.c (replace_block_by): Likewise.
* tree-ssanames.c: Include "gimple-iterator.h".
(reset_flow_sensitive_info_in_bb): New function.
* tree-ssanames.h (reset_flow_sensitive_info_in_bb): Declare.

* gcc.dg/torture/pr67690.c: New test.

From-SVN: r228284
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr67690.c [new file with mode: 0644]
gcc/tree-ssa-ifcombine.c
gcc/tree-ssa-tail-merge.c
gcc/tree-ssanames.c
gcc/tree-ssanames.h