[gcc r15-2864] c++: inherited CTAD fixes [PR116276]

2024-08-09 Thread Patrick Palka via Gcc-cvs
https://gcc.gnu.org/g:8cc67b520968ca9a13fd96896522aa66e39a99e2 commit r15-2864-g8cc67b520968ca9a13fd96896522aa66e39a99e2 Author: Patrick Palka Date: Fri Aug 9 21:15:25 2024 -0400 c++: inherited CTAD fixes [PR116276] This implements the overlooked inherited vs non-inherited guide

[gcc r15-2863] c++: DECL_UNINSTANTIATED_TEMPLATE_FRIEND_P tweaks

2024-08-09 Thread Patrick Palka via Gcc-cvs
https://gcc.gnu.org/g:70da0ca1239faefa6dec0494a85e998eae34beff commit r15-2863-g70da0ca1239faefa6dec0494a85e998eae34beff Author: Patrick Palka Date: Fri Aug 9 21:13:05 2024 -0400 c++: DECL_UNINSTANTIATED_TEMPLATE_FRIEND_P tweaks DECL_UNINSTANTIATED_TEMPLATE_FRIEND_P templates can

[gcc r15-2862] c++: clean up cp_identifier_kind checks

2024-08-09 Thread Patrick Palka via Gcc-cvs
https://gcc.gnu.org/g:cf7feae517d4819cd33ef6bb123217ea39845fd1 commit r15-2862-gcf7feae517d4819cd33ef6bb123217ea39845fd1 Author: Patrick Palka Date: Fri Aug 9 21:13:03 2024 -0400 c++: clean up cp_identifier_kind checks The predicates for checking an IDENTIFIER node's cp_identifier

[gcc r15-2860] [RISC-V][PR target/116283] Fix split code for recent Zbs improvements with masked bit positions

2024-08-09 Thread Jeff Law via Gcc-cvs
https://gcc.gnu.org/g:d4e1290e5d603984e9b410c7d4cf21a9ffbd68fd commit r15-2860-gd4e1290e5d603984e9b410c7d4cf21a9ffbd68fd Author: Jeff Law Date: Fri Aug 9 17:46:01 2024 -0600 [RISC-V][PR target/116283] Fix split code for recent Zbs improvements with masked bit positions So Patrick

[gcc r15-2859] Revert "lra: emit caller-save register spills before call insn [PR116028]"

2024-08-09 Thread Kyrylo Tkachov via Gcc-cvs
https://gcc.gnu.org/g:4734c1bfe837b3e70bc783dafc442de3bca43d88 commit r15-2859-g4734c1bfe837b3e70bc783dafc442de3bca43d88 Author: Kyrylo Tkachov Date: Fri Aug 9 21:16:56 2024 +0200 Revert "lra: emit caller-save register spills before call insn [PR116028]" This reverts commit 3c67a0

[gcc r15-2857] Limit equivalency processing in rangers cache.

2024-08-09 Thread Andrew Macleod via Gcc-cvs
https://gcc.gnu.org/g:5ce3874b3c2fdd76f506005cb1171a732af7c807 commit r15-2857-g5ce3874b3c2fdd76f506005cb1171a732af7c807 Author: Andrew MacLeod Date: Thu Aug 8 16:34:15 2024 -0400 Limit equivalency processing in rangers cache. When the number of block exceed VRP's sparse threshold

[gcc r15-2858] Adjust rangers recomputation depth based on the number of BBs.

2024-08-09 Thread Andrew Macleod via Gcc-cvs
https://gcc.gnu.org/g:9e4da946c4263a4c89d5fc365b3c97ae244c5018 commit r15-2858-g9e4da946c4263a4c89d5fc365b3c97ae244c5018 Author: Andrew MacLeod Date: Thu Aug 8 16:37:28 2024 -0400 Adjust rangers recomputation depth based on the number of BBs. As the number of block increase, recom

[gcc r15-2856] btf: Protect BTF_KIND_INFO against invalid kind

2024-08-09 Thread David Faust via Gcc-cvs
https://gcc.gnu.org/g:d0bc1cbf6a8938220f42d8102031fd6f6644e171 commit r15-2856-gd0bc1cbf6a8938220f42d8102031fd6f6644e171 Author: Will Hawkins Date: Mon Jul 29 10:42:48 2024 -0400 btf: Protect BTF_KIND_INFO against invalid kind If the user provides a kind value that is more than 5

[gcc r15-2855] c++: Don't accept multiple enum definitions within template class [PR115806]

2024-08-09 Thread Simon Martin via Gcc-cvs
https://gcc.gnu.org/g:786ebbd6058540b2110da16a693f0c582c11413c commit r15-2855-g786ebbd6058540b2110da16a693f0c582c11413c Author: Simon Martin Date: Thu Aug 8 14:59:49 2024 +0200 c++: Don't accept multiple enum definitions within template class [PR115806] We have been accepting the

[gcc r15-2854] RISC-V: Enable stack clash in alloca

2024-08-09 Thread Raphael Zinsly via Gcc-cvs
https://gcc.gnu.org/g:180ede3543e98ade8f809afe8be5af0eeaeff7bb commit r15-2854-g180ede3543e98ade8f809afe8be5af0eeaeff7bb Author: Raphael Moreira Zinsly Date: Mon Jul 22 11:23:27 2024 -0300 RISC-V: Enable stack clash in alloca Add the TARGET_STACK_CLASH_PROTECTION_ALLOCA_PROBE_RANG

[gcc r15-2853] RISC-V: Add support to vector stack-clash protection

2024-08-09 Thread Raphael Zinsly via Gcc-cvs
https://gcc.gnu.org/g:2862d99bfdae96a1d4b275fa3f3daad6206ff761 commit r15-2853-g2862d99bfdae96a1d4b275fa3f3daad6206ff761 Author: Raphael Moreira Zinsly Date: Mon Jul 22 11:23:23 2024 -0300 RISC-V: Add support to vector stack-clash protection Adds basic support to vector stack-clas

[gcc r15-2852] RISC-V: Stack-clash protection implemention

2024-08-09 Thread Raphael Zinsly via Gcc-cvs
https://gcc.gnu.org/g:b82d173dac33d9e2f7d31bf84eb0d9f0c21d0240 commit r15-2852-gb82d173dac33d9e2f7d31bf84eb0d9f0c21d0240 Author: Raphael Moreira Zinsly Date: Mon Jul 22 11:23:20 2024 -0300 RISC-V: Stack-clash protection implemention This implements stack-clash protection for riscv

[gcc r15-2851] RISC-V: Move riscv_v_adjust_scalable_frame

2024-08-09 Thread Raphael Zinsly via Gcc-cvs
https://gcc.gnu.org/g:5694fcf75b65bea5d3eb42e5d28d7f3e5ee7cfd7 commit r15-2851-g5694fcf75b65bea5d3eb42e5d28d7f3e5ee7cfd7 Author: Raphael Moreira Zinsly Date: Mon Jul 22 11:23:17 2024 -0300 RISC-V: Move riscv_v_adjust_scalable_frame Move riscv_v_adjust_scalable_frame () in preparat

[gcc r15-2850] RISC-V: Small stack tie changes

2024-08-09 Thread Raphael Zinsly via Gcc-cvs
https://gcc.gnu.org/g:0e604d0ef6dcac8ee4cdc62902f2a2708ef7b040 commit r15-2850-g0e604d0ef6dcac8ee4cdc62902f2a2708ef7b040 Author: Raphael Moreira Zinsly Date: Mon Jul 22 11:23:12 2024 -0300 RISC-V: Small stack tie changes Enable the register used by riscv_emit_stack_tie () to be pa

[gcc r15-2849] c-family: regenerate c.opt.urls

2024-08-09 Thread Patrick Palka via Gcc-cvs
https://gcc.gnu.org/g:f91f7201ac0ab6805b517341c0ba7a0c48b7971c commit r15-2849-gf91f7201ac0ab6805b517341c0ba7a0c48b7971c Author: Patrick Palka Date: Fri Aug 9 09:35:17 2024 -0400 c-family: regenerate c.opt.urls The addition of -Wtemplate-body in r15-2774-g596d1ed9d40b10 means

[gcc r15-2848] c++: add fixed testcase [PR116289]

2024-08-09 Thread Patrick Palka via Gcc-cvs
https://gcc.gnu.org/g:4aa89badc8c16637e0d9a39a08da7d18e209631b commit r15-2848-g4aa89badc8c16637e0d9a39a08da7d18e209631b Author: Patrick Palka Date: Fri Aug 9 09:16:45 2024 -0400 c++: add fixed testcase [PR116289] Fully fixed since r14-6724-gfced59166f95e9. PR c++

[gcc r13-8967] c++: local class memfn synth from uneval context [PR113063]

2024-08-09 Thread Patrick Palka via Gcc-cvs
https://gcc.gnu.org/g:12ba140ee93adc56a3426f0c6c05f4d6c6a3d08e commit r13-8967-g12ba140ee93adc56a3426f0c6c05f4d6c6a3d08e Author: Patrick Palka Date: Fri Aug 9 09:03:14 2024 -0400 c++: local class memfn synth from uneval context [PR113063] This is essentially a narrow backport of r

[gcc r14-10575] i386: Fix up __builtin_ia32_b{extr{, i}_u{32, 64}, zhi_{s, d}i} folding [PR116287]

2024-08-09 Thread Jakub Jelinek via Gcc-cvs
https://gcc.gnu.org/g:b0dd13efca673355dd2a0c5646452c2f23f86029 commit r14-10575-gb0dd13efca673355dd2a0c5646452c2f23f86029 Author: Jakub Jelinek Date: Fri Aug 9 14:32:51 2024 +0200 i386: Fix up __builtin_ia32_b{extr{,i}_u{32,64},zhi_{s,d}i} folding [PR116287] The GENERIC folding o

[gcc r15-2847] i386: Fix up __builtin_ia32_b{extr{, i}_u{32, 64}, zhi_{s, d}i} folding [PR116287]

2024-08-09 Thread Jakub Jelinek via Gcc-cvs
https://gcc.gnu.org/g:6e7088dbe3bf87108a89558ffb7df36df3469206 commit r15-2847-g6e7088dbe3bf87108a89558ffb7df36df3469206 Author: Jakub Jelinek Date: Fri Aug 9 14:32:51 2024 +0200 i386: Fix up __builtin_ia32_b{extr{,i}_u{32,64},zhi_{s,d}i} folding [PR116287] The GENERIC folding of

[gcc r15-2846] amdgcn: Add padding to trampoline

2024-08-09 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:b5a09a68bf0feaf0b0678d8f3433f776238d3896 commit r15-2846-gb5a09a68bf0feaf0b0678d8f3433f776238d3896 Author: Andrew Stubbs Date: Fri Aug 9 11:45:42 2024 + amdgcn: Add padding to trampoline This avoids a -Wpadded warning (testcase gcc.dg/20050607-1.c).

[gcc r15-2845] OpenMP: Constructors and destructors for "declare target" static aggregates: Fix effective-target ke

2024-08-09 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:9f5d22e3e2b8e4532896a4f3837cb86006d5930c commit r15-2845-g9f5d22e3e2b8e4532896a4f3837cb86006d5930c Author: Thomas Schwinge Date: Fri Aug 9 11:23:15 2024 +0200 OpenMP: Constructors and destructors for "declare target" static aggregates: Fix effective-target keyword in

[gcc r15-2844] AVR: Tidy up code for __[x]load insns.

2024-08-09 Thread Georg-Johann Lay via Gcc-cvs
https://gcc.gnu.org/g:a90c74ab161eab09802920fbd894bf55bc4fa797 commit r15-2844-ga90c74ab161eab09802920fbd894bf55bc4fa797 Author: Georg-Johann Lay Date: Fri Aug 9 12:15:28 2024 +0200 AVR: Tidy up code for __[x]load insns. gcc/ * config/avr/avr.md (*load__libgcc, *xload_

[gcc r15-2843] c-family: Add some more ARRAY_SIZE uses

2024-08-09 Thread Jakub Jelinek via Gcc-cvs
https://gcc.gnu.org/g:723e0f724e0c884a31ddf4a688604e7163ed31f2 commit r15-2843-g723e0f724e0c884a31ddf4a688604e7163ed31f2 Author: Jakub Jelinek Date: Fri Aug 9 09:34:50 2024 +0200 c-family: Add some more ARRAY_SIZE uses These two spots were just non-standard, because they divided