https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78856
--- Comment #6 from Jeffrey A. Law <law at gcc dot gnu.org> --- Author: law Date: Wed Jan 4 05:31:23 2017 New Revision: 244045 URL: https://gcc.gnu.org/viewcvs?rev=244045&root=gcc&view=rev Log: 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. Added: trunk/gcc/testsuite/gcc.c-torture/execute/pr78856.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-threadupdate.c