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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
      tree index
        = fold_build2 (TRUNC_DIV_EXPR, integer_type_node,
                       offset_cst, byte_size);
looks wrong.
offset_cst probably doesn't have integer_type_node type, byte_size almost
surely.
If you want to perform a signed division, you should use ssizetype and
fold_convert the arguments to ssizetype.

Reply via email to