https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82556
Bug ID: 82556 Summary: internal compiler error in curr_insn_transform, at lra-constraints.c:4307 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: bugzilla.gnu at coelho dot net Target Milestone: --- Created attachment 42369 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42369&action=edit preprocessed source When compiling postgresql HEAD with gcc trunk, it fails on: pgsql/src/backend/access/transam> gcc --version gcc (GCC) 8.0.0 20171014 (experimental) Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. pgsql/src/backend/access/transam> gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I../../../../src/include -D_GNU_SOURCE -c -o xloginsert.o xloginsert.i during RTL pass: reload xloginsert.c: In function ‘XLogInsert’: xloginsert.c:468:1: internal compiler error: in curr_insn_transform, at lra-constraints.c:4307 } ^ 0xbdfdbf curr_insn_transform ../../gcc-trunk-src/gcc/lra-constraints.c:4307 0xbe1796 lra_constraints(bool) ../../gcc-trunk-src/gcc/lra-constraints.c:4833 0xbcc594 lra(_IO_FILE*) ../../gcc-trunk-src/gcc/lra.c:2390 0xb86a51 do_reload ../../gcc-trunk-src/gcc/ira.c:5440 0xb86a51 execute ../../gcc-trunk-src/gcc/ira.c:5624 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. The same code was compiling with a gcc 8.0.0 compiled on Oct 7, so the regression is in the last week.