https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108436
Bug ID: 108436 Summary: [13 Regression] ICE in gen_prefetch, at config/i386/i386.md:24155 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gs...@t-online.de Target Milestone: --- Started between 20221106 and 20221120 : $ cat z1.c #include <x86intrin.h> void* p; void extern prefetch_test (void) { __builtin_ia32_prefetch (p, 0, 4, 0); } $ gcc-13-20230115 -c z1.c during RTL pass: expand z1.c: In function 'prefetch_test': z1.c:6:3: internal compiler error: in gen_prefetch, at config/i386/i386.md:24155 6 | __builtin_ia32_prefetch (p, 0, 4, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0x154cfec gen_prefetch(rtx_def*, rtx_def*, rtx_def*) ../../gcc/config/i386/i386.md:24155 0x10edffe ix86_expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int) ../../gcc/config/i386/i386-expand.cc:13200 0x88cc9b expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int) ../../gcc/builtins.cc:7321 0x9b3ef0 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ../../gcc/expr.cc:11872 0x8af731 expand_expr ../../gcc/expr.h:310 0x8af731 expand_call_stmt ../../gcc/cfgexpand.cc:2831 0x8af731 expand_gimple_stmt_1 ../../gcc/cfgexpand.cc:3880 0x8af731 expand_gimple_stmt ../../gcc/cfgexpand.cc:4044 0x8b4307 expand_gimple_basic_block ../../gcc/cfgexpand.cc:6096 0x8b6dce execute ../../gcc/cfgexpand.cc:6831