[Bug tree-optimization/100740] [9/10/11/12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r9-4145-ga81e2c6240655f60
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100740 --- Comment #9 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:f1af8528d34418bc874ae9d993ee0dc3559972d2 commit r12-6844-gf1af8528d34418bc874ae9d993ee0dc3559972d2 Author: Richard Biener Date: Mon Jan 24 11:50:06 2022 +0100 tree-optimization/102131 - fix niter analysis wrt overflow This fixes the overflow issues seen with analyzing BASE0 + STEP0 cmp BASE1 + STEP1 as BASE0 + STEP0 - STEP1 cmp BASE1 by following the logic we have when simplifying comparisons. 2022-01-24 Richard Biener Jiufu Guo PR tree-optimization/100740 PR tree-optimization/101508 PR tree-optimization/101972 PR tree-optimization/102131 * tree-ssa-loop-niter.cc (number_of_iterations_cond): Properly constrain BASE0 + STEP0 cmp BASE1 + STEP1 to BASE0 + STEP0 - STEP1 cmp BASE1 transform. * gcc.dg/torture/pr100740.c: New testcase. * gcc.dg/torture/pr101508.c: Likewise. * gcc.dg/torture/pr101972.c: Likewise. * gcc.dg/torture/pr102131-1.c: Likewise. * gcc.dg/torture/pr102131-2.c: Likewise. * gcc.dg/torture/pr102131-3.c: Likewise. * gcc.dg/torture/pr102131-4.c: Likewise.
[Bug tree-optimization/100740] [9/10/11/12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r9-4145-ga81e2c6240655f60
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100740 Andrew Pinski changed: What|Removed |Added CC||pallansson at gmail dot com --- Comment #8 from Andrew Pinski --- *** Bug 103308 has been marked as a duplicate of this bug. ***
[Bug tree-optimization/100740] [9/10/11/12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r9-4145
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100740 --- Comment #7 from Martin Liška --- *** Bug 102830 has been marked as a duplicate of this bug. ***
[Bug tree-optimization/100740] [9/10/11/12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r9-4145
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100740 Andrew Pinski changed: What|Removed |Added CC||davidsondfgl at gmail dot com --- Comment #6 from Andrew Pinski --- *** Bug 102666 has been marked as a duplicate of this bug. ***
[Bug tree-optimization/100740] [9/10/11/12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r9-4145
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100740 --- Comment #5 from Martin Liška --- *** Bug 102364 has been marked as a duplicate of this bug. ***
[Bug tree-optimization/100740] [9/10/11/12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r9-4145
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100740 Andrew Pinski changed: What|Removed |Added CC||phd at phd dot re --- Comment #4 from Andrew Pinski --- *** Bug 101653 has been marked as a duplicate of this bug. ***
[Bug tree-optimization/100740] [9/10/11/12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r9-4145
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100740 Richard Biener changed: What|Removed |Added Target Milestone|9.4 |9.5 --- Comment #3 from Richard Biener --- GCC 9.4 is being released, retargeting bugs to GCC 9.5.
[Bug tree-optimization/100740] [9/10/11/12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r9-4145
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100740 bin cheng changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |amker at gcc dot gnu.org --- Comment #2 from bin cheng --- mine. Sorry for the breakage.
[Bug tree-optimization/100740] [9/10/11/12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r9-4145
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100740 Jakub Jelinek changed: What|Removed |Added Summary|wrong code at -O1 and above |[9/10/11/12 Regression] |on x86_64-linux-gnu |wrong code at -O1 and above ||on x86_64-linux-gnu since ||r9-4145 Last reconfirmed||2021-05-24 Ever confirmed|0 |1 Target Milestone|--- |9.4 Status|UNCONFIRMED |NEW Priority|P3 |P2 CC||amker at gcc dot gnu.org, ||jakub at gcc dot gnu.org Version|unknown |11.1.1 --- Comment #1 from Jakub Jelinek --- Started with r9-4145-ga81e2c6240655f60a49c16e0d8bbfd2ba40bba51