|
| 1 | +2025-05-13 Andrew Pinski < [email protected]> |
| 2 | + |
| 3 | + PR tree-optimization/119903 |
| 4 | + * gimple-fold.cc (replace_stmt_with_simplification): Reject for |
| 5 | + noncall exceptions replacing comparison with itself. |
| 6 | + |
| 7 | +2025-05-13 Andrew Pinski < [email protected]> |
| 8 | + |
| 9 | + PR middle-end/118868 |
| 10 | + * tree-cfg.cc (verify_gimple_assign_unary): Allow pointers |
| 11 | + but disallow aggregate types for PAREN_EXPR. |
| 12 | + |
| 13 | +2025-05-13 Andrew Pinski < [email protected]> |
| 14 | + |
| 15 | + * cfgexpand.cc (vars_ssa_cache::operator()): Update the cache if the use is already |
| 16 | + has a cache. |
| 17 | + |
| 18 | +2025-05-13 Andrew Pinski < [email protected]> |
| 19 | + |
| 20 | + * cfgexpand.cc (vars_ssa_cache::operator()): Reverse the order of the going |
| 21 | + through the update list. |
| 22 | + |
| 23 | +2025-05-13 Richard Biener < [email protected]> |
| 24 | + |
| 25 | + * tree-vect-loop.cc (vectorizable_nonlinear_induction): |
| 26 | + Remove non-SLP path, use SLP_TREE_VECTYPE. |
| 27 | + (vectorizable_induction): Likewise. Drop ncopies variable |
| 28 | + which is always 1. |
| 29 | + |
| 30 | +2025-05-13 Kito Cheng < [email protected]> |
| 31 | + |
| 32 | + * common/config/riscv/riscv-common.cc (riscv_extra_ext_flag_table_t): |
| 33 | + New. |
| 34 | + (riscv_ext_flag_table): Rename to ... |
| 35 | + (riscv_extra_ext_flag_table): this, and drop most of definitions |
| 36 | + that can obtained from the flags field of the riscv_ext_info_t |
| 37 | + structures. |
| 38 | + (apply_extra_extension_flags): Use riscv_ext_info_t. |
| 39 | + (riscv_ext_is_subset): Ditto. |
| 40 | + |
| 41 | +2025-05-13 Kito Cheng < [email protected]> |
| 42 | + |
| 43 | + * common/config/riscv/riscv-common.cc (riscv_ext_version_table): |
| 44 | + Remove. |
| 45 | + (standard_extensions_p): Use riscv_ext_info_t. |
| 46 | + (get_default_version): Use riscv_ext_info_t. |
| 47 | + (riscv_arch_help): Ditto. |
| 48 | + |
| 49 | +2025-05-13 Kito Cheng < [email protected]> |
| 50 | + |
| 51 | + * common/config/riscv/riscv-common.cc |
| 52 | + (riscv_implied_info::riscv_implied_info_t): Remove unused |
| 53 | + variant. |
| 54 | + (struct riscv_implied_info_t): Remove unsued field. |
| 55 | + (riscv_implied_info::match): Remove unused variant, and adjust |
| 56 | + the logic. |
| 57 | + (get_riscv_ext_info): New. |
| 58 | + (riscv_implied_info): Remove. |
| 59 | + (riscv_ext_info_t::apply_implied_ext): New. |
| 60 | + (riscv_combine_info). Remove. |
| 61 | + (riscv_subset_list::handle_implied_ext): Use riscv_ext_info_t |
| 62 | + rather than riscv_implied_info. |
| 63 | + (riscv_subset_list::check_implied_ext): Ditto. |
| 64 | + (riscv_subset_list::handle_combine_ext): Use riscv_ext_info_t |
| 65 | + rather than riscv_combine_info. |
| 66 | + (riscv_minimal_hwprobe_feature_bits): Use riscv_ext_info_t |
| 67 | + rather than riscv_implied_info. |
| 68 | + |
| 69 | +2025-05-13 Kito Cheng < [email protected]> |
| 70 | + |
| 71 | + * common/config/riscv/riscv-common.cc (riscv_ext_info_t): New |
| 72 | + struct. |
| 73 | + (opt_var_ref_t): Adjust order. |
| 74 | + (cl_opt_var_ref_t): Ditto. |
| 75 | + (riscv_ext_flag_table_t): Adjust order, and add a new construct |
| 76 | + that not hold the extension name. |
| 77 | + (riscv_version_t): New struct. |
| 78 | + (riscv_implied_info_t): Adjust order, and add a new construct that not |
| 79 | + hold the extension name. |
| 80 | + (apply_extra_extension_flags): New function. |
| 81 | + (riscv_ext_infos): New. |
| 82 | + (riscv_implied_info): Adjust. |
| 83 | + * config/riscv/riscv-opts.h (EXT_FLAG_MACRO): New macro. |
| 84 | + (BITMASK_NOT_YET_ALLOCATED): New macro. |
| 85 | + |
| 86 | +2025-05-13 Kito Cheng < [email protected]> |
| 87 | + |
| 88 | + * common/config/riscv/riscv-common.cc (riscv_can_inline_p): Drop |
| 89 | + extension flags check from `target_flags`. |
| 90 | + * config/riscv/riscv-subset.h (riscv_x_target_flags_isa_mask): |
| 91 | + Remove. |
| 92 | + * config/riscv/riscv.cc (riscv_x_target_flags_isa_mask): Remove. |
| 93 | + |
| 94 | +2025-05-13 Kito Cheng < [email protected]> |
| 95 | + |
| 96 | + * doc/invoke.texi: Replace hand‑written extension table with |
| 97 | + `@include riscv-ext.texi` to pull in auto‑generated entries. |
| 98 | + * doc/riscv-ext.texi: New generated definition file |
| 99 | + containing formatted documentation entries for each extension. |
| 100 | + * Makefile.in: Add riscv-ext.texi to the list of files to be |
| 101 | + processed by the Texinfo generator. |
| 102 | + * config/riscv/gen-riscv-ext-texi.cc: New. |
| 103 | + * config/riscv/t-riscv: Add rule for generating riscv-ext.texi. |
| 104 | + |
| 105 | +2025-05-13 Kito Cheng < [email protected]> |
| 106 | + |
| 107 | + * config/riscv/gen-riscv-ext-opt.cc: New. |
| 108 | + * config/riscv/riscv.opt: Drop manual entries for target |
| 109 | + options, and include riscv-ext.opt. |
| 110 | + * config/riscv/riscv-ext.opt: New. |
| 111 | + * config/riscv/riscv-ext.opt.urls: New. |
| 112 | + * config.gcc: Add riscv-ext.opt to the list of target options files. |
| 113 | + * common/config/riscv/riscv-common.cc (riscv_ext_flag_table): Adjsut target |
| 114 | + option variable entry. |
| 115 | + (riscv_set_arch_by_subset_list): Adjust target option variable. |
| 116 | + * config/riscv/riscv-c.cc (riscv_ext_flag_table): Adjust target |
| 117 | + option variable entry. |
| 118 | + * config/riscv/riscv-vector-builtins.cc (pragma_intrinsic_flags): |
| 119 | + Adjust variable name. |
| 120 | + (riscv_pragma_intrinsic_flags_pollute): Adjust variable name. |
| 121 | + (riscv_pragma_intrinsic_flags_restore): Ditto. |
| 122 | + * config/riscv/t-riscv: Add the rule for generating |
| 123 | + riscv-ext.opt. |
| 124 | + * config/riscv/riscv-opts.h (TARGET_MIN_VLEN): Update. |
| 125 | + (TARGET_MIN_VLEN_OPTS): Update. |
| 126 | + |
| 127 | +2025-05-13 Kito Cheng < [email protected]> |
| 128 | + |
| 129 | + * config/riscv/riscv-ext.def: New file; define extension metadata table. |
| 130 | + * config/riscv/riscv-ext-corev.def: New. |
| 131 | + * config/riscv/riscv-ext-sifive.def: New. |
| 132 | + * config/riscv/riscv-ext-thead.def: New. |
| 133 | + * config/riscv/riscv-ext-ventana.def: New. |
| 134 | + |
| 135 | +2025-05-13 David Malcolm < [email protected]> |
| 136 | + |
| 137 | + PR other/116792 |
| 138 | + * diagnostic-format-html.cc: Include "diagnostic-format-text.h", |
| 139 | + "pretty-print-urlifier.h" and "edit-context.h". |
| 140 | + (html_builder::html_builder): Fix indentation in decl. |
| 141 | + (html_builder::make_element_for_diagnostic): Split out metadata |
| 142 | + code into make_element_for_metadata. Call |
| 143 | + make_element_for_source, make_element_for_path, and |
| 144 | + make_element_for_patch. |
| 145 | + (html_builder::make_element_for_source): New. |
| 146 | + (html_builder::make_element_for_path): New. |
| 147 | + (html_builder::make_element_for_patch): New. |
| 148 | + (html_builder::make_metadata_element): New. |
| 149 | + (html_builder::make_element_for_metadata): New. |
| 150 | + (html_output_format::get_builder): New. |
| 151 | + (selftest::test_html_diagnostic_context::get_builder): New. |
| 152 | + (selftest::test_simple_log): Update test to print a quoted string, |
| 153 | + and verify that it uses a "gcc-quoted-text" span. |
| 154 | + (selftest::test_metadata): New. |
| 155 | + (selftest::diagnostic_format_html_cc_tests): Call it. |
| 156 | + |
1 | 157 | 2025-05-13 Andrew MacLeod < [email protected]>
|
2 | 158 |
|
3 | 159 | * tree-ssanames.cc (set_bitmask): Use int_range_max for temps.
|
|
0 commit comments