|
| 1 | +2025-02-02 Gaius Mulley <gaiusmod2@gmail.com> |
| 2 | + |
| 3 | + PR modula2/117411 |
| 4 | + * doc/gm2.texi (Exception handling): New section. |
| 5 | + (The ISO system module): Add description of COFF_T. |
| 6 | + (Assembler language): Tidy up last sentance. |
| 7 | + |
| 8 | +2025-02-02 Lewis Hyatt <lhyatt@gmail.com> |
| 9 | + |
| 10 | + PR middle-end/115913 |
| 11 | + * optc-save-gen.awk (cl_optimization_compare): Skip options with |
| 12 | + CL_WARNING flag. |
| 13 | + |
| 14 | +2025-02-01 H.J. Lu <hjl.tools@gmail.com> |
| 15 | + |
| 16 | + PR target/118713 |
| 17 | + * config/i386/i386-expand.cc (ix86_expand_call): Change "if |
| 18 | + (TARGET_X32 ...)" back to "else if (TARGET_X32 ...)". |
| 19 | + |
| 20 | +2025-02-01 H.J. Lu <hjl.tools@gmail.com> |
| 21 | + |
| 22 | + PR target/118713 |
| 23 | + * config/i386/constraints.md (Bs): Always disable if |
| 24 | + TARGET_INDIRECT_BRANCH_REGISTER is true. |
| 25 | + (Bw): Likewise. |
| 26 | + * config/i386/i386-expand.cc (ix86_expand_call): Force indirect |
| 27 | + call via register for x32 GOT slot call if |
| 28 | + TARGET_INDIRECT_BRANCH_REGISTER is true. |
| 29 | + * config/i386/i386-protos.h (ix86_nopic_noplt_attribute_p): New. |
| 30 | + * config/i386/i386.cc (ix86_nopic_noplt_attribute_p): Make it |
| 31 | + global. |
| 32 | + * config/i386/i386.md (*call_got_x32): Disable indirect call via |
| 33 | + memory for TARGET_INDIRECT_BRANCH_REGISTER. |
| 34 | + (*call_value_got_x32): Likewise. |
| 35 | + (*sibcall_value_pop_memory): Likewise. |
| 36 | + * config/i386/predicates.md (constant_call_address_operand): |
| 37 | + Return false if both TARGET_INDIRECT_BRANCH_REGISTER and |
| 38 | + ix86_nopic_noplt_attribute_p are true. |
| 39 | + |
| 40 | +2025-02-01 David Malcolm <dmalcolm@redhat.com> |
| 41 | + |
| 42 | + * libsarifreplay.cc (sarif_replayer::handle_run_obj): Pass run to |
| 43 | + handle_result_obj. |
| 44 | + (sarif_replayer::handle_result_obj): Add run_obj param and pass it |
| 45 | + to handle_location_object and handle_thread_flow_object. |
| 46 | + (sarif_replayer::handle_thread_flow_object): Add run_obj param and |
| 47 | + pass it to handle_thread_flow_location_object. |
| 48 | + (sarif_replayer::handle_thread_flow_location_object): Add run_obj |
| 49 | + param and pass it to handle_location_object. |
| 50 | + (sarif_replayer::handle_location_object): Add run_obj param and |
| 51 | + pass it to handle_logical_location_object. |
| 52 | + (sarif_replayer::handle_logical_location_object): Add run_obj |
| 53 | + param. If the run_obj is non-null and has "logicalLocations", |
| 54 | + then use these "cached" logical locations if we see an "index" |
| 55 | + property, as per §3.33.3 |
| 56 | + |
| 57 | +2025-02-01 Jeff Law <jlaw@ventanamicro.com> |
| 58 | + |
| 59 | + PR tree-optimization/114277 |
| 60 | + * match.pd (a * (a || b) -> a): New pattern. |
| 61 | + (a * !(a || b) -> 0): Likewise. |
| 62 | + |
| 63 | +2025-01-31 Jakub Jelinek <jakub@redhat.com> |
| 64 | + |
| 65 | + PR ipa/117432 |
| 66 | + * ipa-icf-gimple.cc (func_checker::compare_asm_inputs_outputs): |
| 67 | + Also return_false if operands have incompatible types. |
| 68 | + (func_checker::compare_gimple_call): Check fntype1 vs. fntype2 |
| 69 | + compatibility for all non-internal calls and assume fntype1 and |
| 70 | + fntype2 are non-NULL for those. For calls to non-prototyped |
| 71 | + calls or for stdarg_p functions after the last named argument (if any) |
| 72 | + check type compatibility of call arguments. |
| 73 | + |
| 74 | +2025-01-31 Vladimir N. Makarov <vmakarov@redhat.com> |
| 75 | + |
| 76 | + PR rtl-optimization/116234 |
| 77 | + * lra-constraints.cc (multiple_insn_refs_p): New function. |
| 78 | + (curr_insn_transform): Use it. |
| 79 | + |
| 80 | +2025-01-31 Richard Biener <rguenther@suse.de> |
| 81 | + |
| 82 | + PR debug/100530 |
| 83 | + * dwarf2out.cc (modified_type_die): Do not claim we handle |
| 84 | + address-space qualification with dwarf_qual_info[]. |
| 85 | + |
| 86 | +2025-01-31 Jakub Jelinek <jakub@redhat.com> |
| 87 | + |
| 88 | + PR tree-optimization/118689 |
| 89 | + PR modula2/115032 |
| 90 | + * tree-ssa-loop-niter.cc (build_cltz_expr): Return NULL_TREE if fn is |
| 91 | + NULL and use_ifn is false. |
| 92 | + |
| 93 | +2025-01-31 Richard Biener <rguenther@suse.de> |
| 94 | + |
| 95 | + * tree-vect-loop.cc (vect_analyze_loop_operations): Only |
| 96 | + call vectorizable_lc_phi when not PURE_SLP. |
| 97 | + (vectorizable_reduction): Do not claim having handled |
| 98 | + the inner loop LC PHI for outer loop vectorization. |
| 99 | + |
| 100 | +2025-01-30 Georg-Johann Lay <avr@gjlay.de> |
| 101 | + |
| 102 | + * config/avr/builtins.def (STRLEN_FLASH, STRLEN_FLASHX) |
| 103 | + (STRLEN_MEMX): New DEF_BUILTIN's. |
| 104 | + * config/avr/avr.cc (avr_ftype_strlen): New static function. |
| 105 | + (avr_builtin_supported_p): New built-ins are not for AVR_TINY. |
| 106 | + (avr_init_builtins) <strlen_flash_node, strlen_flashx_node, |
| 107 | + strlen_memx_node>: Provide new fntypes. |
| 108 | + (avr_fold_builtin) [AVR_BUILTIN_STRLEN_FLASH] |
| 109 | + [AVR_BUILTIN_STRLEN_FLASHX, AVR_BUILTIN_STRLEN_MEMX]: Fold if |
| 110 | + possible. |
| 111 | + * doc/extend.texi (AVR Built-in Functions): Document |
| 112 | + __builtin_avr_strlen_flash, __builtin_avr_strlen_flashx, |
| 113 | + __builtin_avr_strlen_memx. |
| 114 | + |
| 115 | +2025-01-30 Georg-Johann Lay <avr@gjlay.de> |
| 116 | + |
| 117 | + * config/avr/builtins.def (AVR_FIRST_C_ONLY_BUILTIN_ID): New macro. |
| 118 | + * config/avr/avr-protos.h (avr_builtin_supported_p): New. |
| 119 | + * config/avr/avr.cc (avr_builtin_supported_p): New function. |
| 120 | + (avr_init_builtins): Only provide a built-in when it is supported. |
| 121 | + * config/avr/avr-c.cc (avr_cpu_cpp_builtins): Only define the |
| 122 | + __BUILTIN_AVR_<NAME> build-in defines when the associated built-in |
| 123 | + function is supported. |
| 124 | + * doc/extend.texi (AVR Built-in Functions): Add a note that |
| 125 | + following built-ins are supported for only for GNU-C. |
| 126 | + |
| 127 | +2025-01-30 Jakub Jelinek <jakub@redhat.com> |
| 128 | + Stefan Schulze Frielinghaus <stefansf@gcc.gnu.org> |
| 129 | + |
| 130 | + PR target/118696 |
| 131 | + * config/s390/vector.md (*vec_cmpgt<mode><mode>_nocc_emu, |
| 132 | + *vec_cmpgtu<mode><mode>_nocc_emu): Duplicate the first rather than |
| 133 | + second V2DImode element. |
| 134 | + |
| 135 | +2025-01-30 Richard Biener <rguenther@suse.de> |
| 136 | + |
| 137 | + PR middle-end/118695 |
| 138 | + * expr.cc (expand_expr_real_1): When expanding a MEM_REF |
| 139 | + to a non-MEM by committing it to a stack temporary make |
| 140 | + sure to handle misaligned accesses correctly. |
| 141 | + |
| 142 | +2025-01-30 Tobias Burnus <tburnus@baylibre.com> |
| 143 | + |
| 144 | + * gimplify.cc (gimplify_call_expr): For OpenMP's append_args clause |
| 145 | + processed by 'omp dispatch', update for internal-representation |
| 146 | + changes; fix handling of hidden arguments, add some comments and |
| 147 | + handle Fortran's value dummy and optional/pointer/allocatable actual |
| 148 | + args. |
| 149 | + |
| 150 | +2025-01-30 Richard Biener <rguenther@suse.de> |
| 151 | + |
| 152 | + PR middle-end/118692 |
| 153 | + * expr.cc (expand_expr_real_1): When expanding a MEM_REF |
| 154 | + as BIT_FIELD_REF avoid large offsets for accesses not |
| 155 | + overlapping the base object. |
| 156 | + |
| 157 | +2025-01-30 Richard Biener <rguenther@suse.de> |
| 158 | + |
| 159 | + PR tree-optimization/114052 |
| 160 | + * tree-ssa-loop-niter.cc (maybe_lower_iteration_bound): Check |
| 161 | + for infinite subloops we might not exit. |
| 162 | + |
| 163 | +2025-01-30 Richard Sandiford <richard.sandiford@arm.com> |
| 164 | + |
| 165 | + PR rtl-optimization/118320 |
| 166 | + * pair-fusion.cc (pair_fusion_bb_info::fuse_pair): Commonize |
| 167 | + the merge of input_uses and return early if it fails. |
| 168 | + |
| 169 | +2025-01-29 Gaius Mulley <gaiusmod2@gmail.com> |
| 170 | + |
| 171 | + PR modula2/118010 |
| 172 | + PR modula2/118183 |
| 173 | + PR modula2/116073 |
| 174 | + * doc/gm2.texi (-fm2-file-offset-bits=): Change the default size |
| 175 | + description to CSSIZE_T. |
| 176 | + Add COFF_T to the list of data types exported by SYSTEM.def. |
| 177 | + |
| 178 | +2025-01-29 Richard Sandiford <richard.sandiford@arm.com> |
| 179 | + |
| 180 | + PR rtl-optimization/118429 |
| 181 | + * pair-fusion.cc (latest_hazard_before): Add an extra parameter |
| 182 | + to say whether the instruction is a load or a store. If the |
| 183 | + instruction is not a load or store and has memory side effects, |
| 184 | + prevent it from being moved earlier. |
| 185 | + (pair_fusion::find_trailing_add): Update call accordingly. |
| 186 | + (pair_fusion_bb_info::fuse_pair): If the trailng addition had |
| 187 | + a memory side-effect, use a tombstone to preserve it. |
| 188 | + |
| 189 | +2025-01-29 Georg-Johann Lay <avr@gjlay.de> |
| 190 | + |
| 191 | + * config/avr/avr.md (*negsi2.libgcc): New insn. |
| 192 | + |
| 193 | +2025-01-29 Yoshinori Sato <ysato@users.sourceforge.jp> |
| 194 | + |
| 195 | + * config/rx/constraints.md (Q): Also check that the address |
| 196 | + passes rx_is_restricted_memory-address. |
| 197 | + |
| 198 | +2025-01-29 Andrew Pinski <quic_apinski@quicinc.com> |
| 199 | + |
| 200 | + PR tree-optimization/118505 |
| 201 | + * gimple-ssa-split-paths.cc (poor_ifcvt_pred): Return |
| 202 | + true for trapping statements. |
| 203 | + |
| 204 | +2025-01-29 Andrew Pinski <quic_apinski@quicinc.com> |
| 205 | + |
| 206 | + * gimple-ssa-split-paths.cc (poor_ifcvt_candidate_code): Remove CALL_EXPR handling. |
| 207 | + |
| 208 | +2025-01-29 Martin Jambor <mjambor@suse.cz> |
| 209 | + Michal Jireš <mjires@suse.cz> |
| 210 | + |
| 211 | + PR tree-optimization/117892 |
| 212 | + * tree-ssa-dse.cc (dse_optimize_call): Leave control-altering |
| 213 | + noreturn calls alone. |
| 214 | + |
| 215 | +2025-01-29 Pan Li <pan2.li@intel.com> |
| 216 | + |
| 217 | + PR target/117688 |
| 218 | + * config/riscv/riscv.cc (riscv_expand_sstrunc): Leverage the helper |
| 219 | + riscv_extend_to_xmode_reg with SIGN_EXTEND. |
| 220 | + |
| 221 | +2025-01-29 Pan Li <pan2.li@intel.com> |
| 222 | + |
| 223 | + PR target/117688 |
| 224 | + * config/riscv/riscv.cc (riscv_expand_sssub): Leverage the helper |
| 225 | + riscv_extend_to_xmode_reg with SIGN_EXTEND. |
| 226 | + |
| 227 | +2025-01-29 Pan Li <pan2.li@intel.com> |
| 228 | + |
| 229 | + PR target/117688 |
| 230 | + * config/riscv/riscv.cc (riscv_expand_ssadd): Leverage the helper |
| 231 | + riscv_extend_to_xmode_reg with SIGN_EXTEND. |
| 232 | + |
| 233 | +2025-01-29 Pan Li <pan2.li@intel.com> |
| 234 | + |
| 235 | + * config/riscv/riscv.cc (riscv_gen_zero_extend_rtx): Rename from ... |
| 236 | + (riscv_extend_to_xmode_reg): Rename to and add rtx_code for |
| 237 | + zero/sign extend if non-Xmode. |
| 238 | + (riscv_expand_usadd): Leverage the renamed function with ZERO_EXTEND. |
| 239 | + (riscv_expand_ussub): Ditto. |
| 240 | + |
| 241 | +2025-01-29 Richard Biener <rguenther@suse.de> |
| 242 | + |
| 243 | + PR middle-end/118684 |
| 244 | + * expr.cc (expand_expr_real_1): When creating a stack local |
| 245 | + during expansion of a handled component, when the base is |
| 246 | + a SSA_NAME use its type alignment and avoid calling |
| 247 | + get_object_alignment. |
| 248 | + |
| 249 | +2025-01-28 Richard Biener <rguenther@suse.de> |
| 250 | + |
| 251 | + PR middle-end/118684 |
| 252 | + * expr.cc (expand_expr_real_1): When expanding a reference |
| 253 | + based on a register and we end up needing a MEM make sure |
| 254 | + that's aligned as the original reference required. |
| 255 | + |
| 256 | +2025-01-28 David Malcolm <dmalcolm@redhat.com> |
| 257 | + |
| 258 | + * input.cc (file_cache_slot::dump): Show indices within |
| 259 | + m_line_record when dumping entries. |
| 260 | + |
| 261 | +2025-01-28 David Malcolm <dmalcolm@redhat.com> |
| 262 | + |
| 263 | + PR other/118675 |
| 264 | + * diagnostic-format-sarif.cc: Define INCLUDE_STRING. |
| 265 | + (escape_braces): New. |
| 266 | + (set_string_property_escaping_braces): New. |
| 267 | + (sarif_builder::make_message_object): Escape braces in the "text" |
| 268 | + property. |
| 269 | + (sarif_builder::make_message_object_for_diagram): Likewise, and |
| 270 | + for the "markdown" property. |
| 271 | + (sarif_builder::make_multiformat_message_string): Likewise for the |
| 272 | + "text" property. |
| 273 | + (xelftest::test_message_with_braces): New. |
| 274 | + (selftest::diagnostic_format_sarif_cc_tests): Call it. |
| 275 | + |
| 276 | +2025-01-28 Richard Sandiford <richard.sandiford@arm.com> |
| 277 | + |
| 278 | + PR tree-optimization/117270 |
| 279 | + * tree-vect-slp.cc (vectorizable_slp_permutation_1): Make nperms |
| 280 | + account for the number of times that each permutation will be used |
| 281 | + during transformation. |
| 282 | + |
| 283 | +2025-01-28 Richard Biener <rguenther@suse.de> |
| 284 | + |
| 285 | + PR tree-optimization/112859 |
| 286 | + * tree-loop-distribution.cc |
| 287 | + (loop_distribution::pg_add_dependence_edges): Add comment. |
| 288 | + |
| 289 | +2025-01-28 Vladimir N. Makarov <vmakarov@redhat.com> |
| 290 | + |
| 291 | + PR target/118663 |
| 292 | + * lra-constraints.cc (invalid_mode_reg_p): Check empty |
| 293 | + reg_class_contents. |
| 294 | + |
| 295 | +2025-01-28 Richard Biener <rguenther@suse.de> |
| 296 | + |
| 297 | + PR tree-optimization/117424 |
| 298 | + * tree-eh.cc (tree_could_trap_p): Verify the base is |
| 299 | + fully contained within a decl. |
| 300 | + |
| 301 | +2025-01-28 Thomas Schwinge <tschwinge@baylibre.com> |
| 302 | + |
| 303 | + * tree-pretty-print.cc (dump_omp_clause): Clarify |
| 304 | + 'OMP_CLAUSE_MAP_RUNTIME_IMPLICIT_P'. |
| 305 | + |
| 306 | +2025-01-28 Jakub Jelinek <jakub@redhat.com> |
| 307 | + |
| 308 | + PR rtl-optimization/118638 |
| 309 | + * combine.cc (make_extraction): Only optimize (mult x 2^n) if len is |
| 310 | + larger than 1. |
| 311 | + |
| 312 | +2025-01-28 Richard Sandiford <richard.sandiford@arm.com> |
| 313 | + |
| 314 | + * tree-vect-slp.cc (vectorizable_slp_permutation_1): Remove |
| 315 | + extra newline from dump message. |
| 316 | + |
| 317 | +2025-01-28 Jeff Law <jlaw@ventanamicro.com> |
| 318 | + |
| 319 | + PR target/114085 |
| 320 | + * config/h8300/constraints.md (U): No longer accept REGs. |
| 321 | + * config/h8300/logical.md (andqi3_2): Use "rU" rather than "U". |
| 322 | + (andqi3_2_clobber_flags, andqi3_1, <code>qi3_1): Likewise. |
| 323 | + * config/h8300/testcompare.md (tst_extzv_1_n): Likewise. |
| 324 | + |
| 325 | +2025-01-27 Robin Dapp <rdapp@ventanamicro.com> |
| 326 | + |
| 327 | + PR target/117173 |
| 328 | + * config/riscv/riscv-v.cc (shuffle_generic_patterns): Only |
| 329 | + support single-source permutes by default. |
| 330 | + * config/riscv/riscv.opt: New param "riscv-two-source-permutes". |
| 331 | + |
| 332 | +2025-01-27 John David Anglin <danglin@gcc.gnu.org> |
| 333 | + |
| 334 | + PR c++/116524 |
| 335 | + * configure.ac: Check for munmap and msync. |
| 336 | + * configure: Regenerate. |
| 337 | + * config.in: Regenerate. |
| 338 | + |
| 339 | +2025-01-27 Richard Biener <rguenther@suse.de> |
| 340 | + |
| 341 | + PR tree-optimization/118653 |
| 342 | + * tree-vect-loop.cc (vectorizable_live_operation): Also allow |
| 343 | + out-of-loop debug uses. |
| 344 | + |
| 345 | +2025-01-27 Richard Biener <rguenther@suse.de> |
| 346 | + |
| 347 | + PR rtl-optimization/118662 |
| 348 | + * combine.cc (try_combine): When re-materializing a load |
| 349 | + from an extended reg by a lowpart subreg make sure we're |
| 350 | + not dealing with vector or complex modes. |
| 351 | + |
| 352 | +2025-01-27 Richard Biener <rguenther@suse.de> |
| 353 | + |
| 354 | + PR middle-end/118643 |
| 355 | + * expr.cc (expand_expr_real_1): Avoid falling back to BIT_FIELD_REF |
| 356 | + expansion for negative offset. |
| 357 | + |
| 358 | +2025-01-27 Richard Biener <rguenther@suse.de> |
| 359 | + |
| 360 | + PR tree-optimization/112859 |
| 361 | + PR tree-optimization/115347 |
| 362 | + * tree-loop-distribution.cc |
| 363 | + (loop_distribution::pg_add_dependence_edges): For a zero |
| 364 | + distance vector still make sure to not have an inner |
| 365 | + loop with zero distance. |
| 366 | + |
| 367 | +2025-01-27 Jakub Jelinek <jakub@redhat.com> |
| 368 | + |
| 369 | + PR tree-optimization/118637 |
| 370 | + * match.pd: Canonicalize unsigned division by power of two to |
| 371 | + right shift. |
| 372 | + |
| 373 | +2025-01-27 Soumya AR <soumyaa@nvidia.com> |
| 374 | + |
| 375 | + PR target/118490 |
| 376 | + * match.pd: Added ! to verify that log/exp (CST) can be constant folded. |
| 377 | + |
| 378 | +2025-01-26 Ilya Leoshkevich <iii@linux.ibm.com> |
| 379 | + |
| 380 | + * asan.cc (asan_emit_stack_protection): Always zero the flag |
| 381 | + unless it is cleared by the __asan_stack_free_N() libcall. |
| 382 | + |
| 383 | +2025-01-26 Pan Li <pan2.li@intel.com> |
| 384 | + |
| 385 | + PR target/118103 |
| 386 | + * config/riscv/riscv.cc (riscv_conditional_register_usage): Add |
| 387 | + the FRM as the global_regs. |
| 388 | + |
1 | 389 | 2025-01-25 Andi Kleen <ak@gcc.gnu.org>
|
2 | 390 |
|
3 | 391 | PR preprocessor/118168
|
|
0 commit comments