[Bug middle-end/78507] [7 Regression] ICE: tree check: expected integer_type or enumeral_type or boolean_type or real_type or fixed_point_type, have pointer_type in int_fits_type_p, at tree.c:9153

trippels at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 24 10:07:00 GMT 2016


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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-11-24
                 CC|                            |amker at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Started with r242750:

commit 83c0fb434a2895d17dad003751a3cb88afafd298
Author: amker <amker@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Wed Nov 23 12:44:08 2016 +0000

        * fold-const.c (fold_cond_expr_with_comparison): Move simplification
        for A cmp C1 ? A : C2 to below, also simplify remaining code.
        * match.pd: Move and extend simplification from above to here:
        (cond (cmp (convert1? x) c1) (convert2? x) c2) -> (minmax (x c)).
        * tree-if-conv.c (ifcvt_follow_ssa_use_edges): New func.
        (predicate_scalar_phi): Call fold_stmt using the new valueize func.


More information about the Gcc-bugs mailing list