[Bug rtl-optimization/83393] [8 Regression] wrong code with -O2 -fno-forward-propagate -fno-tree-bit-ccp

2017-12-13 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83393 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/83393] [8 Regression] wrong code with -O2 -fno-forward-propagate -fno-tree-bit-ccp

2017-12-13 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83393 --- Comment #4 from Segher Boessenkool --- Author: segher Date: Wed Dec 13 14:05:57 2017 New Revision: 255606 URL: https://gcc.gnu.org/viewcvs?rev=255606=gcc=rev Log: combine: Fix PR83393 In move_deaths we move a REG_DEAD note if the

[Bug rtl-optimization/83393] [8 Regression] wrong code with -O2 -fno-forward-propagate -fno-tree-bit-ccp

2017-12-12 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83393 --- Comment #3 from Segher Boessenkool --- In the original code, r108 as set by insn 14 is dead after insn 16. The combination 15->20 should have changed that, but apparently didn't.

[Bug rtl-optimization/83393] [8 Regression] wrong code with -O2 -fno-forward-propagate -fno-tree-bit-ccp

2017-12-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83393 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug rtl-optimization/83393] [8 Regression] wrong code with -O2 -fno-forward-propagate -fno-tree-bit-ccp

2017-12-12 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83393 --- Comment #1 from Zdenek Sojka --- (In reply to Zdenek Sojka from comment #0) > ... even though insn 16 output (r108) should be used insn 20; ... s/insn 16/insn 14/ Later, there is: Trying 18 -> 20: 18: r116:SI=0 20:

[Bug rtl-optimization/83393] [8 Regression] wrong code with -O2 -fno-forward-propagate -fno-tree-bit-ccp

2017-12-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83393 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.0