re PR tree-optimization/78856 (wrong code at -O3 on x86_64-linux-gnu (in both 32...
authorJeff Law <law@redhat.com>
Wed, 4 Jan 2017 05:31:23 +0000 (22:31 -0700)
committerJeff Law <law@gcc.gnu.org>
Wed, 4 Jan 2017 05:31:23 +0000 (22:31 -0700)
commit1c06f07f71fad83bc2fd358a09757a7ef725ef6a
treef4eebb0e6cb731198ae71d0ade4382185c995f55
parent60fb638f9c08e2cf73605fc5a60531215098a82d
re PR tree-optimization/78856 (wrong code at -O3 on x86_64-linux-gnu (in both 32-bit and 64-bit modes))

PR tree-optimizatin/78856
* tree-ssa-threadupdate.c: Include tree-vectorizer.h.
(mark_threaded_blocks): Remove code to truncate thread paths that
cross multiple loop headers.  Instead invalidate the cached loop
iteration information and handle case of a thread path walking
into an irreducible region.

PR tree-optimization/78856
* gcc.c-torture/execute/pr78856.c: New test.

From-SVN: r244045
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr78856.c [new file with mode: 0644]
gcc/tree-ssa-threadupdate.c