[gcc r15-535] diagnostics: use unicode art for interprocedural depth

2024-05-15 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:e656656e711949ef42a7e284f7cf81ca56f37374 commit r15-535-ge656656e711949ef42a7e284f7cf81ca56f37374 Author: David Malcolm Date: Wed May 15 21:22:52 2024 -0400 diagnostics: use unicode art for interprocedural depth gcc/testsuite/ChangeLog: * gcc.dg/a

[gcc r15-534] diagnostics: add warning emoji to events with VERB_danger

2024-05-15 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:0b7ebe5427a4af0956e0aed5e7432b98559ca7b5 commit r15-534-g0b7ebe5427a4af0956e0aed5e7432b98559ca7b5 Author: David Malcolm Date: Wed May 15 21:22:51 2024 -0400 diagnostics: add warning emoji to events with VERB_danger Tweak the printing of -fdiagnostics-path-for

[gcc r15-533] diagnostics: simplify output of purely intraprocedural execution paths

2024-05-15 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:3cd267446755ab6b2c59936a718d34c8bc474ca5 commit r15-533-g3cd267446755ab6b2c59936a718d34c8bc474ca5 Author: David Malcolm Date: Wed May 15 21:22:51 2024 -0400 diagnostics: simplify output of purely intraprocedural execution paths Diagnostic path printing was ad

[gcc r15-532] diagnostics: handle SGR codes in line_label::m_display_width

2024-05-15 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:a7be993806a90a58397e9d5bc9b54160ac9f35db commit r15-532-ga7be993806a90a58397e9d5bc9b54160ac9f35db Author: David Malcolm Date: Wed May 15 21:22:51 2024 -0400 diagnostics: handle SGR codes in line_label::m_display_width gcc/ChangeLog: * diagnostic-s

[gcc r15-531] RISC-V: Add Zvfbfwma extension to the -march= option

2024-05-15 Thread xiao via Gcc-cvs
https://gcc.gnu.org/g:38dd4e26e07c6be7cf4d169141ee4f3a03f3a09d commit r15-531-g38dd4e26e07c6be7cf4d169141ee4f3a03f3a09d Author: Xiao Zeng Date: Wed May 15 10:03:40 2024 +0800 RISC-V: Add Zvfbfwma extension to the -march= option This patch would like to add new sub extension (aka Z

[gcc r15-530] Set d.one_operand_p to true when TARGET_SSSE3 in ix86_expand_vecop_qihi_partial.

2024-05-15 Thread hongtao Liu via Gcc-cvs
https://gcc.gnu.org/g:090714e6cf8029f4ff8883dce687200024adbaeb commit r15-530-g090714e6cf8029f4ff8883dce687200024adbaeb Author: liuhongt Date: Wed May 15 10:56:24 2024 +0800 Set d.one_operand_p to true when TARGET_SSSE3 in ix86_expand_vecop_qihi_partial. pshufb is available under

[gcc r15-529] Optimize ashift >> 7 to vpcmpgtb for vector int8.

2024-05-15 Thread hongtao Liu via Gcc-cvs
https://gcc.gnu.org/g:0cc0956b3bb8bcbc9196075b9073a227d799e042 commit r15-529-g0cc0956b3bb8bcbc9196075b9073a227d799e042 Author: liuhongt Date: Tue May 14 18:39:54 2024 +0800 Optimize ashift >> 7 to vpcmpgtb for vector int8. Since there is no corresponding instruction, the shift op

[gcc(refs/vendors/riscv/heads/gcc-14-with-riscv-opts)] Add missing hunk in recent change.

2024-05-15 Thread Jeff Law via Gcc-cvs
https://gcc.gnu.org/g:45c5684c8242add5e97a392374dc160a6e68f2f0 commit 45c5684c8242add5e97a392374dc160a6e68f2f0 Author: Jeff Law Date: Wed May 15 17:05:24 2024 -0600 Add missing hunk in recent change. gcc/ * config/riscv/riscv-string.cc: Add missing hunk from last chang

[gcc r15-527] Add missing hunk in recent change.

2024-05-15 Thread Jeff Law via Gcc-cvs
https://gcc.gnu.org/g:d7e6fe0f72ad41b8361f927d2796dbc275347297 commit r15-527-gd7e6fe0f72ad41b8361f927d2796dbc275347297 Author: Jeff Law Date: Wed May 15 17:05:24 2024 -0600 Add missing hunk in recent change. gcc/ * config/riscv/riscv-string.cc: Add missing hunk from l

[gcc r15-526] analyzer: fix ICE seen with -fsanitize=undefined [PR114899]

2024-05-15 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:1779e22150b917e28e959623c819ef943fab02df commit r15-526-g1779e22150b917e28e959623c819ef943fab02df Author: David Malcolm Date: Wed May 15 18:40:56 2024 -0400 analyzer: fix ICE seen with -fsanitize=undefined [PR114899] gcc/analyzer/ChangeLog: PR ana

[gcc(refs/vendors/riscv/heads/gcc-14-with-riscv-opts)] [v2, 2/2] RISC-V: strcmp expansion: Use adjust_address() for address calculation

2024-05-15 Thread Jeff Law via Gcc-cvs
https://gcc.gnu.org/g:72e6ff2bcf293116099988ebd367182cba699e9b commit 72e6ff2bcf293116099988ebd367182cba699e9b Author: Christoph Müllner Date: Wed May 15 12:19:40 2024 -0600 [v2,2/2] RISC-V: strcmp expansion: Use adjust_address() for address calculation We have an arch-independen

[gcc(refs/vendors/riscv/heads/gcc-14-with-riscv-opts)] [v2, 1/2] RISC-V: Add cmpmemsi expansion

2024-05-15 Thread Jeff Law via Gcc-cvs
https://gcc.gnu.org/g:d57dfea6e051695349fb9f6da1c30899b7f5 commit d57dfea6e051695349fb9f6da1c30899b7f5 Author: Christoph Müllner Date: Wed May 15 12:18:20 2024 -0600 [v2,1/2] RISC-V: Add cmpmemsi expansion GCC has a generic cmpmemsi expansion via the by-pieces framework,

[gcc r15-525] [v2, 2/2] RISC-V: strcmp expansion: Use adjust_address() for address calculation

2024-05-15 Thread Jeff Law via Gcc-cvs
https://gcc.gnu.org/g:1fbbae1d4ba3618a3da829a6d7e11a1606a583b3 commit r15-525-g1fbbae1d4ba3618a3da829a6d7e11a1606a583b3 Author: Christoph Müllner Date: Wed May 15 12:19:40 2024 -0600 [v2,2/2] RISC-V: strcmp expansion: Use adjust_address() for address calculation We have an arch-i

[gcc r15-524] [v2,1/2] RISC-V: Add cmpmemsi expansion

2024-05-15 Thread Jeff Law via Gcc-cvs
https://gcc.gnu.org/g:4bf1aa1ab90dd487fadc27c86523ec3562b2d2fe commit r15-524-g4bf1aa1ab90dd487fadc27c86523ec3562b2d2fe Author: Christoph Müllner Date: Wed May 15 12:18:20 2024 -0600 [v2,1/2] RISC-V: Add cmpmemsi expansion GCC has a generic cmpmemsi expansion via the by-pieces fra

[gcc(refs/vendors/riscv/heads/gcc-14-with-riscv-opts)] RISC-V: Test cbo.zero expansion for rv32

2024-05-15 Thread Jeff Law via Gcc-cvs
https://gcc.gnu.org/g:f3d5808070acf09d4ca1da5f5e692be52e3a73a6 commit f3d5808070acf09d4ca1da5f5e692be52e3a73a6 Author: Christoph Müllner Date: Wed May 15 01:34:54 2024 +0200 RISC-V: Test cbo.zero expansion for rv32 We had an issue when expanding via cmo-zero for RV32. This was

[gcc(refs/vendors/riscv/heads/gcc-14-with-riscv-opts)] RISC-V: Allow by-pieces to do overlapping accesses in block_move_straight

2024-05-15 Thread Jeff Law via Gcc-cvs
https://gcc.gnu.org/g:59e6343f99eb53da07bbd6198f083ce1bbdf20d8 commit 59e6343f99eb53da07bbd6198f083ce1bbdf20d8 Author: Christoph Müllner Date: Mon Apr 29 02:53:20 2024 +0200 RISC-V: Allow by-pieces to do overlapping accesses in block_move_straight The current implementation of ris

[gcc(refs/vendors/riscv/heads/gcc-14-with-riscv-opts)] RISC-V: add tests for overlapping mem ops

2024-05-15 Thread Jeff Law via Gcc-cvs
https://gcc.gnu.org/g:ad0413b832400aa9e81e20070b3ef6b0a9a6d888 commit ad0413b832400aa9e81e20070b3ef6b0a9a6d888 Author: Christoph Müllner Date: Mon Apr 29 03:06:52 2024 +0200 RISC-V: add tests for overlapping mem ops A recent patch added the field overlap_op_by_pieces to the struct

[gcc(refs/vendors/riscv/heads/gcc-14-with-riscv-opts)] RISC-V: Add test cases for cpymem expansion

2024-05-15 Thread Jeff Law via Gcc-cvs
https://gcc.gnu.org/g:0dcd2d26d0da77af7f173b6c0d79a7f5ea25c642 commit 0dcd2d26d0da77af7f173b6c0d79a7f5ea25c642 Author: Christoph Müllner Date: Wed May 1 16:54:42 2024 +0200 RISC-V: Add test cases for cpymem expansion We have two mechanisms in the RISC-V backend that expand cpy

[gcc(refs/vendors/riscv/heads/gcc-14-with-riscv-opts)] RISC-V: Allow unaligned accesses in cpymemsi expansion

2024-05-15 Thread Jeff Law via Gcc-cvs
https://gcc.gnu.org/g:69408db9b2b3ede055f4392f9d30be33804eec77 commit 69408db9b2b3ede055f4392f9d30be33804eec77 Author: Christoph Müllner Date: Wed May 1 18:50:38 2024 +0200 RISC-V: Allow unaligned accesses in cpymemsi expansion The RISC-V cpymemsi expansion is called, whenever the

[gcc(refs/vendors/riscv/heads/gcc-14-with-riscv-opts)] [committed] Fix rv32 issues with recent zicboz work

2024-05-15 Thread Jeff Law via Gcc-cvs
https://gcc.gnu.org/g:75a06302ef660397001d67afc1fb4d22e6da5870 commit 75a06302ef660397001d67afc1fb4d22e6da5870 Author: Jeff Law Date: Tue May 14 22:50:15 2024 -0600 [committed] Fix rv32 issues with recent zicboz work I should have double-checked the CI system before pushing Christ

[gcc r15-523] c++: ICE with reference NSDMI [PR114854]

2024-05-15 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:1a05332bbac98a4c002bef3fb45a3ad9d56b3a71 commit r15-523-g1a05332bbac98a4c002bef3fb45a3ad9d56b3a71 Author: Marek Polacek Date: Wed May 8 15:43:58 2024 -0400 c++: ICE with reference NSDMI [PR114854] Here we crash on a cp_gimplify_expr/TARGET_EXPR assert:

[gcc r15-522] c++: DR 569, DR 1693: fun with semicolons [PR113760]

2024-05-15 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:0b3eac4b54a52bf206b88743d1e987badc97cff4 commit r15-522-g0b3eac4b54a52bf206b88743d1e987badc97cff4 Author: Marek Polacek Date: Mon Feb 12 19:36:16 2024 -0500 c++: DR 569, DR 1693: fun with semicolons [PR113760] Prompted by c++/113760, I started looking into a

[gcc r15-521] c++: Optimize in maybe_clone_body aliases even when not at_eof [PR113208]

2024-05-15 Thread Jakub Jelinek via Gcc-cvs
https://gcc.gnu.org/g:6ad7ca1bb905736c0f57688e93e9e77cbc71a325 commit r15-521-g6ad7ca1bb905736c0f57688e93e9e77cbc71a325 Author: Jakub Jelinek Date: Wed May 15 18:50:11 2024 +0200 c++: Optimize in maybe_clone_body aliases even when not at_eof [PR113208] This patch reworks the cdtor

[gcc r15-520] combine: Fix up simplify_compare_const [PR115092]

2024-05-15 Thread Jakub Jelinek via Gcc-cvs
https://gcc.gnu.org/g:0b93a0ae153ef70a82ff63e67926a01fdab9956b commit r15-520-g0b93a0ae153ef70a82ff63e67926a01fdab9956b Author: Jakub Jelinek Date: Wed May 15 18:37:17 2024 +0200 combine: Fix up simplify_compare_const [PR115092] The following testcases are miscompiled (with tons o

[gcc r15-519] openmp: Diagnose using grainsize+num_tasks clauses together [PR115103]

2024-05-15 Thread Jakub Jelinek via Gcc-cvs
https://gcc.gnu.org/g:7fdbefc575c24881356b5f4091fa57b5f7166a90 commit r15-519-g7fdbefc575c24881356b5f4091fa57b5f7166a90 Author: Jakub Jelinek Date: Wed May 15 18:34:44 2024 +0200 openmp: Diagnose using grainsize+num_tasks clauses together [PR115103] I've noticed that while we diag

[gcc r15-518] tree-optimization/114589 - remove profile based sink heuristics

2024-05-15 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:99b1daae18c095d6c94d32efb77442838e11cbfb commit r15-518-g99b1daae18c095d6c94d32efb77442838e11cbfb Author: Richard Biener Date: Fri May 3 14:04:41 2024 +0200 tree-optimization/114589 - remove profile based sink heuristics The following removes the profile base

[gcc r15-517] middle-end/111422 - wrong stack var coalescing, handle PHIs

2024-05-15 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:ab25eef36400e8c1d28e3ed059c5f95a38b45f17 commit r15-517-gab25eef36400e8c1d28e3ed059c5f95a38b45f17 Author: Richard Biener Date: Wed May 15 13:06:30 2024 +0200 middle-end/111422 - wrong stack var coalescing, handle PHIs The gcc.c-torture/execute/pr111422.c test

[gcc r14-10211] middle-end/114931 - type_hash_canon and structual equality types

2024-05-15 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:1d89cb43943e77d0bbb48fd5a58a352bdd3d82c7 commit r14-10211-g1d89cb43943e77d0bbb48fd5a58a352bdd3d82c7 Author: Richard Biener Date: Fri May 3 10:44:50 2024 +0200 middle-end/114931 - type_hash_canon and structual equality types TYPE_STRUCTURAL_EQUALITY_P is part

[gcc r14-10210] Avoid changing type in the type_hash_canon hash

2024-05-15 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:573e1df0ec8428e564c97af7c237a5e0c98c59bd commit r14-10210-g573e1df0ec8428e564c97af7c237a5e0c98c59bd Author: Richard Biener Date: Fri May 3 11:48:07 2024 +0200 Avoid changing type in the type_hash_canon hash When building a type and type_hash_canon returns an

[gcc r15-516] PR modula2/115057 TextIO.ReadRestLine raises an exception when buffer is exceeded

2024-05-15 Thread Gaius Mulley via Gcc-cvs
https://gcc.gnu.org/g:680af0e1e90d4b80260d173636dfe15654fd470d commit r15-516-g680af0e1e90d4b80260d173636dfe15654fd470d Author: Gaius Mulley Date: Wed May 15 16:58:21 2024 +0100 PR modula2/115057 TextIO.ReadRestLine raises an exception when buffer is exceeded TextIO.ReadRestLine

[gcc r15-515] c++: add test for DR 2855

2024-05-15 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:3cefe91b74f65f0db71472e01ca83c69e2cd81cc commit r15-515-g3cefe91b74f65f0db71472e01ca83c69e2cd81cc Author: Marek Polacek Date: Tue May 14 13:48:30 2024 -0400 c++: add test for DR 2855 Let int8_t x = 127; This DR says that while x

[gcc r12-10443] ipa: Self-DCE of uses of removed call LHSs (PR 108007)

2024-05-15 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:2183e5b5aa3a080624cb95a06993e34dedd09cb2 commit r12-10443-g2183e5b5aa3a080624cb95a06993e34dedd09cb2 Author: Martin Jambor Date: Mon Apr 8 17:34:33 2024 +0200 ipa: Self-DCE of uses of removed call LHSs (PR 108007) PR 108007 is another manifestation where we re

[gcc r12-10442] ipa: Force args obtined through pass-through maps to the expected type (PR 114247)

2024-05-15 Thread Martin Jambor via Gcc-cvs
https://gcc.gnu.org/g:44191982c6bd41db1c9d126ea2f15febec3c1f81 commit r12-10442-g44191982c6bd41db1c9d126ea2f15febec3c1f81 Author: Martin Jambor Date: Tue May 14 14:13:36 2024 +0200 ipa: Force args obtined through pass-through maps to the expected type (PR 114247) Interactions of

[gcc r15-514] RISC-V: Test cbo.zero expansion for rv32

2024-05-15 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:5609d77e683944439fae38323ecabc44a1eb4671 commit r15-514-g5609d77e683944439fae38323ecabc44a1eb4671 Author: Christoph Müllner Date: Wed May 15 01:34:54 2024 +0200 RISC-V: Test cbo.zero expansion for rv32 We had an issue when expanding via cmo-zero for RV32.

[gcc r15-513] AArch64: Use UZP1 instead of INS

2024-05-15 Thread Wilco Dijkstra via Gcc-cvs
https://gcc.gnu.org/g:43fb827f259e6fdea39bc4021950c810be769d58 commit r15-513-g43fb827f259e6fdea39bc4021950c810be769d58 Author: Wilco Dijkstra Date: Wed May 15 13:07:27 2024 +0100 AArch64: Use UZP1 instead of INS Use UZP1 instead of INS when combining low and high halves of vector

[gcc r15-512] Avoid pointer compares on TYPE_MAIN_VARIANT in TBAA

2024-05-15 Thread Jan Hubicka via Gcc-cvs
https://gcc.gnu.org/g:9b7cad5884f21cc5783075be0043777448db3fab commit r15-512-g9b7cad5884f21cc5783075be0043777448db3fab Author: Jan Hubicka Date: Wed May 15 14:14:27 2024 +0200 Avoid pointer compares on TYPE_MAIN_VARIANT in TBAA while building more testcases for ipa-icf I noticed

[gcc r15-511] testsuite: Require lto-plugin in gcc.dg/ipa/ipa-icf-38.c [PR85656]

2024-05-15 Thread Rainer Orth via Gcc-cvs
https://gcc.gnu.org/g:ff105c39bde43bdb57615e3a4c7af71fbef5f26e commit r15-511-gff105c39bde43bdb57615e3a4c7af71fbef5f26e Author: Rainer Orth Date: Wed May 15 13:23:08 2024 +0200 testsuite: Require lto-plugin in gcc.dg/ipa/ipa-icf-38.c [PR85656] gcc.dg/ipa/ipa-icf-38.c currently FAI

[gcc r15-510] libstdc++: Fix data race in std::basic_ios::fill() [PR77704]

2024-05-15 Thread Jonathan Wakely via Libstdc++-cvs
https://gcc.gnu.org/g:23ef0f68ad5fca1fd7027c5f6cb9f6d27b28 commit r15-510-g23ef0f68ad5fca1fd7027c5f6cb9f6d27b28 Author: Jonathan Wakely Date: Fri May 3 20:00:08 2024 +0100 libstdc++: Fix data race in std::basic_ios::fill() [PR77704] The lazy caching in std::basic_ios::fill

[gcc r15-509] testsuite: i386: Fix g++.target/i386/pr97054.C on Solaris

2024-05-15 Thread Rainer Orth via Gcc-cvs
https://gcc.gnu.org/g:a0e9fde8766a5b5a28a76c3a6fb0276efa47cd6d commit r15-509-ga0e9fde8766a5b5a28a76c3a6fb0276efa47cd6d Author: Rainer Orth Date: Wed May 15 13:13:48 2024 +0200 testsuite: i386: Fix g++.target/i386/pr97054.C on Solaris g++.target/i386/pr97054.C currently FAILs on 6

[gcc r15-505] RISC-V: Add test cases for cpymem expansion

2024-05-15 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:00029408387e9cc64e135324c22d15cd5a70e946 commit r15-505-g00029408387e9cc64e135324c22d15cd5a70e946 Author: Christoph Müllner Date: Wed May 1 16:54:42 2024 +0200 RISC-V: Add test cases for cpymem expansion We have two mechanisms in the RISC-V backend that expan

[gcc r15-504] [prange] Default pointers_handled_p() to false.

2024-05-15 Thread Aldy Hernandez via Gcc-cvs
https://gcc.gnu.org/g:c400b2100719d0a9e5989c63e0827b9e98919df3 commit r15-504-gc400b2100719d0a9e5989c63e0827b9e98919df3 Author: Aldy Hernandez Date: Tue May 14 16:21:50 2024 +0200 [prange] Default pointers_handled_p() to false. The pointers_handled_p() method is an internal range-

[gcc r15-503] libstdc++: Rewrite std::variant comparisons without macros

2024-05-15 Thread Jonathan Wakely via Libstdc++-cvs
https://gcc.gnu.org/g:d08247b77831c496277b266807d4bd17656d1654 commit r15-503-gd08247b77831c496277b266807d4bd17656d1654 Author: Jonathan Wakely Date: Tue Apr 2 19:40:51 2024 +0100 libstdc++: Rewrite std::variant comparisons without macros libstdc++-v3/ChangeLog: *

[gcc r15-502] libstdc++: Give std::memory_order a fixed underlying type [PR89624]

2024-05-15 Thread Jonathan Wakely via Libstdc++-cvs
https://gcc.gnu.org/g:99dd1be14172445795f0012b935359e7014a2215 commit r15-502-g99dd1be14172445795f0012b935359e7014a2215 Author: Jonathan Wakely Date: Thu Apr 11 19:12:48 2024 +0100 libstdc++: Give std::memory_order a fixed underlying type [PR89624] Prior to C++20 this enum type do

[gcc r15-501] tree-cfg: Move the returns_twice check to be last statement only [PR114301]

2024-05-15 Thread Andrew Pinski via Gcc-cvs
https://gcc.gnu.org/g:642f31d6286b8a342130fbface51530befd975fd commit r15-501-g642f31d6286b8a342130fbface51530befd975fd Author: Andrew Pinski Date: Tue May 14 06:29:18 2024 -0700 tree-cfg: Move the returns_twice check to be last statement only [PR114301] When I was checking to mak