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

            Bug ID: 127927
           Summary: ICE for long long compare in expand
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gjl at gcc dot gnu.org
  Target Milestone: ---

long double  x, y;
int c;

int main ()
{
    c = x == y;
    return 0;
}

$ avr-gcc ice.c -S -Os
during RTL pass: expand
ice.c: In function 'main':
ice.c:6:7: internal compiler error: Segmentation fault
    6 |     c = x == y;
      |     ~~^~~~~~~~
0x7fa7faf4032f ???
        ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0

Target: avr
Configured with: .../configure --target=avr --disable-nls --with-dwarf2
--with-gnu-as --with-gnu-ld --with-long-double=64 --disable-libcc1
--enable-languages=c,c++
Thread model: single
Supported LTO compression algorithms: zlib
gcc version 17.0.0 20261008 (experimental) (GCC)

Reply via email to