This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/70780] [6/7 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 25 Apr 2016 08:38:43 +0000
- Subject: [Bug tree-optimization/70780] [6/7 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu
- Auto-submitted: auto-generated
- References: <bug-70780-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70780
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Ok, so we now find (properly) that *d is loop invariant in while (b) but fail
to detect *d as possibly trapping. That is supposed to be prevented (in PRE)
by the loop exit but I messed up iteration and thus the solution we use for
insertion is not final.