https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104446
Bug ID: 104446 Summary: [9/10/11/12 Regression] ICE in trunc_int_for_mode, at explow.cc:59 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gs...@t-online.de Target Milestone: --- With file ./gcc.target/i386/pr65588.c : $ gcc-12-20220206 -c pr65588.c -O2 -m32 -mrtd -finstrument-functions during RTL pass: combine pr65588.c: In function 't': pr65588.c:10:19: internal compiler error: in trunc_int_for_mode, at explow.cc:59 10 | int t () { a = 0; } | ^ 0x8b5d13 trunc_int_for_mode(long, machine_mode) ../../gcc/explow.cc:59 0x8b5d28 trunc_int_for_mode(poly_int<1u, long>, machine_mode) ../../gcc/explow.cc:86 0x8aa928 gen_int_mode(poly_int<1u, long>, machine_mode) ../../gcc/emit-rtl.cc:542 0xbc3d78 for_each_inc_dec_find_inc_dec ../../gcc/rtlanal.cc:3711 0xbc3d78 for_each_inc_dec(rtx_def*, int (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, void*), void*) ../../gcc/rtlanal.cc:3750 0x17597af try_combine ../../gcc/combine.cc:3346 0x175f3cc combine_instructions ../../gcc/combine.cc:1269 0x175f3cc rest_of_handle_combine ../../gcc/combine.cc:14922 0x175f3cc execute ../../gcc/combine.cc:14967