[gcc r15-3281] i386: Support wide immediate constants in STV.

2024-08-28 Thread Roger Sayle via Gcc-cvs
https://gcc.gnu.org/g:3cb92be94e6581697369eeafdb67057c8cfba73f commit r15-3281-g3cb92be94e6581697369eeafdb67057c8cfba73f Author: Roger Sayle Date: Wed Aug 28 21:19:28 2024 -0600 i386: Support wide immediate constants in STV. This patch provides more accurate costs/gains for (wide)

[gcc r15-3279] Record member functions in CodeView struct definitions

2024-08-28 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:c5043d89449758ecf6a3f1475e027a73976f58c3 commit r15-3279-gc5043d89449758ecf6a3f1475e027a73976f58c3 Author: Mark Harmstone Date: Mon Aug 26 22:40:56 2024 +0100 Record member functions in CodeView struct definitions CodeView has two ways of recording struct mem

[gcc r15-3280] Write LF_MFUNC_ID types for CodeView struct member functions

2024-08-28 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:155da081706e0e0527f01ad565b1cd6c217f5880 commit r15-3280-g155da081706e0e0527f01ad565b1cd6c217f5880 Author: Mark Harmstone Date: Mon Aug 26 22:16:11 2024 +0100 Write LF_MFUNC_ID types for CodeView struct member functions If recording the definition of a struct

[gcc r15-3278] Record static data members in CodeView structs

2024-08-28 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:6a9932ecdaac16c0fa21cc7c39589a3cd7cacf0f commit r15-3278-g6a9932ecdaac16c0fa21cc7c39589a3cd7cacf0f Author: Mark Harmstone Date: Mon Aug 26 21:34:46 2024 +0100 Record static data members in CodeView structs Record LF_STMEMBER field list subtypes to represent s

[gcc r15-3277] Handle scoping in CodeView LF_FUNC_ID types

2024-08-28 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:310fd68c6cb62b69ddd98c61aab8cb9db242b6a4 commit r15-3277-g310fd68c6cb62b69ddd98c61aab8cb9db242b6a4 Author: Mark Harmstone Date: Mon Aug 26 21:19:51 2024 +0100 Handle scoping in CodeView LF_FUNC_ID types If a function is in a namespace, create an LF_STRING_ID

[gcc r15-3276] Handle namespaced names for CodeView

2024-08-28 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:350122685af24442501f19e2f03a0a2d8c651bc8 commit r15-3276-g350122685af24442501f19e2f03a0a2d8c651bc8 Author: Mark Harmstone Date: Mon Aug 26 21:03:58 2024 +0100 Handle namespaced names for CodeView Run all CodeView names through a new function get_name, which c

[gcc r15-3274] c++: wrong error due to std::initializer_list opt [PR116476]

2024-08-28 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:9f79c7ddff5f1b004803931406ad17eaba095fff commit r15-3274-g9f79c7ddff5f1b004803931406ad17eaba095fff Author: Marek Polacek Date: Wed Aug 28 15:45:49 2024 -0400 c++: wrong error due to std::initializer_list opt [PR116476] Here maybe_init_list_as_array gets eltty

[gcc r15-3272] expand: Add debug dump on the cost for `popcount==1` expand

2024-08-28 Thread Andrew Pinski via Gcc-cvs
https://gcc.gnu.org/g:3c89c41991d8e84d28d3aba22bb06b2712a29523 commit r15-3272-g3c89c41991d8e84d28d3aba22bb06b2712a29523 Author: Andrew Pinski Date: Mon Aug 26 15:14:24 2024 -0700 expand: Add debug dump on the cost for `popcount==1` expand While working on PR 114224, I found it wo

[gcc r15-3271] libstdc++: Fix autoconf check for O_NONBLOCK in

2024-08-28 Thread Jonathan Wakely via Libstdc++-cvs
https://gcc.gnu.org/g:b68561dd7925dfee1836f75d3fa8d33fff5c2498 commit r15-3271-gb68561dd7925dfee1836f75d3fa8d33fff5c2498 Author: Jonathan Wakely Date: Wed Aug 28 12:38:18 2024 +0100 libstdc++: Fix autoconf check for O_NONBLOCK in I misused the AC_CHECK_DECL macro, assuming that i

[gcc r15-3270] libstdc++: Fix -Wunused-parameter warnings in Networking TS headers

2024-08-28 Thread Jonathan Wakely via Libstdc++-cvs
https://gcc.gnu.org/g:51b0fef4e6ee01ed2509bd54a448d2564a89c518 commit r15-3270-g51b0fef4e6ee01ed2509bd54a448d2564a89c518 Author: Jonathan Wakely Date: Wed Aug 28 12:21:56 2024 +0100 libstdc++: Fix -Wunused-parameter warnings in Networking TS headers libstdc++-v3/ChangeLog:

[gcc r15-3269] libstdc++: Fix -Wunused-variable warning in

2024-08-28 Thread Jonathan Wakely via Libstdc++-cvs
https://gcc.gnu.org/g:0e2b3dba5179c9becbff0730febbdce3a088bae3 commit r15-3269-g0e2b3dba5179c9becbff0730febbdce3a088bae3 Author: Jonathan Wakely Date: Wed Aug 28 12:09:58 2024 +0100 libstdc++: Fix -Wunused-variable warning in libstdc++-v3/ChangeLog: * include/std

[gcc r15-3268] libstdc++: Remove unused typedef in

2024-08-28 Thread Jonathan Wakely via Libstdc++-cvs
https://gcc.gnu.org/g:a59f1cc31cf6c7ed30a78cef134ea3ed5e139414 commit r15-3268-ga59f1cc31cf6c7ed30a78cef134ea3ed5e139414 Author: Jonathan Wakely Date: Wed Aug 28 11:49:08 2024 +0100 libstdc++: Remove unused typedef in This local typedef should have been removed in r14-6199-g45630

[gcc r15-3267] doc: Add Dhruv Matani to Contributors

2024-08-28 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:9740a1b0dc10c93f325fb17dacea7d123bc0cdd2 commit r15-3267-g9740a1b0dc10c93f325fb17dacea7d123bc0cdd2 Author: Jonathan Wakely Date: Wed Aug 28 11:49:46 2024 +0100 doc: Add Dhruv Matani to Contributors gcc/ChangeLog: * doc/contrib.texi (Contribut

[gcc r15-3266] libstdc++: Fix @file for target-specific opt_random.h

2024-08-28 Thread Jonathan Wakely via Libstdc++-cvs
https://gcc.gnu.org/g:c2ad7b2d5247cf2ddee98d7f46274775a3fa1268 commit r15-3266-gc2ad7b2d5247cf2ddee98d7f46274775a3fa1268 Author: Kim Gräsman Date: Tue Aug 27 17:11:29 2024 +0100 libstdc++: Fix @file for target-specific opt_random.h A few of these files self-identified as ext/rando

[gcc r15-3265] libstdc++: Fix @headername for bits/cpp_type_traits.h

2024-08-28 Thread Jonathan Wakely via Gcc-cvs
https://gcc.gnu.org/g:f6ed7a61a7c906f8fb7f8059132225c9bc41f3b2 commit r15-3265-gf6ed7a61a7c906f8fb7f8059132225c9bc41f3b2 Author: Kim Gräsman Date: Tue Aug 27 17:08:47 2024 +0100 libstdc++: Fix @headername for bits/cpp_type_traits.h There is no file ext/type_traits, point it to ext

[gcc r15-3264] AVR: Overhaul the avr-ifelse RTL optimization pass.

2024-08-28 Thread Georg-Johann Lay via Gcc-cvs
https://gcc.gnu.org/g:898f013e195fa828bb30ae6ba4ad50abbd804fbd commit r15-3264-g898f013e195fa828bb30ae6ba4ad50abbd804fbd Author: Georg-Johann Lay Date: Fri Aug 23 11:34:43 2024 +0200 AVR: Overhaul the avr-ifelse RTL optimization pass. Mini-pass avr-ifelse realizes optimizations th

[gcc r15-3262] c++: ICE with ()-init and TARGET_EXPR eliding [PR116424]

2024-08-28 Thread Marek Polacek via Gcc-cvs
https://gcc.gnu.org/g:15f857af2943a4aa282d04ff71f860352ad3291b commit r15-3262-g15f857af2943a4aa282d04ff71f860352ad3291b Author: Marek Polacek Date: Tue Aug 27 18:25:17 2024 -0400 c++: ICE with ()-init and TARGET_EXPR eliding [PR116424] Here we crash on a cp_gimplify_expr/TARGET_E

[gcc r15-3261] aarch64: Assume zero gather/scatter set-up cost for -mtune=generic

2024-08-28 Thread Richard Sandiford via Gcc-cvs
https://gcc.gnu.org/g:abeeccef92892fe519cc417b30ae22ce9da2d5e6 commit r15-3261-gabeeccef92892fe519cc417b30ae22ce9da2d5e6 Author: Richard Sandiford Date: Wed Aug 28 16:41:09 2024 +0100 aarch64: Assume zero gather/scatter set-up cost for -mtune=generic generic_vector_cost is not cur

[gcc r15-3260] aarch64: Fix gather x32/x64 selection

2024-08-28 Thread Richard Sandiford via Gcc-cvs
https://gcc.gnu.org/g:3e27ea26fedf00c2662d8460cdf6aca05d0d64aa commit r15-3260-g3e27ea26fedf00c2662d8460cdf6aca05d0d64aa Author: Richard Sandiford Date: Wed Aug 28 16:41:08 2024 +0100 aarch64: Fix gather x32/x64 selection The SVE gather and scatter costs are classified based on wh

[gcc r15-3259] aarch64: Add a test for zeroing <64bits>x2_t structures

2024-08-28 Thread Richard Sandiford via Gcc-cvs
https://gcc.gnu.org/g:035c196cb9be2f1aee142240d506dde474cbe64e commit r15-3259-g035c196cb9be2f1aee142240d506dde474cbe64e Author: Richard Sandiford Date: Wed Aug 28 16:41:08 2024 +0100 aarch64: Add a test for zeroing <64bits>x2_t structures g:8d6c6fbc5271dde433998c09407b30e2cf19542

[gcc r15-3258] Tweak documentation of ASM_INPUT_P

2024-08-28 Thread Richard Sandiford via Gcc-cvs
https://gcc.gnu.org/g:3c9338b532fd609f5cc1c50d6a4e77e0e1ab3bc5 commit r15-3258-g3c9338b532fd609f5cc1c50d6a4e77e0e1ab3bc5 Author: Richard Sandiford Date: Wed Aug 28 16:37:53 2024 +0100 Tweak documentation of ASM_INPUT_P The documentation of ASM_INPUT_P implied that the flag has no

[gcc r15-3257] Libquadmath: update doc for some constants

2024-08-28 Thread François-Xavier Coudert via Gcc-cvs
https://gcc.gnu.org/g:bdcd30e4711943cae70a1b47f8a63e96a94c02a0 commit r15-3257-gbdcd30e4711943cae70a1b47f8a63e96a94c02a0 Author: Francois-Xavier Coudert Date: Tue Aug 20 18:42:31 2024 +0200 Libquadmath: update doc for some constants libquadmath/ChangeLog: * libqua

[gcc r15-3256] gimple ssa: switchconv: Use __builtin_popcount and support more types in exp transform [PR116355]

2024-08-28 Thread Filip Kastl via Gcc-cvs
https://gcc.gnu.org/g:1c4b9826bd0d5ac471543c68f097d80b1969f599 commit r15-3256-g1c4b9826bd0d5ac471543c68f097d80b1969f599 Author: Filip Kastl Date: Wed Aug 28 15:47:44 2024 +0200 gimple ssa: switchconv: Use __builtin_popcount and support more types in exp transform [PR116355] The

[gcc r15-3255] libstdc++: avoid -Wsign-compare

2024-08-28 Thread Jason Merrill via Libstdc++-cvs
https://gcc.gnu.org/g:4246cf4f18053eeb47cb2a241fffa9a41573916e commit r15-3255-g4246cf4f18053eeb47cb2a241fffa9a41573916e Author: Jason Merrill Date: Tue Aug 27 13:17:20 2024 -0400 libstdc++: avoid -Wsign-compare -Wsign-compare complained about these comparisons between (unsigned)

[gcc r15-3254] testsuite: Add scan-ltrans-rtl* for use in dg-final [PR116140]

2024-08-28 Thread Alex Coplan via Gcc-cvs
https://gcc.gnu.org/g:3f51f0dc88ec21c1ec79df694200f10ef85915f4 commit r15-3254-g3f51f0dc88ec21c1ec79df694200f10ef85915f4 Author: Alex Coplan Date: Tue Aug 27 16:51:12 2024 + testsuite: Add scan-ltrans-rtl* for use in dg-final [PR116140] This extends the scan-ltrans-tree* helpe

[gcc r15-3251] Split out vect_build_slp_store_interleaving

2024-08-28 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:ad895a28905c143ec731741cc93ebb340f59bfa8 commit r15-3251-gad895a28905c143ec731741cc93ebb340f59bfa8 Author: Richard Biener Date: Tue Aug 27 14:19:38 2024 +0200 Split out vect_build_slp_store_interleaving This splits out SLP store interleaving into a separate f

[gcc r15-3253] Add debug overload for slp_instance

2024-08-28 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:2c0b574ac6a2d01b099fcb60e46414e96b93f0a9 commit r15-3253-g2c0b574ac6a2d01b099fcb60e46414e96b93f0a9 Author: Richard Biener Date: Wed Aug 28 11:06:00 2024 +0200 Add debug overload for slp_instance I found it helpful to be able to print a whole SLP instance from

[gcc r15-3252] Fix leak of SLP nodes when building store interleaving

2024-08-28 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:04065d8c3083f76f877dc62d56807a7d3638be69 commit r15-3252-g04065d8c3083f76f877dc62d56807a7d3638be69 Author: Richard Biener Date: Wed Aug 28 11:04:07 2024 +0200 Fix leak of SLP nodes when building store interleaving The following fixes a leak of the discovered

[gcc r15-3250] c++: add missing -Wc++??-extensions checks

2024-08-28 Thread Jason Merrill via Gcc-cvs
https://gcc.gnu.org/g:7f4f1bb29a47fbe63a15dda8acfe247b2e934959 commit r15-3250-g7f4f1bb29a47fbe63a15dda8acfe247b2e934959 Author: Jason Merrill Date: Tue Aug 27 13:14:45 2024 -0400 c++: add missing -Wc++??-extensions checks The pedwarns for each of these features should be silenced

[gcc r15-3249] libgomp: Add interop types and routines to OpenMP's headers and module

2024-08-28 Thread Tobias Burnus via Gcc-cvs
https://gcc.gnu.org/g:0beac1db38855eae0f71fa982ed05069d3873a9c commit r15-3249-g0beac1db38855eae0f71fa982ed05069d3873a9c Author: Tobias Burnus Date: Wed Aug 28 11:50:43 2024 +0200 libgomp: Add interop types and routines to OpenMP's headers and module This commit adds OpenMP 5.1+'s

[gcc r15-3248] libstdc++: fix testcase regexp

2024-08-28 Thread Jason Merrill via Gcc-cvs
https://gcc.gnu.org/g:7bd2a2f9e3ef9f7de4c2f478241f7083cc54d7d3 commit r15-3248-g7bd2a2f9e3ef9f7de4c2f478241f7083cc54d7d3 Author: Jason Merrill Date: Tue Aug 27 13:16:47 2024 -0400 libstdc++: fix testcase regexp The unescaped * broke the match. libstdc++-v3/ChangeLog:

[gcc r15-3247] libstdc++: avoid -Wzero-as-null-pointer-constant

2024-08-28 Thread Jason Merrill via Gcc-cvs
https://gcc.gnu.org/g:28f94bf91a536395347a2da5558f0ddf014e814f commit r15-3247-g28f94bf91a536395347a2da5558f0ddf014e814f Author: Jason Merrill Date: Tue Aug 27 13:15:52 2024 -0400 libstdc++: avoid -Wzero-as-null-pointer-constant libstdc++-v3/ChangeLog: * include/s

[gcc r15-3246] libstdc++: add missing return

2024-08-28 Thread Jason Merrill via Gcc-cvs
https://gcc.gnu.org/g:5974da3dfb6b4c205c14353f59b4369a3437e543 commit r15-3246-g5974da3dfb6b4c205c14353f59b4369a3437e543 Author: Jason Merrill Date: Tue Aug 27 13:14:05 2024 -0400 libstdc++: add missing return The return seems to have been lost in the r15-1858 RAII overhaul.

[gcc r15-3245] libstdc++: remove extra semicolons

2024-08-28 Thread Jason Merrill via Libstdc++-cvs
https://gcc.gnu.org/g:7b500fa34ad88d5fdd4bf74eb2737b214749075b commit r15-3245-g7b500fa34ad88d5fdd4bf74eb2737b214749075b Author: Jason Merrill Date: Tue Aug 27 13:13:40 2024 -0400 libstdc++: remove extra semicolons The semicolons after each macro invocation here end up following t

[gcc r14-10617] i386: testsuite: Adapt fentryname3.c for r14-811 change [PR70150]

2024-08-28 Thread Xi Ruoyao via Gcc-cvs
https://gcc.gnu.org/g:f5b3dae221e6e41ebd806f504d83012173737dab commit r14-10617-gf5b3dae221e6e41ebd806f504d83012173737dab Author: Xi Ruoyao Date: Mon May 6 11:39:14 2024 +0800 i386: testsuite: Adapt fentryname3.c for r14-811 change [PR70150] After r14-811 "call *nop@GOTPCREL(%rip)

[gcc r14-10616] i386: testsuite: Add -no-pie for pr113689-1.c [PR70150]

2024-08-28 Thread Xi Ruoyao via Gcc-cvs
https://gcc.gnu.org/g:377c3e9a8b73b47a1211d43fee162179ee1f87e7 commit r14-10616-g377c3e9a8b73b47a1211d43fee162179ee1f87e7 Author: Xi Ruoyao Date: Mon May 6 11:33:43 2024 +0800 i386: testsuite: Add -no-pie for pr113689-1.c [PR70150] For a --enable-default-pie build, using -fno-pic

[gcc r15-3244] Test: Move pr116278 run test to dg/torture [NFC]

2024-08-28 Thread Pan Li via Gcc-cvs
https://gcc.gnu.org/g:3178786c88761e47b3cbe700a97a0de2b6e133cb commit r15-3244-g3178786c88761e47b3cbe700a97a0de2b6e133cb Author: Pan Li Date: Mon Aug 19 10:02:46 2024 +0800 Test: Move pr116278 run test to dg/torture [NFC] Move the run test of pr116278 to dg/torture and leave the r

[gcc(refs/users/egallager/heads/ruff_fix_unsafe)] run `ruff check --fix --unsafe-fixes`

2024-08-28 Thread Eric Gallager via Gcc-cvs
https://gcc.gnu.org/g:d7bb10b894601757925f95029904b73a2bfe9a46 commit d7bb10b894601757925f95029904b73a2bfe9a46 Author: Eric Gallager Date: Wed Aug 28 03:30:01 2024 -0400 run `ruff check --fix --unsafe-fixes` Diff: --- contrib/analyze_brprob.py | 31 +-

[gcc r15-3243] Vect: Reconcile the const_int operand type of unsigned .SAT_ADD

2024-08-28 Thread Pan Li via Gcc-cvs
https://gcc.gnu.org/g:6dccd5710380429c7addec9fe92a1a0bcb2f3367 commit r15-3243-g6dccd5710380429c7addec9fe92a1a0bcb2f3367 Author: Pan Li Date: Tue Aug 27 15:01:02 2024 +0800 Vect: Reconcile the const_int operand type of unsigned .SAT_ADD The .SAT_ADD has 2 operand, when one of the

[gcc] Created branch 'egallager/heads/ruff_fix_unsafe' in namespace 'refs/users'

2024-08-28 Thread Eric Gallager via Gcc-cvs
The branch 'egallager/heads/ruff_fix_unsafe' was created in namespace 'refs/users' pointing to: adaa6472e158... run `ruff check --fix`

[gcc(refs/users/egallager/heads/ruff_fix)] run `ruff check --fix`

2024-08-28 Thread Eric Gallager via Gcc-cvs
https://gcc.gnu.org/g:adaa6472e158d51fc30a74d799eb2a3e9576942c commit adaa6472e158d51fc30a74d799eb2a3e9576942c Author: Eric Gallager Date: Wed Aug 28 03:28:10 2024 -0400 run `ruff check --fix` Diff: --- contrib/analyze_brprob.py | 4 +--- contrib/check_GNU_style_lib

[gcc] Created branch 'egallager/heads/ruff_fix' in namespace 'refs/users'

2024-08-28 Thread Eric Gallager via Gcc-cvs
The branch 'egallager/heads/ruff_fix' was created in namespace 'refs/users' pointing to: 3cde331e9590... RISC-V: Add missing mode_idx for vrol and vror