[Bug target/79242] ICE in simplify_subreg, at simplify-rtx.c:6029

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 18 13:48:00 GMT 2017


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

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> ---
The problem is that for __builtin_*_overflow{,_p} and/or -fsanitize=undefined
and/or for the automatic discovery of constructs checking for overflow uses
complex integer types and apparently that is just completely broken on msp430
and perhaps on other targets that have other similar partial int modes, I think
that might be avr, bfin and m32c.

Try a simple testcase like:
typedef _Complex __int20 C;

C
foo (C x, C y)
{
  return x + y;
}

which ICEs the same.


More information about the Gcc-bugs mailing list