This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/73450] [7 Regression] wrong code at -Os and above on x86_64-linux-gnu in both 32-bit and 64-bit modes (executable hangs)
- From: "amker at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 16 Aug 2016 09:14:21 +0000
- Subject: [Bug c/73450] [7 Regression] wrong code at -Os and above on x86_64-linux-gnu in both 32-bit and 64-bit modes (executable hangs)
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
- References: <bug-73450-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=73450
--- Comment #4 from amker at gcc dot gnu.org ---
Author: amker
Date: Tue Aug 16 09:13:50 2016
New Revision: 239494
URL: https://gcc.gnu.org/viewcvs?rev=239494&root=gcc&view=rev
Log:
PR tree-optimization/72817
PR tree-optimization/73450
* tree-ssa-loop-niter.c (number_of_iterations_ne): Check
multiple_of_p for adjusted IV.base.
gcc/testsuite
* gcc.dg/tree-ssa/pr72817.c: New test.
* gcc.dg/tree-ssa/pr73450.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/tree-ssa/pr72817.c
trunk/gcc/testsuite/gcc.dg/tree-ssa/pr73450.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-loop-niter.c