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

            Bug ID: 122637
           Summary: Third ice during GIMPLE pass: sccp
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 62760
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62760&action=edit
C source code

The attached C code does this with recent gcc:

foundBugs $ ../results/bin/gcc -c -w -O1 bug1135.c
during GIMPLE pass: sccp
runData/keep/in.22433.c: In function ‘main’:
runData/keep/in.22433.c:685:5: internal compiler error: Segmentation fault
0x1f890d7 internal_error
       
/home/dcb42/gcc/working/gcc/../../trunk/gcc/diagnostic-global-context.cc:787
0xc6ae59 ???
        /home/dcb42/gcc/working/gcc/../../trunk/gcc/toplev.cc:323
0xd7b929 analyze_scalar_evolution_1
       
/home/dcb42/gcc/working/gcc/../../trunk/gcc/tree-scalar-evolution.cc:1989


foundBugs $ ../results/bin/gcc -v
Using built-in specs.
COLLECT_GCC=../results/bin/gcc
COLLECT_LTO_WRAPPER=/home/dcb42/gcc/results.20251110.asan.ubsan/libexec/gcc/x86_64-pc-linux-gnu/16.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../trunk/configure
--prefix=/home/dcb42/gcc/results.20251110.asan.ubsan --disable-bootstrap
--disable-doc --disable-multilib --with-build-config='bootstrap-asan
bootstrap-ubsan' --with-pkgversion=c180ad35fb695ee4 --with-isl
--enable-checking=df,extra,fold,rtl,yes --enable-languages=c,c++,fortran
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 16.0.0 20251110 (experimental) (c180ad35fb695ee4) 
foundBugs $

Reply via email to