[Bug tree-optimization/112887] during GIMPLE pass: phiopt ICE: Floating point exception (SIGFPE) at tree-ssa-phiopt.c:2224 with --param=l1-cache-line-size=0x20000000

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 8 15:34:58 GMT 2023


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

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

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 56835
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56835&action=edit
gcc14-pr112887.patch

The function uses tree_fits_uhwi_p and then just blindly sets int vars to
tree_to_uhwi.
I think we just should use unsigned HOST_WIDE_INT types everywhere, that fixes
the ICE too.


More information about the Gcc-bugs mailing list