[Bug tree-optimization/92085] [10 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.c:86

prathamesh3492 at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 15 07:20:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92085

--- Comment #5 from prathamesh3492 at gcc dot gnu.org ---
Author: prathamesh3492
Date: Tue Oct 15 07:19:41 2019
New Revision: 276984

URL: https://gcc.gnu.org/viewcvs?rev=276984&root=gcc&view=rev
Log:
2019-10-15  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>

        PR tree-optimization/92085
        * tree-if-conv.c (ifcvt_local_dce): Call gsi_next in else clause,
        instead of calling it unconditionally after
        delete_dead_or_redundant_assignment and fix indentation.

testsuite/
        * gcc.dg/tree-ssa/pr92085-1.c: New test.
        * gcc.dg/tree-ssa/pr92085-2.c: Likewise.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr92085-1.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr92085-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-if-conv.c


More information about the Gcc-bugs mailing list