https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78725
Richard Biener changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78725
--- Comment #6 from Michael Matz ---
Author: matz
Date: Tue Dec 13 14:14:41 2016
New Revision: 243606
URL: https://gcc.gnu.org/viewcvs?rev=243606=gcc=rev
Log:
Fix pr78725
PR tree-optimization/78725
* tree-ssa-loop-split.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78725
--- Comment #5 from Michael Matz ---
(In reply to Michael Matz from comment #4)
> Thanks for the second testcase as well. It's not quite the same
> miscompilation
> (the induction vars don't overflow), but a related one (the value of d
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78725
--- Comment #4 from Michael Matz ---
Thanks for the second testcase as well. It's not quite the same miscompilation
(the induction vars don't overflow), but a related one (the value of d
considered in the conditional statement is the final one
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78725
--- Comment #3 from Zhendong Su ---
Below is another test that might trigger the same miscompilation:
$ gcc-trunk -O2 -fsplit-loops small.c; ./a.out
Aborted (core dumped)
$
$ gcc-trunk -O3 -fno-split-loops small.c; ./a.out
$
$
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78725
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78725
Michael Matz changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |matz at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78725
Richard Biener changed:
What|Removed |Added
Priority|P3 |P1
Version|unknown
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78725
Marek Polacek changed:
What|Removed |Added
Keywords||wrong-code
Target Milestone|---