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

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

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

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 47211
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47211&action=edit
gcc10-pr92452.patch

Untested fix.  TRUNC_DIV_EXPR of a POLY_INT_CST with INTEGER_CST folds into
NULL_TREE, because for poly ints only +/-/* and similar operations are handled.

Reply via email to