https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117316
Bug ID: 117316 Summary: [15 regression] gcc/config/riscv/riscv.cc:479:1: error: could not convert ‘...’ from ‘<brace-enclosed list>’ to ‘const riscv_tune_param’ Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: sch...@linux-m68k.org CC: jeffreyalaw at gmail dot com Target Milestone: --- Target: riscv*-*-* Current trunk does not compile after r15-4589-g078f7c4f1fcf4d. ../../gcc/config/riscv/riscv.cc:460:1: error: could not convert ‘{{(4 * 4), (5 * 4)}, {(4 * 4), (5 * 4)}, {(20 * 4), (20 * 4)}, {(4 * 4), (4 * 4)}, {(33 * 4), (65 * 4)}, 1, 3, 5, 8, true, false, false, false, RISCV_FUSE_NOTHING, nullptr}’ from ‘<brace-enclosed initializer list>’ to ‘const riscv_tune_param’ 460 | }; | ^ | | | <brace-enclosed initializer list> ../../gcc/config/riscv/riscv.cc:479:1: error: could not convert ‘{{(4 * 4), (5 * 4)}, {(4 * 4), (5 * 4)}, {(20 * 4), (20 * 4)}, {(4 * 4), (4 * 4)}, {(33 * 4), (65 * 4)}, 2, 4, 3, 8, true, false, false, false, RISCV_FUSE_NOTHING, nullptr}’ from ‘<brace-enclosed initializer list>’ to ‘const riscv_tune_param’ 479 | }; | ^ | | | <brace-enclosed initializer list> ../../gcc/config/riscv/riscv.cc:498:1: error: could not convert ‘{{(4 * 4), (4 * 4)}, {(4 * 4), (4 * 4)}, {(20 * 4), (20 * 4)}, {(4 * 4), (4 * 4)}, {(6 * 4), (6 * 4)}, 3, 4, 3, 4, true, false, false, false, (((int)RISCV_FUSE_LUI_ADDI) | ((int)RISCV_FUSE_AUIPC_ADDI)), (& generic_vector_cost)}’ from ‘<brace-enclosed initializer list>’ to ‘const riscv_tune_param’ 498 | }; | ^ | | | <brace-enclosed initializer list> ../../gcc/config/riscv/riscv.cc:517:1: error: could not convert ‘{{(4 * 4), (4 * 4)}, {(4 * 4), (4 * 4)}, {(20 * 4), (20 * 4)}, {(4 * 4), (4 * 4)}, {(6 * 4), (6 * 4)}, 4, 4, 3, 4, true, false, false, false, (((int)RISCV_FUSE_LUI_ADDI) | ((int)RISCV_FUSE_AUIPC_ADDI)), (& generic_vector_cost)}’ from ‘<brace-enclosed initializer list>’ to ‘const riscv_tune_param’ 517 | }; | ^ | | | <brace-enclosed initializer list> ../../gcc/config/riscv/riscv.cc:536:1: error: could not convert ‘{{(4 * 4), (5 * 4)}, {(4 * 4), (5 * 4)}, {(20 * 4), (20 * 4)}, {(4 * 4), (4 * 4)}, {(18 * 4), (34 * 4)}, 1, 3, 5, 8, false, false, false, false, RISCV_FUSE_NOTHING, nullptr}’ from ‘<brace-enclosed initializer list>’ to ‘const riscv_tune_param’ 536 | }; | ^ | | | <brace-enclosed initializer list> ../../gcc/config/riscv/riscv.cc:555:1: error: could not convert ‘{{(3 * 4), (3 * 4)}, {(3 * 4), (3 * 4)}, {(10 * 4), (20 * 4)}, {(3 * 4), (3 * 4)}, {(6 * 4), (6 * 4)}, 6, 3, 3, 3, true, false, false, false, (((int)RISCV_FUSE_ZEXTW) | ((int)RISCV_FUSE_ZEXTH)), nullptr}’ from ‘<brace-enclosed initializer list>’ to ‘const riscv_tune_param’ 555 | }; | ^ | | | <brace-enclosed initializer list> ../../gcc/config/riscv/riscv.cc:574:1: error: could not convert ‘{{(2 * 4), (2 * 4)}, {(5 * 4), (6 * 4)}, {(7 * 4), (8 * 4)}, {(2 * 4), (2 * 4)}, {(6 * 4), (6 * 4)}, 1, 3, 4, 4, false, true, false, true, RISCV_FUSE_NOTHING, (& generic_vector_cost)}’ from ‘<brace-enclosed initializer list>’ to ‘const riscv_tune_param’ 574 | }; | ^ | | | <brace-enclosed initializer list> ../../gcc/config/riscv/riscv.cc:593:1: error: could not convert ‘{{(1 * 4), (1 * 4)}, {(1 * 4), (1 * 4)}, {(1 * 4), (1 * 4)}, {(1 * 4), (1 * 4)}, {(1 * 4), (1 * 4)}, 1, 1, 2, 8, false, false, false, false, RISCV_FUSE_NOTHING, nullptr}’ from ‘<brace-enclosed initializer list>’ to ‘const riscv_tune_param’ 593 | }; | ^ | | | <brace-enclosed initializer list>