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

            Bug ID: 117749
           Summary: ICE: Segmentation fault
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: xieym3 at zohomail dot com
  Target Milestone: ---

$ cat 20241123025220_11.c
__GIMPLE
void foo ( ) {
int ;
t1_1 = t1_1 ( ;
$ gcc-trunk -v
Using built-in specs.
COLLECT_GCC=/data/xieym/exp/gcc/test_data/gcc-latest-install/bin/gcc
COLLECT_LTO_WRAPPER=/data/xieym/exp/gcc/test_data/gcc-latest-install/libexec/gcc/x86_64-pc-linux-gnu/15.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /data/xieym/exp/gcc/test_data/gcc-latest-src/configure
--enable-coverage --enable-checking --disable-multilib --disable-shared
--disable-bootstrap --enable-languages=c,c++
--prefix=/data/xieym/exp/gcc/test_data/gcc-latest-install
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 15.0.0 20241123 (experimental) (GCC)
$ gcc-trunk -x c -std=c2x -c 20241123025220_11.c -o /dev/null
20241123025220_11.c:1:1: error: ‘__GIMPLE’ only valid with ‘-fgimple’
    1 | __GIMPLE
      | ^~~~~~~~
20241123025220_11.c: In function ‘foo’:
20241123025220_11.c:3:5: error: expected identifier or ‘(’ before ‘;’ token
    3 | int ;
      |     ^
20241123025220_11.c:3:5: internal compiler error: Segmentation fault
0x567214e internal_error(char const*, ...)
       
/data/xieym/exp/gcc/test_data/gcc-latest-src/gcc/diagnostic-global-context.cc:517
0x1ff4060 crash_signal
        /data/xieym/exp/gcc/test_data/gcc-latest-src/gcc/toplev.cc:322
0x7f2add35251f ???
        ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0xff08ba c_parser_gimple_declaration
       
/data/xieym/exp/gcc/test_data/gcc-latest-src/gcc/c/gimple-parser.cc:2212
0xfe35ad c_parser_gimple_compound_statement
        /data/xieym/exp/gcc/test_data/gcc-latest-src/gcc/c/gimple-parser.cc:410
0xfe22b7 c_parser_parse_gimple_body(c_parser*, char*, c_declspec_il,
profile_count)
        /data/xieym/exp/gcc/test_data/gcc-latest-src/gcc/c/gimple-parser.cc:253
0xf336d9 c_parser_declaration_or_fndef
        /data/xieym/exp/gcc/test_data/gcc-latest-src/gcc/c/c-parser.cc:3065
0xf2e9a8 c_parser_external_declaration
        /data/xieym/exp/gcc/test_data/gcc-latest-src/gcc/c/c-parser.cc:2067
0xf2de4f c_parser_translation_unit
        /data/xieym/exp/gcc/test_data/gcc-latest-src/gcc/c/c-parser.cc:1921
0xfd0439 c_parse_file()
        /data/xieym/exp/gcc/test_data/gcc-latest-src/gcc/c/c-parser.cc:28878
0x10fb285 c_common_parse_file()
       
/data/xieym/exp/gcc/test_data/gcc-latest-src/gcc/c-family/c-opts.cc:1374
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

Reply via email to