https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111059
Bug ID: 111059 Summary: ICE: in gimplify_expr, at gimplify.cc:17253 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: iamanonymous.cs at gmail dot com Target Milestone: --- Created attachment 55752 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55752&action=edit The program.c mentioned in description. ******************************************************************************* OS and Platform: $ uname -a: Linux ubuntu 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux ******************************************************************************* gcc version: $ gcc -v Using built-in specs. COLLECT_GCC=/root/gcc_set/new_gcc/bin/gcc COLLECT_LTO_WRAPPER=/root/gcc_set/new_gcc/libexec/gcc/x86_64-pc-linux-gnu/14.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc/configure --prefix=/root/gcc_set/new_gcc --with-gmp=/root/build_essential --with-mpfr=/root/build_essential --with-mpc=/root/build_essential --enable-languages=c,c++ --disable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 14.0.0 20230719 (experimental) (GCC) git version:85da0b40538fb0d17d89de1e7905984668e3dfef ******************************************************************************* Program: The program was attached as program.c ******************************************************************************* Command Lines: $ gcc program.c -o program program.c: In function ‘test’: program.c:188:176: warning: left shift count is negative [-Wshift-count-negative] 188 | arr_33 [i_0] [i_1] [i_2] = ((/* implicit */_Bool) ((((/* implicit */_Bool) (short)1139)) ? ((((~(((/* implicit */int) (unsigned short)9080)))) << (((/* implicit */int) (signed char)-23)))) : (-1376368525))); | ^~ program.c:188:176: internal compiler error: in gimplify_expr, at gimplify.cc:17253 0x7773da gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../gcc/gcc/gimplify.cc:17253 0xc84dba gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../gcc/gcc/gimplify.cc:17223 0xc97dc7 gimplify_modify_expr ../../gcc/gcc/gimplify.cc:6173 0xc84fa6 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../gcc/gcc/gimplify.cc:16441 0xc87a16 gimplify_stmt(tree_node**, gimple**) ../../gcc/gcc/gimplify.cc:7246 0xc86380 gimplify_statement_list ../../gcc/gcc/gimplify.cc:2019 0xc86380 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../gcc/gcc/gimplify.cc:16886 0xc87a16 gimplify_stmt(tree_node**, gimple**) ../../gcc/gcc/gimplify.cc:7246 0xc96ad9 gimplify_cond_expr ../../gcc/gcc/gimplify.cc:4562 0xc8575c gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../gcc/gcc/gimplify.cc:16398 0xc87a16 gimplify_stmt(tree_node**, gimple**) ../../gcc/gcc/gimplify.cc:7246 0xc86380 gimplify_statement_list ../../gcc/gcc/gimplify.cc:2019 0xc86380 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../gcc/gcc/gimplify.cc:16886 0xc87a16 gimplify_stmt(tree_node**, gimple**) ../../gcc/gcc/gimplify.cc:7246 0xc86380 gimplify_statement_list ../../gcc/gcc/gimplify.cc:2019 0xc86380 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../gcc/gcc/gimplify.cc:16886 0xc87a16 gimplify_stmt(tree_node**, gimple**) ../../gcc/gcc/gimplify.cc:7246 0xc88146 gimplify_bind_expr ../../gcc/gcc/gimplify.cc:1430 0xc8525e gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../gcc/gcc/gimplify.cc:16642 0xc87a16 gimplify_stmt(tree_node**, gimple**) ../../gcc/gcc/gimplify.cc:7246 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.