|
| 1 | +2025-04-28 David Malcolm < [email protected]> |
| 2 | + |
| 3 | + PR analyzer/97111 |
| 4 | + * doc/invoke.texi: Add -Wanalyzer-throw-of-unexpected-type. |
| 5 | + * gimple.h (gimple_call_nothrow_p): Make arg const. |
| 6 | + |
| 7 | +2025-04-28 David Malcolm < [email protected]> |
| 8 | + |
| 9 | + * diagnostic-format-json.cc: Drop include of "make-unique.h". |
| 10 | + Replace uses of ::make_unique with std::make_unique. |
| 11 | + * diagnostic-format-sarif.cc: Likewise. |
| 12 | + * diagnostic-format-text.cc: Likewise. |
| 13 | + * diagnostic.cc: Likewise. |
| 14 | + * dumpfile.cc: Likewise. |
| 15 | + * gcc-attribute-urlifier.cc: Likewise. |
| 16 | + * gcc-urlifier.cc: Likewise. |
| 17 | + * json-parsing.cc: Likewise. |
| 18 | + * json.cc: Likewise. |
| 19 | + * lazy-diagnostic-path.cc: Likewise. |
| 20 | + * libgdiagnostics.cc: Likewise. |
| 21 | + * libsarifreplay.cc: Likewise. |
| 22 | + * lto-wrapper.cc: Likewise. |
| 23 | + * make-unique.h: Delete. |
| 24 | + * opts-diagnostic.cc: Drop include of "make-unique.h". |
| 25 | + Replace uses of ::make_unique with std::make_unique. |
| 26 | + * pretty-print.cc: Likewise. |
| 27 | + * text-art/style.cc: Likewise. |
| 28 | + * text-art/styled-string.cc: Likewise. |
| 29 | + * text-art/table.cc: Likewise. |
| 30 | + * text-art/tree-widget.cc: Likewise. |
| 31 | + * text-art/widget.cc: Likewise. |
| 32 | + * timevar.cc: Likewise. |
| 33 | + * toplev.cc: Likewise. |
| 34 | + * tree-diagnostic-client-data-hooks.cc: Likewise. |
| 35 | + |
| 36 | +2025-04-28 David Malcolm < [email protected]> |
| 37 | + |
| 38 | + * pass_manager.h (class pass_manager): Add "m_" prefix to all pass |
| 39 | + fields. |
| 40 | + * passes.cc (pass_manager::execute_early_local_passes): Update |
| 41 | + for added "m_" prefix. |
| 42 | + (pass_manager::execute_pass_mode_switching): Likewise. |
| 43 | + (pass_manager::finish_optimization_passes): Likewise. |
| 44 | + (pass_manager::pass_manager): Likewise. |
| 45 | + (pass_manager::dump_profile_report): Likewise. |
| 46 | + |
| 47 | +2025-04-28 David Malcolm < [email protected]> |
| 48 | + |
| 49 | + * diagnostic.h (diagnostic_context::m_opt_permissive): Convert |
| 50 | + from int to diagnostic_option_id. Update comment. |
| 51 | + |
| 52 | +2025-04-28 David Malcolm < [email protected]> |
| 53 | + |
| 54 | + * diagnostic.h (diagnostic_context::set_abort_on_error): New. |
| 55 | + (diagnostic_context::m_abort_on_error): Make private. |
| 56 | + (diagnostic_abort_on_error): Delete. |
| 57 | + * opts.cc (setup_core_dumping): Update for above changes. |
| 58 | + |
| 59 | +2025-04-28 David Malcolm < [email protected]> |
| 60 | + |
| 61 | + * diagnostic-format-sarif.cc (sarif_builder::get_opts): New |
| 62 | + accessor. |
| 63 | + (sarif_builder::get_version): Update for... |
| 64 | + (sarif_builder::m_version): Replace this field... |
| 65 | + (sarif_builder::m_m_sarif_gen_opts): ...with this. |
| 66 | + (sarif_builder::sarif_builder): Replace version with |
| 67 | + sarif_gen_opts throughout. |
| 68 | + (sarif_builder::make_top_level_object): Use get_version. |
| 69 | + (sarif_output_format::sarif_output_format): Replace version with |
| 70 | + sarif_gen_opts throughout. |
| 71 | + (sarif_stream_output_format::sarif_stream_output_format): |
| 72 | + Likewise. |
| 73 | + (sarif_file_output_format::sarif_file_output_format): Likewise. |
| 74 | + (diagnostic_output_format_init_sarif_stderr): Drop version param |
| 75 | + and use default for sarif_generation_options instead. |
| 76 | + (diagnostic_output_format_init_sarif_file): Likewise. |
| 77 | + (diagnostic_output_format_init_sarif_stream): Likewise. |
| 78 | + (make_sarif_sink): Replace version with sarif_gen_opts throughout. |
| 79 | + (sarif_generation_options::sarif_generation_options): New. |
| 80 | + (selftest::test_sarif_diagnostic_context::test_sarif_diagnostic_context): |
| 81 | + Replace version with sarif_gen_opts throughout. |
| 82 | + (selftest::test_make_location_object): Likewise. |
| 83 | + (selftest::test_simple_log): Likewise. |
| 84 | + (selftest::test_simple_log_2): Likewise. |
| 85 | + (selftest::test_message_with_embedded_link): Likewise. |
| 86 | + (selftest::test_message_with_braces): Likewise. |
| 87 | + (selftest::test_buffering): Likewise. |
| 88 | + (selftest::run_tests_per_version): Replace with... |
| 89 | + (selftest::for_each_sarif_gen_option): ...this... |
| 90 | + (selftest::run_line_table_case_tests_per_version): ...and this. |
| 91 | + (selftest::diagnostic_format_sarif_cc_tests): Update to use |
| 92 | + for_each_sarif_gen_option and |
| 93 | + run_line_table_case_tests_per_version. |
| 94 | + * diagnostic-format-sarif.h (enum class sarif_version): Move lower |
| 95 | + down. |
| 96 | + (diagnostic_output_format_init_sarif_stderr): Drop "version" |
| 97 | + param. |
| 98 | + (diagnostic_output_format_init_sarif_file): Likewise. |
| 99 | + (diagnostic_output_format_init_sarif_stream): Likewise. |
| 100 | + (struct sarif_generation_options): New. |
| 101 | + (make_sarif_sink): Add "formatted" param. Replace version param |
| 102 | + with sarif_gen_opts. |
| 103 | + * diagnostic.cc (diagnostic_output_format_init): Drop hardcoded |
| 104 | + sarif_version::v2_1_0 arguments from calls, which instead use |
| 105 | + the default ctor for sarif_generation_options internally. |
| 106 | + * libgdiagnostics.cc (sarif_sink::sarif_sink): Replace version |
| 107 | + param with sarif_gen_opts, and update for changes to |
| 108 | + make_sarif_sink. |
| 109 | + (diagnostic_manager_add_sarif_sink): Use sarif_gen_opts rather |
| 110 | + than version. |
| 111 | + * opts-diagnostic.cc (sarif_scheme_handler::make_sink): Likewise. |
| 112 | + Pass "true" for "formatted" param. |
| 113 | + |
| 114 | +2025-04-28 Andrew MacLeod < [email protected]> |
| 115 | + |
| 116 | + * value-relation.cc (value_relation::swap): New. |
| 117 | + (value_relation::negate): Remove. |
| 118 | + (dom_oracle::next_relation): New. |
| 119 | + (block_relation_iterator::block_relation_iterator): New. |
| 120 | + (block_relation_iterator::get_next_relation): New. |
| 121 | + (dom_oracle::dump): Use iterator. |
| 122 | + * value-relation.h (relation_oracle::next_relation): New. |
| 123 | + (dom_oracle::next_relation): New prototype. |
| 124 | + (class block_relation_iterator): New. |
| 125 | + (FOR_EACH_RELATION_BB): New. |
| 126 | + (FOR_EACH_RELATION_NAME): New. |
| 127 | + |
| 128 | +2025-04-28 Andrew MacLeod < [email protected]> |
| 129 | + |
| 130 | + * range-op-ptr.cc (range_operator::lhs_op1_relation): Add |
| 131 | + prange/prange/irange (PPI) default. |
| 132 | + (pointer_plus_operator::lhs_op1_relation): New. |
| 133 | + * range-op.cc (range_op_handler::lhs_op1_relation): Add RO_PPI case. |
| 134 | + * range-op.h (range_op_handler::lhs_op1_relation): Add prototype. |
| 135 | + |
| 136 | +2025-04-28 Andrew MacLeod < [email protected]> |
| 137 | + |
| 138 | + * gimple-range-fold.cc (fold_using_range::range_of_range_op): Use a |
| 139 | + new local variable for intermediate relation results. |
| 140 | + |
| 141 | +2025-04-28 Andrew MacLeod < [email protected]> |
| 142 | + |
| 143 | + * gimple-range-cache.cc (ranger_cache::apply_inferred_ranges): Pass |
| 144 | + 'this' as the range-query to the inferred range constructor. |
| 145 | + |
| 146 | +2025-04-28 Andrew MacLeod < [email protected]> |
| 147 | + |
| 148 | + PR tree-optimization/95801 |
| 149 | + * range-op.cc (operator_div::op2_range): New. |
| 150 | + |
| 151 | +2025-04-28 Andrew MacLeod < [email protected]> |
| 152 | + |
| 153 | + PR tree-optimization/119712 |
| 154 | + * value-range.cc (range_bitmask::adjust_range): Delete. |
| 155 | + (irange::set_range_from_bitmask): Integrate adjust_range. |
| 156 | + (irange::update_bitmask): Do nothing if bitmask doesnt change. |
| 157 | + (irange:intersect_bitmask): Do not call adjust_range. Exit if there |
| 158 | + is no second bitmask. |
| 159 | + * value-range.h (adjust_range): Remove prototype. |
| 160 | + |
| 161 | +2025-04-28 Andrew Pinski < [email protected]> |
| 162 | + |
| 163 | + PR tree-optimization/67797 |
| 164 | + * tree-tailcall.cc (find_tail_calls): Add support for ERF_RETURNS_ARG. |
| 165 | + |
| 166 | +2025-04-28 Andrew Pinski < [email protected]> |
| 167 | + |
| 168 | + * tree-cfg.cc (verify_gimple_cond): Error out if the comparison |
| 169 | + throws. |
| 170 | + |
| 171 | +2025-04-28 Andrew Pinski < [email protected]> |
| 172 | + |
| 173 | + PR c/119432 |
| 174 | + * tree-pretty-print.cc (op_symbol_code): For LROTATE_EXPR, |
| 175 | + output __ROTATE_LEFT for gimple. |
| 176 | + For RROTATE_EXPR output __ROTATE_RIGHT for gimple. |
| 177 | + |
| 178 | +2025-04-28 Richard Sandiford < [email protected]> |
| 179 | + |
| 180 | + * rtl.h (native_decode_int): Declare. |
| 181 | + * simplify-rtx.cc (native_decode_int): New function, split out from... |
| 182 | + (native_decode_rtx): ...here. |
| 183 | + |
| 184 | +2025-04-28 H.J. Lu < [email protected]> |
| 185 | + |
| 186 | + |
| 187 | + PR target/109780 |
| 188 | + PR target/109093 |
| 189 | + * config/i386/i386.cc (stack_access_data): New. |
| 190 | + (ix86_update_stack_alignment): Likewise. |
| 191 | + (ix86_find_all_reg_use_1): Likewise. |
| 192 | + (ix86_find_all_reg_use): Likewise. |
| 193 | + (ix86_find_max_used_stack_alignment): Also check memory accesses |
| 194 | + from registers defined by stack or frame registers. |
| 195 | + |
| 196 | +2025-04-28 Richard Biener < [email protected]> |
| 197 | + |
| 198 | + PR ipa/119973 |
| 199 | + * tree-ssa-structalias.cc (create_variable_info_for): |
| 200 | + Build constraints from DECL_INITIAL directly rather than |
| 201 | + the IPA reference list which is incomplete. |
| 202 | + |
| 203 | +2025-04-28 Richard Biener < [email protected]> |
| 204 | + |
| 205 | + PR lto/113207 |
| 206 | + * ipa-free-lang-data.cc (fld_type_variant): Add extra checking. |
| 207 | + |
| 208 | +2025-04-28 Richard Biener < [email protected]> |
| 209 | + |
| 210 | + PR tree-optimization/119044 |
| 211 | + * tree-predcom.cc (ref_at_iteration): Copy alias info |
| 212 | + from the original ref. |
| 213 | + |
| 214 | +2025-04-28 Richard Biener < [email protected]> |
| 215 | + |
| 216 | + PR tree-optimization/119103 |
| 217 | + * tree-ssa-loop-im.cc (in_loop_pipeline): Globalize. |
| 218 | + (compute_invariantness): Override costing when we run |
| 219 | + right before PRE and PRE is enabled. |
| 220 | + (pass_lim::execute): Adjust. |
| 221 | + * tree-vect-patterns.cc (vect_determine_precisions_from_users): |
| 222 | + For variable shift amounts use range information. |
| 223 | + |
| 224 | +2025-04-28 Richard Biener < [email protected]> |
| 225 | + |
| 226 | + * genmatch.cc (::gen_transform): Add in_place parameter. |
| 227 | + Assert it isn't set in unexpected places. |
| 228 | + (possible_noop_convert): New. |
| 229 | + (expr::gen_transform): Support in_place and emit code to |
| 230 | + compute a child in-place when the operation is a conversion. |
| 231 | + (dt_simplify::gen_1): Arrange for an outermost conversion |
| 232 | + to be elided by generating the transform of the operand |
| 233 | + in-place. |
| 234 | + * match.pd (__real cepxi (x) -> cos (x)): Use single_use. |
| 235 | + |
| 236 | +2025-04-28 Richard Biener < [email protected]> |
| 237 | + |
| 238 | + PR middle-end/60779 |
| 239 | + * common.opt (fcx-method=): New, map to flag_complex_method. |
| 240 | + (Enum complex_method): New. |
| 241 | + (fcx-limited-range): Alias to -fcx-method=limited-range. |
| 242 | + (fcx-fortran-rules): Alias to -fcx-medhot=fortran. |
| 243 | + * ipa-inline-transform.cc (inline_call): Check flag_complex_method. |
| 244 | + * ipa-inline.cc (can_inline_edge_by_limits_p): Likewise. |
| 245 | + * opts.cc (finish_options): Adjust. |
| 246 | + (set_fast_math_flags): Likewise. |
| 247 | + * doc/invoke.texi (fcx-method=): Document. |
| 248 | + |
| 249 | +2025-04-28 Richard Biener < [email protected]> |
| 250 | + |
| 251 | + PR middle-end/116083 |
| 252 | + * stor-layout.cc (layout_type): Compute TYPE_SIZE and |
| 253 | + TYPE_SIZE_UNIT for vector types from the component mode |
| 254 | + sizes. |
| 255 | + |
| 256 | +2025-04-28 Richard Biener < [email protected]> |
| 257 | + |
| 258 | + * tree-vect-loop.cc (vect_analyze_loop_operations): Prune |
| 259 | + all actual analysis and only fail when we discover a not |
| 260 | + SLP covered stmt. |
| 261 | + (vect_analyze_loop_2): Remove path trying without SLP. |
| 262 | + |
| 263 | +2025-04-28 Richard Biener < [email protected]> |
| 264 | + |
| 265 | + * tree-vect-loop.cc (vect_loop_kill_debug_uses): Remove. |
| 266 | + (maybe_set_vectorized_backedge_value): Likewise. |
| 267 | + (vect_transform_loop_stmt): Likewise. Move dump printing |
| 268 | + to vect_transform_stmt. |
| 269 | + (vect_transform_loop): Remove loop over loop stmts transforming |
| 270 | + them, but retain some DCE code still necessary. |
| 271 | + * tree-vect-stmts.cc (vect_transform_stmt): Dump that |
| 272 | + we're vectorizing a stmt. |
| 273 | + |
| 274 | +2025-04-28 Richard Biener < [email protected]> |
| 275 | + |
| 276 | + * params.opt (--param=vect-force-slp): Remove. |
| 277 | + * doc/invoke.texi (--param=vect-force-slp): Likewise. |
| 278 | + * tree-vect-loop.cc (vect_analyze_loop_2): Assume |
| 279 | + param_vect_force_slp is 1. |
| 280 | + * tree-vect-stmts.cc (vect_analyze_stmt): Likewise. |
| 281 | + |
| 282 | +2025-04-28 Jakub Jelinek < [email protected]> |
| 283 | + |
| 284 | + PR tree-optimization/119493 |
| 285 | + * tree-tailcall.cc (find_tail_calls): Handle non-gimple_reg_type |
| 286 | + arguments which aren't just passed through for tail recursions |
| 287 | + even for non-musttail calls. |
| 288 | + |
| 289 | +2025-04-28 LIU Hao < [email protected]> |
| 290 | + |
| 291 | + PR target/111107 |
| 292 | + * config/i386/cygming.h (STACK_REALIGN_DEFAULT): Copy from sol2.h. |
| 293 | + |
1 | 294 | 2025-04-27 H.J. Lu < [email protected]>
|
2 | 295 |
|
3 | 296 | PR c/48274
|
|
0 commit comments