[Bug tree-optimization/108582] [12 Regression] ICE on valid code at -Os and above with "-fno-tree-ccp -fno-tree-dce": tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p, at gimple-expr.cc:87

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 30 12:47:12 GMT 2023


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |11.1.0, 13.0
      Known to fail|                            |12.2.0
            Summary|[12/13 Regression] ICE on   |[12 Regression] ICE on
                   |valid code at -Os and above |valid code at -Os and above
                   |with "-fno-tree-ccp         |with "-fno-tree-ccp
                   |-fno-tree-dce": tree check: |-fno-tree-dce": tree check:
                   |expected class ‘type’, have |expected class ‘type’, have
                   |‘exceptional’ (error_mark)  |‘exceptional’ (error_mark)
                   |in                          |in
                   |useless_type_conversion_p,  |useless_type_conversion_p,
                   |at gimple-expr.cc:87        |at gimple-expr.cc:87

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed on the trunk, still latent in GCC 12, will be backporting the patch next
week.


More information about the Gcc-bugs mailing list