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

            Bug ID: 86662
           Summary: msp430-elf segfault with -flto and -mlarge
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jozef.l at mittosystems dot com
  Target Milestone: ---

Segfault after endless recursion in gimple_get_alias_set, caused by canonical
type for __int20 being set to the unsigned variant, rather than signed variant
as expected.

testcase.i

int main(void)
{
  __int20 n = 5;
}

./build/gcc/xgcc -B./build/gcc -nostdlib testcase.i -mlarge -flto
xgcc: internal compiler error: Segmentation fault signal terminated program
lto1

Reply via email to