This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/78856] [6 Regression] wrong code at -O3 on x86_64-linux-gnu (in both 32-bit and 64-bit modes)
- From: "law at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 04 Jan 2017 05:34:15 +0000
- Subject: [Bug tree-optimization/78856] [6 Regression] wrong code at -O3 on x86_64-linux-gnu (in both 32-bit and 64-bit modes)
- Auto-submitted: auto-generated
- References: <bug-78856-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78856
Jeffrey A. Law <law at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[6/7 Regression] wrong code |[6 Regression] wrong code
|at -O3 on x86_64-linux-gnu |at -O3 on x86_64-linux-gnu
|(in both 32-bit and 64-bit |(in both 32-bit and 64-bit
|modes) |modes)
--- 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
--- Comment #7 from Jeffrey A. Law <law at redhat dot com> ---
Fixed on trunk so far.