https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114628
Bug ID: 114628 Summary: [14 Regression] ICE in gimple_check_failed at gimple.cc:1337 while compiling bitint-100.c Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: pheeck at gcc dot gnu.org Target Milestone: --- Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu While compiling the gcc.dg/bitint-100.c testsuite testcase gcc src/gcc/testsuite/gcc.dg/bitint-100.c -fvar-tracking-assignments-toggle the following ICE occurs during GIMPLE pass: bitintlower0 src/gcc/testsuite/gcc.dg/bitint-100.c: In function ‘corge’: src/gcc/testsuite/gcc.dg/bitint-100.c:44:1: internal compiler error: gimple check: expected gimple_assign(error_mark), have gimple_debug() in gimple_assign_lhs, at gimple.h:2663 44 | corge (int x, _BitInt(575) y, _BitInt(325) *z) | ^~~~~ 0x74f67a gimple_check_failed(gimple const*, char const*, int, char const*, gimple_code, tree_code) /home/fkastl/gcc/src/gcc/gimple.cc:1337 0x1f50114 gassign const* GIMPLE_CHECK2<gassign const*>(gimple const*, char const*, int, char const*) /home/fkastl/gcc/src/gcc/gimple.h:74 0x1f50114 gimple_assign_lhs(gimple const*) /home/fkastl/gcc/src/gcc/gimple.h:2663 0x1f50114 gimple_lower_bitint /home/fkastl/gcc/src/gcc/gimple-lower-bitint.cc:7195 Compiler configuration (nothing special there I believe): Reading specs from /home/fkastl/gcc/build/gcc/specs COLLECT_GCC=/home/fkastl/gcc/build/gcc/xgcc COLLECT_LTO_WRAPPER=/home/fkastl/gcc/build/gcc/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /home/fkastl/gcc/src/configure --disable-bootstrap --enable-checking --disable-libsanitizer --prefix=/home/fkastl/gcc/inst --enable-languages=c Thread model: posix Supported LTO compression algorithms: zlib gcc version 14.0.1 20240405 (experimental) (GCC)