[Bug tree-optimization/87259] [9 Regression] ICE: error: definition in block 3 does not dominate use in block 2

ktkachov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Sep 14 13:13:00 GMT 2018


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&root=gcc&view=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


More information about the Gcc-bugs mailing list