https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118860
Bug ID: 118860 Summary: ICE Segfault with --param=file-cache-files= since r15-7431-g66af77cbed6c5b Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: mjires at gcc dot gnu.org CC: ak at gcc dot gnu.org Target Milestone: --- Compiling reduced testcase g++.dg/other/pr31078.C results in ICE since r15-7431-g66af77cbed6c5b. $ cat pr31078.C static void foo(); $ g++ pr31078.C --param=file-cache-files=80 -Wunused g++: internal compiler error: Segmentation fault signal terminated program cc1plus Please submit a full bug report, with preprocessed source (by using -freport-bug). See <https://gcc.gnu.org/bugs/> for instructions. $ g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/home/mjires/built/master/libexec/gcc/x86_64-pc-linux-gnu/15.0.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /home/mjires/git/GCC/master/configure --prefix=/home/mjires/built/master --disable-bootstrap --enable-languages=c,c++,fortran,lto --disable-multilib --disable-libsanitizer --enable-checking : (reconfigured) /home/mjires/git/GCC/master/configure --prefix=/home/mjires/built/master --disable-bootstrap --enable-languages=c,c++,fortran,lto --disable-multilib --disable-libsanitizer --enable-checking Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.1 20250213 (experimental) (GCC)