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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[14 Regession] avr:         |avr: internal compiler
                   |internal compiler error in  |error in decompose, at
                   |decompose, at rtl.h:2298    |rtl.h:2298
           Keywords|                            |ice-checking
   Target Milestone|14.0                        |---

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note -fchecking does not enable gcc_checking_assert checking so you will need
to configure older compilers with --enable-checking=yes to get the assert
hitting.


The assert that hits:
        gcc_checking_assert (INTVAL (x.first)
                             == sext_hwi (INTVAL (x.first), precision)
                             || (x.second == BImode && INTVAL (x.first) == 1));


What this assert is trying to make a point of is that we always sign extend
CONST_INT to HostWideInt (almost always 64bit integer) from the precision of
the mode.

Reply via email to