[Bug target/89438] [9 Regression] ICE in glibc/sysdeps/ieee754/dbl-64/e_pow.c (internal compiler error: in decompose, at rtl.h:2266)

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 21 23:52:00 GMT 2019


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

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

Untested fix.  In RTL CONST_INTs in modes with narrower bitsizes than DImode
must be sign-extended from the corresponding mode, so either trunc_int_for_mode
is needed, gen_int_mode, or we need to sign-extend it manually like this.


More information about the Gcc-bugs mailing list