https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106257
Bug ID: 106257
Summary: [13 Regression] ICE in expand_builtin_unreachable, at
builtins.cc:5189
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: [email protected]
Target Milestone: ---
Started between 20220619 and 20220626,
with file gcc.c-torture/compile/pr84136.c :
$ gcc-13-20220710 -c pr84136.c -O2 -fno-early-inlining -fsanitize=unreachable
during RTL pass: expand
pr84136.c: In function 'main':
pr84136.c:12:5: internal compiler error: in expand_builtin_unreachable, at
builtins.cc:5189
12 | int main() {
| ^~~~
0x873309 expand_builtin_unreachable
../../gcc/builtins.cc:5189
0x873309 expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int)
../../gcc/builtins.cc:7540
0x9eddfe expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
../../gcc/expr.cc:11689
0x89e2df expand_expr
../../gcc/expr.h:310
0x89e2df expand_call_stmt
../../gcc/cfgexpand.cc:2831
0x89e2df expand_gimple_stmt_1
../../gcc/cfgexpand.cc:3880
0x89e2df expand_gimple_stmt
../../gcc/cfgexpand.cc:4044
0x8a520f expand_gimple_basic_block
../../gcc/cfgexpand.cc:6096
0x8a7866 execute
../../gcc/cfgexpand.cc:6822