[Bug tree-optimization/71403] [7 Regression] wrong code (segfault) at -O3 on x86_64-linux-gnu
law at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Oct 3 19:29:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71403
--- Comment #12 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Mon Oct 3 19:28:24 2016
New Revision: 240727
URL: https://gcc.gnu.org/viewcvs?rev=240727&root=gcc&view=rev
Log:
PR tree-optimization/71550
PR tree-optimization/71403
* tree-ssa-threadbackward.c: Include tree-vectorizer.h
(profitable_jump_thread_path): Also return boolean indicating if
the realized path will create an irreducible loop.
Remove loop depth tests from 71403.
(fsm_find_control_statement_thread_paths): Remove loop depth tests
from 71403. If threading will create an irreducible loop, then
throw away loop iteration and related information.
PR tree-optimization/71550
PR tree-optimization/71403
* gcc.c-torture/execute/pr71550.c: New test.
Added:
trunk/gcc/testsuite/gcc.c-torture/execute/pr71550.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-threadbackward.c
More information about the Gcc-bugs
mailing list