[gcc r15-3560] phiopt: Move the common code between pass_phiopt and pass_cselim into a seperate function

2024-09-09 Thread Andrew Pinski via Gcc-cvs
https://gcc.gnu.org/g:b081e6c860eb9688d24365d39586bc1b4c3fe28b commit r15-3560-gb081e6c860eb9688d24365d39586bc1b4c3fe28b Author: Andrew Pinski Date: Mon Sep 9 15:34:11 2024 -0700 phiopt: Move the common code between pass_phiopt and pass_cselim into a seperate function When r14-30

[gcc r15-3559] phiopt: Use gimple_phi_result rather than PHI_RESULT [PR116643]

2024-09-09 Thread Andrew Pinski via Gcc-cvs
https://gcc.gnu.org/g:1b4497d61d47420a625240a117175a707bddb8fc commit r15-3559-g1b4497d61d47420a625240a117175a707bddb8fc Author: Andrew Pinski Date: Mon Sep 9 08:08:37 2024 -0700 phiopt: Use gimple_phi_result rather than PHI_RESULT [PR116643] This converts the uses of PHI_RESULT i

[gcc r15-3558] Don't force_reg operands[3] when it's not const0_rtx.

2024-09-09 Thread hongtao Liu via Gcc-cvs
https://gcc.gnu.org/g:c726a6643125a59e2ba6f992924a2d0098104578 commit r15-3558-gc726a6643125a59e2ba6f992924a2d0098104578 Author: liuhongt Date: Fri Sep 6 15:03:16 2024 +0800 Don't force_reg operands[3] when it's not const0_rtx. It fix the regression by a51f2fc0d80869ab079

[gcc r15-3556] diagnostics: introduce struct diagnostic_option_id

2024-09-09 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:89991f31c5ded21179b12a9f4063c2b8fabc2e3b commit r15-3556-g89991f31c5ded21179b12a9f4063c2b8fabc2e3b Author: David Malcolm Date: Mon Sep 9 19:38:13 2024 -0400 diagnostics: introduce struct diagnostic_option_id Use a new struct diagnostic_option_id rather than j

[gcc r15-3554] diagnostics: rename dc.printer to m_printer [PR116613]

2024-09-09 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:19363bf5564ffbe992265a1e69a0d99a0d29f016 commit r15-3554-g19363bf5564ffbe992265a1e69a0d99a0d29f016 Author: David Malcolm Date: Mon Sep 9 19:38:12 2024 -0400 diagnostics: rename dc.printer to m_printer [PR116613] Rename diagnostic_context's "printer" field to

[gcc r15-3555] diagnostics: replace option_hooks with a diagnostic_option_manager class

2024-09-09 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:a97448e92eb76a69b4183183d14a791f9b76cc8d commit r15-3555-ga97448e92eb76a69b4183183d14a791f9b76cc8d Author: David Malcolm Date: Mon Sep 9 19:38:12 2024 -0400 diagnostics: replace option_hooks with a diagnostic_option_manager class Introduce a diagnostic_option

[gcc r15-3553] SARIF output: fix schema URL [§3.13.3, PR116603]

2024-09-09 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:38dc2c64710aa0e6a03c0c1201477e3e75b1a0b0 commit r15-3553-g38dc2c64710aa0e6a03c0c1201477e3e75b1a0b0 Author: David Malcolm Date: Mon Sep 9 19:38:11 2024 -0400 SARIF output: fix schema URL [§3.13.3, PR116603] We were using https://raw.githubusercontent.co

[gcc r15-3552] i386: Use offsetable address constraint for double-word memory operands

2024-09-09 Thread Uros Bizjak via Gcc-cvs
https://gcc.gnu.org/g:1da79de5275de82bc810d2f8d70fbc98dbce3da5 commit r15-3552-g1da79de5275de82bc810d2f8d70fbc98dbce3da5 Author: Uros Bizjak Date: Mon Sep 9 22:33:52 2024 +0200 i386: Use offsetable address constraint for double-word memory operands Double-word memory operands are

[gcc r15-3551] analyzer: fix "unused variable 'summary_cast_reg'" warning

2024-09-09 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:6e35b0e8572a71d0e6f407cc356592a0b97fc298 commit r15-3551-g6e35b0e8572a71d0e6f407cc356592a0b97fc298 Author: David Malcolm Date: Mon Sep 9 15:30:42 2024 -0400 analyzer: fix "unused variable 'summary_cast_reg'" warning I missed this in r15-1108-g70f26314b62e2d.

[gcc r15-3550] middle-end: also optimized `popcount(a) <= 1` [PR90693]

2024-09-09 Thread Andrew Pinski via Gcc-cvs
https://gcc.gnu.org/g:75a4143d69a842d691c14a477b0ba277d8708fc7 commit r15-3550-g75a4143d69a842d691c14a477b0ba277d8708fc7 Author: Andrew Pinski Date: Thu Aug 29 12:10:44 2024 -0700 middle-end: also optimized `popcount(a) <= 1` [PR90693] This expands on optimizing `popcount(a) == 1`

[gcc r15-3549] hppa: Don't canonicalize operand order of scaled index addresses

2024-09-09 Thread John David Anglin via Gcc-cvs
https://gcc.gnu.org/g:8f3b402b6fca3e4b018e99f65bf22f478e888c16 commit r15-3549-g8f3b402b6fca3e4b018e99f65bf22f478e888c16 Author: John David Anglin Date: Mon Sep 9 10:23:00 2024 -0400 hppa: Don't canonicalize operand order of scaled index addresses pa_print_operand handles both ope

[gcc r15-3548] tree-optimization/116514 - handle pointer difference in bit-CCP

2024-09-09 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:e7d5b9aa021f6fc32810670b18ffabe543262775 commit r15-3548-ge7d5b9aa021f6fc32810670b18ffabe543262775 Author: Richard Biener Date: Wed Aug 28 14:06:48 2024 +0200 tree-optimization/116514 - handle pointer difference in bit-CCP When evaluating the difference of tw

[gcc r15-3547] tree-optimization/116647 - wrong classified double reduction

2024-09-09 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:898e3e95a6acf542baf03be95ce5bf7b3ad04276 commit r15-3547-g898e3e95a6acf542baf03be95ce5bf7b3ad04276 Author: Richard Biener Date: Mon Sep 9 11:51:24 2024 +0200 tree-optimization/116647 - wrong classified double reduction The following avoids classifying a doubl

[gcc r15-3546] Silence warning for 32-bit targets

2024-09-09 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:0171793aca4c0d4e9c8020c539bb4d3abfb91da7 commit r15-3546-g0171793aca4c0d4e9c8020c539bb4d3abfb91da7 Author: Eric Botcazou Date: Mon Sep 9 12:27:25 2024 +0200 Silence warning for 32-bit targets gcc/testsuite PR ada/115250 * gnat.dg/opt58

[gcc r15-3545] Remove problematic declaration for 32-bit targets

2024-09-09 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:4645aa79a6dfe39cb58d21ee251bfde59a6b27d4 commit r15-3545-g4645aa79a6dfe39cb58d21ee251bfde59a6b27d4 Author: Eric Botcazou Date: Mon Sep 9 12:23:42 2024 +0200 Remove problematic declaration for 32-bit targets gcc/testsuite PR ada/115246

[gcc r15-3544] gimple-fold: Move optimizing memcpy to memset to fold_stmt from fab

2024-09-09 Thread Andrew Pinski via Gcc-cvs
https://gcc.gnu.org/g:2067df800df930dd13aa20a826373bb27cfdd420 commit r15-3544-g2067df800df930dd13aa20a826373bb27cfdd420 Author: Andrew Pinski Date: Fri Sep 6 12:29:26 2024 -0700 gimple-fold: Move optimizing memcpy to memset to fold_stmt from fab I noticed this folding inside fab

[gcc r15-3543] Amend gcc.dg/vect/fast-math-vect-call-2.c

2024-09-09 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:924855daa204b4821057313cad44898445824e11 commit r15-3543-g924855daa204b4821057313cad44898445824e11 Author: Richard Biener Date: Mon Sep 9 09:41:36 2024 +0200 Amend gcc.dg/vect/fast-math-vect-call-2.c There was a reported regression on x86-64 with -march=casca

[gcc r15-3542] testsuite: Fix up pr116588.c test [PR116588]

2024-09-09 Thread Jakub Jelinek via Gcc-cvs
https://gcc.gnu.org/g:765875e2c18b8f4c346b754a19e287efaec531a5 commit r15-3542-g765875e2c18b8f4c346b754a19e287efaec531a5 Author: Jakub Jelinek Date: Mon Sep 9 09:37:26 2024 +0200 testsuite: Fix up pr116588.c test [PR116588] The test as committed without the tree-vrp.cc change only

[gcc r15-3541] Match: Fix ordered and nonequal: Fix 'gcc.dg/opt-ordered-and-nonequal-1.c' re 'LOGICAL_OP_NON_SHORT_

2024-09-09 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:00b35424cbdd0985e87e6de2c381ee3c3f7fdc21 commit r15-3541-g00b35424cbdd0985e87e6de2c381ee3c3f7fdc21 Author: Thomas Schwinge Date: Mon Sep 9 08:39:10 2024 +0200 Match: Fix ordered and nonequal: Fix 'gcc.dg/opt-ordered-and-nonequal-1.c' re 'LOGICAL_OP_NON_SHORT_CIRCUIT'

[gcc r15-3540] phiopt: Small refactoring/cleanup of non-ssa name case of factor_out_conditional_operation

2024-09-09 Thread Andrew Pinski via Gcc-cvs
https://gcc.gnu.org/g:d1b3d099dd5789e3e7943ed23a9cd8c6c9689b2b commit r15-3540-gd1b3d099dd5789e3e7943ed23a9cd8c6c9689b2b Author: Andrew Pinski Date: Sat Aug 31 13:54:21 2024 -0700 phiopt: Small refactoring/cleanup of non-ssa name case of factor_out_conditional_operation This smal