https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100106
Bug ID: 100106 Summary: [10/11 Regression] ICE in gen_movdi, at config/arm/arm.md:6187 since r10-2840-g70cdb21e Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: acoplan at gcc dot gnu.org Target Milestone: --- The following fails: $ cat test.c union a { float _Complex b; long long c; }; void g(union a); void e() { union a f = {1.0f}; g(f); } $ gcc/xgcc -B gcc test.c -c -O during RTL pass: expand test.c: In function āeā: test.c:9:11: internal compiler error: in gen_movdi, at config/arm/arm.md:6187 9 | union a f = {1.0f}; | ^ 0x1de9e64 gen_movdi(rtx_def*, rtx_def*) /home/alecop01/toolchain/src/gcc/gcc/config/arm/arm.md:6187 0xdb9086 rtx_insn* insn_gen_fn::operator()<rtx_def*, rtx_def*>(rtx_def*, rtx_def*) const /home/alecop01/toolchain/src/gcc/gcc/recog.h:407 0xd8ff58 emit_move_insn_1(rtx_def*, rtx_def*) /home/alecop01/toolchain/src/gcc/gcc/expr.c:3766 0xd909ca emit_move_insn(rtx_def*, rtx_def*) /home/alecop01/toolchain/src/gcc/gcc/expr.c:3936 0xd69cbb store_bit_field_1 /home/alecop01/toolchain/src/gcc/gcc/expmed.c:804 0xd6b8bb store_bit_field(rtx_def*, poly_int<1u, unsigned long>, poly_int<1u, unsigned long>, poly_int<1u, unsigned long>, poly_int<1u, unsigned long>, machine_mode, rtx_def*, bool) /home/alecop01/toolchain/src/gcc/gcc/expmed.c:1183 0xd9eaef store_field /home/alecop01/toolchain/src/gcc/gcc/expr.c:7353 0xd95ddf expand_assignment(tree_node*, tree_node*, bool) /home/alecop01/toolchain/src/gcc/gcc/expr.c:5482 0xbf2c4e expand_gimple_stmt_1 /home/alecop01/toolchain/src/gcc/gcc/cfgexpand.c:3910 0xbf303d expand_gimple_stmt /home/alecop01/toolchain/src/gcc/gcc/cfgexpand.c:4008 0xbfbaa3 expand_gimple_basic_block /home/alecop01/toolchain/src/gcc/gcc/cfgexpand.c:6045 0xbfd954 execute /home/alecop01/toolchain/src/gcc/gcc/cfgexpand.c:6729 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. Started with r10-2840-g70cdb21e579191fe9f0f1d45e328908e59c0179e.