[Bug tree-optimization/87259] [9 Regression] ICE: error: definition in block 3 does not dominate use in block 2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87259 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #4 from ktkachov at gcc dot gnu.org --- Fixed.
[Bug tree-optimization/87259] [9 Regression] ICE: error: definition in block 3 does not dominate use in block 2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87259 --- Comment #3 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Fri Sep 14 13:13:14 2018 New Revision: 264312 URL: https://gcc.gnu.org/viewcvs?rev=264312=gcc=rev Log: [tree-ssa-mathopts] PR tree-optimization/87259: Call execute_cse_reciprocals_1 before trying optimize_recip_sqrt PR tree-optimization/87259 PR lto/87283 (pass_cse_reciprocals::execute): Run optimize_recip_sqrt after execute_cse_reciprocals_1 has tried transforming. PR tree-optimization/87259 * gcc.dg/pr87259.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr87259.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-math-opts.c
[Bug tree-optimization/87259] [9 Regression] ICE: error: definition in block 3 does not dominate use in block 2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87259 --- Comment #2 from ktkachov at gcc dot gnu.org --- Patch posted at https://gcc.gnu.org/ml/gcc-patches/2018-09/msg00640.html
[Bug tree-optimization/87259] [9 Regression] ICE: error: definition in block 3 does not dominate use in block 2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87259 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2018-09-11 Assignee|unassigned at gcc dot gnu.org |ktkachov at gcc dot gnu.org Target Milestone|--- |9.0 Ever confirmed|0 |1 --- Comment #1 from ktkachov at gcc dot gnu.org --- Confirmed. The transformation from r264126 isn't triggered here, but it looks like the fact that execute_cse_reciprocals_1 didn't get to run on some of the statements gives the ICE. Testing a patch