https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112668
Bug ID: 112668
Summary: ICE in bitintlower0 while compiling bitint-42.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: fkastl at suse dot cz
Target Milestone: ---
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Compiling the bitint-42.c file from testsuite:
gcc -fnon-call-exceptions src/gcc/testsuite/gcc.dg/torture/bitint-42.c
results in:
during GIMPLE pass: bitintlower0
/home/fkastl/gcc/src/gcc/testsuite/gcc.dg/torture/bitint-42.c: In function
‘main’:
/home/fkastl/gcc/src/gcc/testsuite/gcc.dg/torture/bitint-42.c:50:1: internal
compiler error: Segmentation fault
50 | main ()
| ^~~~
0x100d5bf crash_signal
../../src/gcc/toplev.cc:316
0x10d607e add_phi_arg(gphi*, tree_node*, edge_def*, unsigned int)
../../src/gcc/tree-phinodes.cc:358
0x1e22438 prepare_data_in_out
../../src/gcc/gimple-lower-bitint.cc:1036
0x1e323c6 handle_load
../../src/gcc/gimple-lower-bitint.cc:1695
0x1e323c6 handle_stmt
../../src/gcc/gimple-lower-bitint.cc:1876
0x1e33bc4 lower_mergeable_stmt
../../src/gcc/gimple-lower-bitint.cc:2406
0x1e3811d lower_stmt
../../src/gcc/gimple-lower-bitint.cc:5216
0x1e39dbd gimple_lower_bitint
../../src/gcc/gimple-lower-bitint.cc:6296
Please submit a full bug report, with preprocessed source.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
Compiler configuration (nothing non-standard):
Target: x86_64-pc-linux-gnu
Configured with: ../src/configure --enable-checking --disable-bootstrap
--disable-libsanitizer : (reconfigured) ../src/configure --enable-checking
--disable-bootstrap --disable-libsanitizer : (reconfigured) ../src/configure
--enable-checking --disable-bootstrap --disable-libsanitizer
--enable-languages=c,c++,fortran,lto,objc --no-create --no-recursion
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.0.0 20231122 (experimental) (GCC)