[gcc r15-4739] jit: fix leak of pending_assemble_externals_set [PR117275]

2024-10-29 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:7f41203f08b9948c1c636dc9d66571121c6c7793 commit r15-4739-g7f41203f08b9948c1c636dc9d66571121c6c7793 Author: David Malcolm Date: Tue Oct 29 08:25:56 2024 -0400 jit: fix leak of pending_assemble_externals_set [PR117275] My recent r15-4580-g779c0390e3b57d fix for

[gcc r15-4742] Remove dead vect_recog_mixed_size_cond_pattern

2024-10-29 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:4cfff6d413b15b38827494bb317867d86f997350 commit r15-4742-g4cfff6d413b15b38827494bb317867d86f997350 Author: Richard Biener Date: Sat Oct 26 14:27:14 2024 +0200 Remove dead vect_recog_mixed_size_cond_pattern vect_recog_mixed_size_cond_pattern only applies to CO

[gcc r15-4741] Remove dead code in vectorizer pattern recog

2024-10-29 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:c738a15c50d7f0be8639579b04fbee8c817efcbf commit r15-4741-gc738a15c50d7f0be8639579b04fbee8c817efcbf Author: Richard Biener Date: Sat Oct 26 14:23:15 2024 +0200 Remove dead code in vectorizer pattern recog The following removes the code path in vect_recog_mask_

[gcc r12-10790] rs6000: Fix PTImode handling in power8 swap optimization pass [PR116415]

2024-10-29 Thread Peter Bergner via Gcc-cvs
https://gcc.gnu.org/g:eeb72f26ea7e70baadf2e3b9e89e8f7055fec0a9 commit r12-10790-geeb72f26ea7e70baadf2e3b9e89e8f7055fec0a9 Author: Peter Bergner Date: Fri Aug 23 11:45:40 2024 -0500 rs6000: Fix PTImode handling in power8 swap optimization pass [PR116415] Our power8 swap optimizatio

[gcc r15-4738] tree-optimization/117343 - decide_masked_load_lanes and stale graph

2024-10-29 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:cc79e9866ba33dea0256078f4557d92d80d9 commit r15-4738-gcc79e9866ba33dea0256078f4557d92d80d9 Author: Richard Biener Date: Tue Oct 29 11:26:13 2024 +0100 tree-optimization/117343 - decide_masked_load_lanes and stale graph It turns out decide_masked_load_

[gcc r15-4740] libstdc++: Fix complexity of drop_view::begin() const [PR112641]

2024-10-29 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:7f622ee83fbbcf4a4ca70e020db8a0ce4b556b61 commit r15-4740-g7f622ee83fbbcf4a4ca70e020db8a0ce4b556b61 Author: Patrick Palka Date: Tue Oct 29 09:26:19 2024 -0400 libstdc++: Fix complexity of drop_view::begin() const [PR112641] Views are required to have a amortiz

[gcc r15-4729] c: Add __builtin_stdc_rotate_{left, right} builtins [PR117030]

2024-10-29 Thread Jakub Jelinek via Gcc-cvs
https://gcc.gnu.org/g:972f653cad2aedcfa901614566506c1c2e668766 commit r15-4729-g972f653cad2aedcfa901614566506c1c2e668766 Author: Jakub Jelinek Date: Tue Oct 29 09:06:25 2024 +0100 c: Add __builtin_stdc_rotate_{left,right} builtins [PR117030] I believe the new C2Y type-generic fun

[gcc r15-4743] Internal-fn: Introduce new IFN MASK_LEN_STRIDED_LOAD{STORE}

2024-10-29 Thread Pan Li via Gcc-cvs
https://gcc.gnu.org/g:1fdee26ee985385c8043ea0ca6ff05ffdbc34f9c commit r15-4743-g1fdee26ee985385c8043ea0ca6ff05ffdbc34f9c Author: Pan Li Date: Wed Oct 23 16:24:19 2024 +0800 Internal-fn: Introduce new IFN MASK_LEN_STRIDED_LOAD{STORE} This patch would like to introduce new IFN for s

[gcc r15-4744] Vect: Introduce MASK_LEN_STRIDED_LOAD{STORE} to loop vectorizer

2024-10-29 Thread Pan Li via Gcc-cvs
https://gcc.gnu.org/g:a0292ddb21475e8fd238e201d3b64f0ab02ace04 commit r15-4744-ga0292ddb21475e8fd238e201d3b64f0ab02ace04 Author: Pan Li Date: Wed Oct 23 16:36:28 2024 +0800 Vect: Introduce MASK_LEN_STRIDED_LOAD{STORE} to loop vectorizer This patch would like to allow generation of

[gcc r15-4745] RISC-V: Adjust the gather-scatter testcases due to middle-end change

2024-10-29 Thread Pan Li via Gcc-cvs
https://gcc.gnu.org/g:372060d78715d9a4ab756b1b95796bd04c0be2bf commit r15-4745-g372060d78715d9a4ab756b1b95796bd04c0be2bf Author: Pan Li Date: Wed Oct 23 16:43:37 2024 +0800 RISC-V: Adjust the gather-scatter testcases due to middle-end change After we have MASK_LEN_STRIDED_LOAD{STO

[gcc r15-4754] aarch64: Remove unnecessary casts to rtx_code [PR117349]

2024-10-29 Thread Andrew Pinski via Gcc-cvs
https://gcc.gnu.org/g:9dd9a88b75334bc079b8ab5fb2dbb5d56765bd60 commit r15-4754-g9dd9a88b75334bc079b8ab5fb2dbb5d56765bd60 Author: Andrew Pinski Date: Tue Oct 29 13:01:30 2024 -0700 aarch64: Remove unnecessary casts to rtx_code [PR117349] In aarch64_gen_ccmp_first/aarch64_gen_ccmp_n

[gcc r15-4761] Revert "Simplify switch bit test clustering algorithm"

2024-10-29 Thread Andi Kleen via Gcc-cvs
https://gcc.gnu.org/g:220e0570f0861c1fd531ef0b309692deb2509a67 commit r15-4761-g220e0570f0861c1fd531ef0b309692deb2509a67 Author: Andi Kleen Date: Tue Oct 29 16:41:57 2024 -0700 Revert "Simplify switch bit test clustering algorithm" This reverts commit 3d06e9c3e07e13eab715e19dafbcf

[gcc r15-4757] Only do switch bit test clustering when multiple labels point to same bb

2024-10-29 Thread Andi Kleen via Gcc-cvs
https://gcc.gnu.org/g:a4e2b13888267f2581ac03f076aa0d32cd045adb commit r15-4757-ga4e2b13888267f2581ac03f076aa0d32cd045adb Author: Andi Kleen Date: Wed Oct 16 14:07:18 2024 -0700 Only do switch bit test clustering when multiple labels point to same bb The bit cluster code generation

[gcc r15-4758] Simplify switch bit test clustering algorithm

2024-10-29 Thread Andi Kleen via Gcc-cvs
https://gcc.gnu.org/g:3d06e9c3e07e13eab715e19dafbcfc1a0b7e43d6 commit r15-4758-g3d06e9c3e07e13eab715e19dafbcfc1a0b7e43d6 Author: Andi Kleen Date: Fri Oct 25 15:04:06 2024 -0700 Simplify switch bit test clustering algorithm The current switch bit test clustering enumerates all poss

[gcc(refs/users/aoliva/heads/testme)] [PR83782] ifunc: back-propagate ifunc_resolver to aliases

2024-10-29 Thread Alexandre Oliva via Gcc-cvs
https://gcc.gnu.org/g:44091b3480985244d5d981886f3c5624e8ca1571 commit 44091b3480985244d5d981886f3c5624e8ca1571 Author: Alexandre Oliva Date: Thu Dec 14 03:21:28 2023 -0300 [PR83782] ifunc: back-propagate ifunc_resolver to aliases gcc.target/i386/mvc10.c fails with -fPIE on ia32 be

[gcc(refs/users/aoliva/heads/testme)] [testsuite] fix auto-init-8.c on ia32 PIC expectations

2024-10-29 Thread Alexandre Oliva via Gcc-cvs
https://gcc.gnu.org/g:43587057dc68be9c94ba41700a881449f8351821 commit 43587057dc68be9c94ba41700a881449f8351821 Author: Alexandre Oliva Date: Tue Oct 29 18:06:48 2024 -0300 [testsuite] fix auto-init-8.c on ia32 PIC expectations When PIC/PIE is enabled by default on ia32, we select

[gcc(refs/users/aoliva/heads/testme)] [testsuite] fix pr70321.c PIC expectations

2024-10-29 Thread Alexandre Oliva via Gcc-cvs
https://gcc.gnu.org/g:633c9b04a93dd63268942f7704563fd4bd633d54 commit 633c9b04a93dd63268942f7704563fd4bd633d54 Author: Alexandre Oliva Date: Tue Oct 29 18:06:14 2024 -0300 [testsuite] fix pr70321.c PIC expectations When we select a non-bx get_pc_thunk, we get an extra mov to set u

[gcc/aoliva/heads/testme] (4 commits) [testsuite] disable PIE on ia32 on more tests

2024-10-29 Thread Alexandre Oliva via Gcc-cvs
The branch 'aoliva/heads/testme' was updated to point to: 9fee52ae3e79... [testsuite] disable PIE on ia32 on more tests It previously pointed to: 5a9cf11ec7d1... fold fold_truth_andor field merging into ifcombine Diff: !!! WARNING: THE FOLLOWING COMMITS ARE NO LONGER ACCESSIBLE (LOST): -

[gcc r15-4759] aarch64: Use canonicalize_comparison in ccmp expansion [PR117346]

2024-10-29 Thread Andrew Pinski via Gcc-cvs
https://gcc.gnu.org/g:3d8cd34a450e9ffe2b2ac8a0c8eb33fd5d613483 commit r15-4759-g3d8cd34a450e9ffe2b2ac8a0c8eb33fd5d613483 Author: Andrew Pinski Date: Tue Oct 29 09:16:18 2024 -0700 aarch64: Use canonicalize_comparison in ccmp expansion [PR117346] While testing the patch for PR 8560

[gcc r13-9155] Fix miscompilation of function containing __builtin_unreachable

2024-10-29 Thread Eric Botcazou via Gcc-cvs
bel at the end of the function and adjust commentary. gcc/testsuite/ * gcc.c-torture/execute/20241029-1.c: New test. Diff: --- gcc/reorg.cc | 38 ++-- gcc/testsuite/gcc.c-torture/execute/20241029-1.c | 23 +

[gcc r12-10791] Fix miscompilation of function containing __builtin_unreachable

2024-10-29 Thread Eric Botcazou via Gcc-cvs
bel at the end of the function and adjust commentary. gcc/testsuite/ * gcc.c-torture/execute/20241029-1.c: New test. Diff: --- gcc/reorg.cc | 38 ++-- gcc/testsuite/gcc.c-torture/execute/20241029-1.c | 23 +

[gcc r15-4756] Disable -fbit-tests and -fjump-tables at -O0

2024-10-29 Thread Andi Kleen via Gcc-cvs
https://gcc.gnu.org/g:06bc3a734e88908cad1d3bf547a722b3f9597a0d commit r15-4756-g06bc3a734e88908cad1d3bf547a722b3f9597a0d Author: Andi Kleen Date: Tue Oct 15 13:15:09 2024 -0700 Disable -fbit-tests and -fjump-tables at -O0 gcc/ChangeLog: * common.opt: Enable -fbit-

[gcc r15-4764] RISC-V: Add testcases for unsigned .SAT_SUB form 2 with IMM = 1.

2024-10-29 Thread Li Xu via Gcc-cvs
https://gcc.gnu.org/g:179a682d047500604c6612afb425acf481e1a6b2 commit r15-4764-g179a682d047500604c6612afb425acf481e1a6b2 Author: xuli Date: Wed Oct 23 01:57:51 2024 + RISC-V: Add testcases for unsigned .SAT_SUB form 2 with IMM = 1. form2: T __attribute__((noinline))

[gcc r15-4763] Match: Simplify (x != 0 ? x + ~0 : 0) to (x - x != 0).

2024-10-29 Thread Li Xu via Gcc-cvs
https://gcc.gnu.org/g:4af8db3eca12b2db3753ce4b098cbd0ae32b4796 commit r15-4763-g4af8db3eca12b2db3753ce4b098cbd0ae32b4796 Author: xuli Date: Tue Oct 22 09:48:03 2024 + Match: Simplify (x != 0 ? x + ~0 : 0) to (x - x != 0). When the imm operand op1=1 in the unsigned scalar sat_s

[gcc r15-4760] diagnostics: support multiple output formats simultaneously [PR116613]

2024-10-29 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:0b73e9382ab51c00a79b2a6f8abbcd31d87f6814 commit r15-4760-g0b73e9382ab51c00a79b2a6f8abbcd31d87f6814 Author: David Malcolm Date: Tue Oct 29 19:12:02 2024 -0400 diagnostics: support multiple output formats simultaneously [PR116613] This patch generalizes diagnos

[gcc r15-4755] Fix miscompilation of function containing __builtin_unreachable

2024-10-29 Thread Eric Botcazou via Gcc-cvs
bel at the end of the function and adjust commentary. gcc/testsuite/ * gcc.c-torture/execute/20241029-1.c: New test. Diff: --- gcc/reorg.cc | 38 ++-- gcc/testsuite/gcc.c-torture/execute/20241029-1.c | 23 +

[gcc r14-10850] Fix miscompilation of function containing __builtin_unreachable

2024-10-29 Thread Eric Botcazou via Gcc-cvs
bel at the end of the function and adjust commentary. gcc/testsuite/ * gcc.c-torture/execute/20241029-1.c: New test. Diff: --- gcc/reorg.cc | 38 ++-- gcc/testsuite/gcc.c-torture/execute/20241029-1.c | 23 +

[gcc(refs/users/aoliva/heads/testme)] [testsuite] disable PIE on ia32 on more tests

2024-10-29 Thread Alexandre Oliva via Gcc-cvs
https://gcc.gnu.org/g:9fee52ae3e798e9bd58c1cc71559c9ace1f1a69f commit 9fee52ae3e798e9bd58c1cc71559c9ace1f1a69f Author: Alexandre Oliva Date: Tue Oct 29 18:13:06 2024 -0300 [testsuite] disable PIE on ia32 on more tests Multiple tests fail on ia32 with -fPIE enabled by default becau

[gcc r15-4752] c++: printing AGGR_INIT_EXPR args

2024-10-29 Thread Jason Merrill via Gcc-cvs
https://gcc.gnu.org/g:e6d21cbf5cf035b6fa9946a4321f87cbcfa9f275 commit r15-4752-ge6d21cbf5cf035b6fa9946a4321f87cbcfa9f275 Author: Jason Merrill Date: Tue Oct 22 17:45:00 2024 -0400 c++: printing AGGR_INIT_EXPR args PR30854 was about wrongly dumping the dummy object argument to a

[gcc r15-4753] c-family: Handle RAW_DATA_CST in complete_array_type [PR117313]

2024-10-29 Thread Jakub Jelinek via Gcc-cvs
https://gcc.gnu.org/g:28b7aed124d4d86be552f24469c2cfa59a49edaf commit r15-4753-g28b7aed124d4d86be552f24469c2cfa59a49edaf Author: Jakub Jelinek Date: Tue Oct 29 20:14:09 2024 +0100 c-family: Handle RAW_DATA_CST in complete_array_type [PR117313] The following testcase ICEs, because

[gcc r15-4749] [PATCH 2/2] RISC-V:Add intrinsic cases for the CMOs extensions

2024-10-29 Thread Jeff Law via Gcc-cvs
https://gcc.gnu.org/g:b22d9c8f8216d15773dee4f9677c6b26aff507fd commit r15-4749-gb22d9c8f8216d15773dee4f9677c6b26aff507fd Author: yulong Date: Tue Oct 29 08:44:45 2024 -0600 [PATCH 2/2] RISC-V:Add intrinsic cases for the CMOs extensions gcc/testsuite/ChangeLog: * g

[gcc r15-4750] testcase: Add testcase for tree-optimization/117341

2024-10-29 Thread Andrew Pinski via Gcc-cvs
https://gcc.gnu.org/g:17f6add3aba96681673b78862116a85d619cd806 commit r15-4750-g17f6add3aba96681673b78862116a85d619cd806 Author: Andrew Pinski Date: Mon Oct 28 22:05:08 2024 -0700 testcase: Add testcase for tree-optimization/117341 Even though PR 117341 was a duplicate of PR 11676

[gcc r15-4751] [RISC-V] RISC-V: Add implication for M extension.

2024-10-29 Thread Jeff Law via Gcc-cvs
https://gcc.gnu.org/g:f003834badbfd9d0c0ad132de8b2f3d550ed120f commit r15-4751-gf003834badbfd9d0c0ad132de8b2f3d550ed120f Author: Tsung Chun Lin Date: Tue Oct 29 09:47:57 2024 -0600 [RISC-V] RISC-V: Add implication for M extension. That M implies Zmmul. gcc/ChangeLog:

[gcc r15-4746] RISC-V: Implement the MASK_LEN_STRIDED_LOAD{STORE}

2024-10-29 Thread Pan Li via Gcc-cvs
https://gcc.gnu.org/g:30435cc261071d389d9a210f598170ecdd5ea13c commit r15-4746-g30435cc261071d389d9a210f598170ecdd5ea13c Author: Pan Li Date: Wed Oct 23 16:46:53 2024 +0800 RISC-V: Implement the MASK_LEN_STRIDED_LOAD{STORE} This patch would like to implment the MASK_LEN_STRIDED_LO

[gcc r15-4731] arm: [MVE intrinsics] Add load_ext intrinsic shape

2024-10-29 Thread Christophe Lyon via Gcc-cvs
https://gcc.gnu.org/g:c31cdc3d85e365ce0d233fe40bee40a8bd672b11 commit r15-4731-gc31cdc3d85e365ce0d233fe40bee40a8bd672b11 Author: Alfie Richards Date: Wed Sep 11 12:32:06 2024 +0200 arm: [MVE intrinsics] Add load_ext intrinsic shape This patch adds the extending load shape. It

[gcc r15-4733] arm: [MVE intrinsics] Add support for predicated contiguous loads and stores

2024-10-29 Thread Christophe Lyon via Gcc-cvs
https://gcc.gnu.org/g:16ee5c64e60b388df40a2b91d4a145159629cbcd commit r15-4733-g16ee5c64e60b388df40a2b91d4a145159629cbcd Author: Alfie Richards Date: Wed Sep 11 14:56:28 2024 +0200 arm: [MVE intrinsics] Add support for predicated contiguous loads and stores This patch extends

[gcc r15-4747] RISC-V: Add testcases for form 1 of MASK_LEN_STRIDED_LOAD{STORE}

2024-10-29 Thread Pan Li via Gcc-cvs
https://gcc.gnu.org/g:072d6bb67a51ceb9d7056f479f15f4c9f3b50b20 commit r15-4747-g072d6bb67a51ceb9d7056f479f15f4c9f3b50b20 Author: Pan Li Date: Wed Oct 23 16:52:01 2024 +0800 RISC-V: Add testcases for form 1 of MASK_LEN_STRIDED_LOAD{STORE} Form 1: void __attribute__((noinline)

[gcc r15-4748] [PATCH 1/2] RISC-V:Add intrinsic support for the CMOs extensions

2024-10-29 Thread Jeff Law via Gcc-cvs
https://gcc.gnu.org/g:d2c8548e0ce51dac6bc51d37236c50f98fca82f0 commit r15-4748-gd2c8548e0ce51dac6bc51d37236c50f98fca82f0 Author: yulong Date: Tue Oct 29 08:43:42 2024 -0600 [PATCH 1/2] RISC-V:Add intrinsic support for the CMOs extensions gcc/ChangeLog: * config.gc

[gcc r13-9154] rs6000: Fix PTImode handling in power8 swap optimization pass [PR116415]

2024-10-29 Thread Peter Bergner via Gcc-cvs
https://gcc.gnu.org/g:507ed9118b29d7a5a2b751876bec9a1f5009de01 commit r13-9154-g507ed9118b29d7a5a2b751876bec9a1f5009de01 Author: Peter Bergner Date: Fri Aug 23 11:45:40 2024 -0500 rs6000: Fix PTImode handling in power8 swap optimization pass [PR116415] Our power8 swap optimization

[gcc r15-4735] ada: Fix static_assert with one argument

2024-10-29 Thread Marc Poulhi?s via Gcc-cvs
https://gcc.gnu.org/g:61977b8af087a8e0f738a2c51f86ec12c554ec43 commit r15-4735-g61977b8af087a8e0f738a2c51f86ec12c554ec43 Author: Marc Poulhiès Date: Mon Oct 28 16:10:25 2024 +0100 ada: Fix static_assert with one argument Single argument static_assert is C++17 only and breaks the b

[gcc r15-4736] libstdc++: Use if consteval rather than if (std::__is_constant_evaluated()) for {, b}float16_t nextaf

2024-10-29 Thread Jakub Jelinek via Gcc-cvs
https://gcc.gnu.org/g:5e247ac0c28b9a2662f99c4a5420c5f7c2d0c6bd commit r15-4736-g5e247ac0c28b9a2662f99c4a5420c5f7c2d0c6bd Author: Jakub Jelinek Date: Tue Oct 29 11:14:12 2024 +0100 libstdc++: Use if consteval rather than if (std::__is_constant_evaluated()) for {,b}float16_t nextafter [PR11

[gcc r15-4737] tree-optimization/117333 - ICE with NULL access size DR

2024-10-29 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:0e99b22aa666f107c4035d32bfb5ab11534a9d2f commit r15-4737-g0e99b22aa666f107c4035d32bfb5ab11534a9d2f Author: Richard Biener Date: Tue Oct 29 09:42:12 2024 +0100 tree-optimization/117333 - ICE with NULL access size DR dr_may_alias_p ICEs when TYPE_SIZE of DR->re

[gcc r15-4734] arm: [MVE intrinsics] Rework MVE vld/vst intrinsics

2024-10-29 Thread Christophe Lyon via Gcc-cvs
https://gcc.gnu.org/g:63b6967b06b5387821c4e5f2c113da6aaeeae2b7 commit r15-4734-g63b6967b06b5387821c4e5f2c113da6aaeeae2b7 Author: Alfie Richards Date: Wed Sep 11 15:01:43 2024 +0200 arm: [MVE intrinsics] Rework MVE vld/vst intrinsics Implement the mve vld and vst intrinsics using t

[gcc r15-4730] arm: [MVE intrinsics] fix vst tests

2024-10-29 Thread Christophe Lyon via Gcc-cvs
https://gcc.gnu.org/g:3aca5aa0f09e7b9f174c4ed3461612a0d0f002d0 commit r15-4730-g3aca5aa0f09e7b9f174c4ed3461612a0d0f002d0 Author: Alfie Richards Date: Wed Sep 11 18:02:01 2024 +0200 arm: [MVE intrinsics] fix vst tests The tests for vst* instrinsics use functions which return a void

[gcc r15-4732] arm: [MVE intrinsics] Add load_extending and store_truncating function bases

2024-10-29 Thread Christophe Lyon via Gcc-cvs
https://gcc.gnu.org/g:52e36cde0f6680ef56043cb220eb9cd0be927749 commit r15-4732-g52e36cde0f6680ef56043cb220eb9cd0be927749 Author: Alfie Richards Date: Wed Sep 11 14:55:24 2024 +0200 arm: [MVE intrinsics] Add load_extending and store_truncating function bases This patch adds the loa

[gcc r15-4765] testsuite: Adjust AVX10.2 check_effective_target

2024-10-29 Thread Haochen Jiang via Gcc-cvs
https://gcc.gnu.org/g:12086865232382f93081d5564ff44b14bd71341c commit r15-4765-g12086865232382f93081d5564ff44b14bd71341c Author: Haochen Jiang Date: Tue Oct 29 15:51:14 2024 +0800 testsuite: Adjust AVX10.2 check_effective_target Since Binutils haven't fully merged all AVX10.2 inst