For master, let's change the default; see other recent patch.
Committed to gcc-15 branch.
Pietro, thanks again for the patch that led up to this. This is
in a different place and with different contents, but you made
the first move in this direction so IMHO attribution is in order.
-- >8 --
Be
From: Hans-Peter Nilsson
This has an effect only for MMIX and BPF. All other targets are
either 32-bits-or-less BITS_PER_WORD (and will now get 64 just
by a more obvious expression), or they don't use the default
MAX_FIXED_MODE_SIZE.
I can't build a complete toolchain for BPF (fails building
li
PR libstdc++/119137
libstdc++-v3/ChangeLog:
* include/std/inplace_vector (inplace_vector::operator=):
Qualify call to std::addressof.
---
Thank's Patrick for pointing this out. Pushed to trunk.
libstdc++-v3/include/std/inplace_vector | 4 ++--
1 file changed, 2 insertion
Previously for localized output, if _M_debug option was set, the _M_check_ok
completed succesfully and _M_locale_fmt was called for months/weekdays that
are !ok().
This patch lifts debug checks from each conversion function into _M_check_ok,
that in case of !ok() values return a string_view contai
On Fri, Jul 18, 2025 at 3:04 PM Jonathan Wakely wrote:
> On 18/07/25 14:01 +0200, Tomasz Kamiński wrote:
> >Previously for localized output, if _M_debug option was send, the
> _M_check_ok
> >completed succesfully and _M_locale_fmt was called for months/weekdays
> that
> >are !ok().
> >
> >This pa
On 7/18/25 05:39, Kyrylo Tkachov wrote:
> External email: Use caution opening links or attachments
>
>
> Hi all,
>
> For inserting zero into a vector lane we usually use an instruction like:
> ins v0.h[2], wzr
>
> This, however, has not-so-great performance on some CPUs.
> On Grace, f
Thanks Ciyan, a nit for asm check.
+/* { dg-do compile } */
+/* { dg-options "-march=rv64gc -mabi=lp64d -fdump-tree-optimized" } */
+
+#include "sat_arith.h"
+
+DEF_SAT_U_ADD_FMT_8(uint16_t)
+
+/* { dg-final { scan-tree-dump-times ".SAT_ADD " 1 "optimized" } } */
Can we add /* { dg-final { scan-a
On 18/07/25 14:01 +0200, Tomasz Kamiński wrote:
Previously for localized output, if _M_debug option was send, the _M_check_ok
completed succesfully and _M_locale_fmt was called for months/weekdays that
are !ok().
This patch lifts debug checks from each conversion function into _M_check_ok,
that
> OK. Curious if you've seen this show up in practice and is using the
> vaaddu and similar instructions actually profitable?
I remember avg will be presented in somewhere else but not for DImode.
I tried to add vaadd related vx combine and notice we don't have DImode for
rvv, so make it availa
Hi all, hi Harald,
attached patch fixes a runtime out-of-bounds error when an iterator of an
implied do-loop was not substituted as expected. The resulting code would still
use the uninitialized iterator variable which then lead to out-of-bounds
accesses.
Harald, I did not look at the patch you p
I am at a point where I want to store additional information from
analysis (from loads and stores) to re-use them at transform stage
without repeating the analysis. I do not want to add to
stmt_vec_info at this point, so this starts adding kind specific
sub-structures by moving the STMT_VINFO_TYPE
Previously for localized output, if _M_debug option was send, the _M_check_ok
completed succesfully and _M_locale_fmt was called for months/weekdays that
are !ok().
This patch lifts debug checks from each conversion function into _M_check_ok,
that in case of !ok() values return a string_view conta
Hi!
On 2025-04-26T00:09:21+, ci_notify--- via Gcc-regression
wrote:
> Our automatic CI has detected problems related to your patch(es). Please find
> some details below.
>
> In gcc_check master-arm, after:
> | commit gcc-16-130-gaafe942227b
> | Author: Thomas Schwinge
> | Date: Wed
Previously for localized output, if _M_debug option was send, the _M_check_ok
completed succesfully and _M_locale_fmt was called for months/weekdays that
are !ok().
This patch lifts debug checks from each conversion function into _M_check_ok,
that in case of !ok() values return a string_view conta
On Fri, Jul 18, 2025 at 12:52 PM Nathan Myers wrote:
> * I rewrote the implementation to more closely resemble the
> non-NTTP version, and fix the various noexcept and requires
> omissions.
>
I have a task to adjust them later, so the alignment may not be desired.
>
> * I don't understand wh
There's a new compiler warning breaking the build. This fixes it. The
variable appears to be genuinely vestigial.
libgomp/ChangeLog:
PR target/121156
* config/gcn/bar.c (gomp_team_barrier_wait_end): Remove unused
"generation" variable.
(gomp_team_barrier_wait_can
The following is a start to how we handle gather/scatter, in
particular at this point we are re-doing stmt-based analysis
at many points but with SLP we're doing that only on the
representative for later analyses. The following does a first
step in trying to remember the dataref analysis result
(a
* I rewrote the implementation to more closely resemble the
non-NTTP version, and fix the various noexcept and requires
omissions.
* I don't understand what "a separate type for single argument
case, that correspond to function_ref nontype, ptr/ref constructor"
means, but I did make no-boun
On Fri, 18 Jul 2025 at 11:04, Tomasz Kamiński wrote:
>
> Previously for localized output, if _M_debug option was send, the _M_check_ok
> completed succesfully and _M_locale_fmt was called for months/weekdays that
> are !ok().
>
> This patch lifts debug checks from each conversion function into _M_
Previously for localized output, if _M_debug option was send, the _M_check_ok
completed succesfully and _M_locale_fmt was called for months/weekdays that
are !ok().
This patch lifts debug checks from each conversion function into _M_check_ok,
that in case of !ok() values return a string_view conta
Hi all,
For inserting zero into a vector lane we usually use an instruction like:
ins v0.h[2], wzr
This, however, has not-so-great performance on some CPUs.
On Grace, for example it has a latency of 5 and throughput 1.
The alternative sequence:
moviv31.8b, #0
ins
Hi all,
The rtx costs logic for CONST_VECTOR, VEC_DUPLICATE and VEC_SELECT sets
the cost unconditionally to the movi, dup or extract fields of extra_cost,
when the normal practice in that function is to use extra_cost only when speed
is set. When speed is false the function should estimate the si
This implements the missing functions in _Utf_iterator to support
reverse iteration. All existing tests pass when the view is reversed, so
that the same code units are seen when iterating forwards or backwards.
libstdc++-v3/ChangeLog:
* include/bits/unicode.h (_Utf_iterator::operator--):
I incorrectly assumed that all targets that support __int128 use the
LP64 ABI, so size_t is a 64-bit type. But x32 uses ILP32 and still
supports __int128 (because it's an ILP32 target on 64-bit hardware).
Add casts to the tests so that we get the correct expected values using
size_t type.
libstdc
This removes paths gated by !slp_node and propagates out ncopies == 1,
thereby reducing the vectorizable_live_operation_1 API.
Bootstrapped and tested on x86_64-unknown-linux-gnu, pushed.
* tree-vect-loop.cc (vectorizable_live_operation_1):
Remove stmt_info and ncopies parameters.
This patch introduces the procedure GetFile into the supplementary
ISO style library IOChanUtils.
gcc/m2/ChangeLog:
PR modula2/120912
* gm2-libs-iso/IOChanUtils.def (GetFile): New procedure function.
* gm2-libs-iso/IOChanUtils.mod (GetFile): New procedure function.
(che
Implements Philox Engine (P2075R6) and associated tests.
Additionally implements changes based on feedback from Patrick
Palka and jwakely on v2.
Regarding the question posed by Patrick on why some things are
defined inline and some out of line, things were either defined inline
either due to bein
Hi Segher,
On 7/18/2025 1:36 PM, Segher Boessenkool wrote:
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know
the content is safe.
Hi!
On Fri, Jul 18, 2025 at 01:29:07PM +0530, Harish Sadineni wrote:
On Fri, 18 Jul 2025 at 07:59, Tomasz Kaminski wrote:
>
>
>
> On Thu, Jul 17, 2025 at 7:02 PM Jonathan Wakely wrote:
>>
>> This implements the missing functions in _Utf_iterator to support
>> reverse iteration. All existing tests pass when the view is reversed, so
>> that the same code units are s
> Hi,
>
> Thanks for the review! No, there is no reason for it being CamelCase. I had
> written
> the code in CamelCase originally then 'sed s/CamelCase/snake_case/g'd the
> functions.
> I forgot to update this one :)
>
> Looks like I also forgot to update the Colors class as well.
I'd actuall
Hi Thomas,
> In PR119692 "C++ 'typeinfo', 'vtable' vs. OpenACC, OpenMP 'target'
> offloading":
>
>> --- Comment #8 from Rainer Orth ---
>> The last commit made things worse on sparc-sun-solaris2.11: since that one
>> (dg-timeout 10) I regularly get
>>
>> WARNING: libgomp.c++/target-exceptions-ba
From: Gary Dismukes
The compiler incorrectly treats an overriding private subprogram that
should not be visible outside a package (because it only overrides in
the private part) as a possible interpretation for a call using prefixed
notation outside of the package. This can result in an ambiguity
From: Javier Miranda
gcc/ada/ChangeLog:
* exp_aggr.adb (Gen_Assign): Code cleanup.
(Initialize_Component): Do not adjust the tag when the type of
the aggregate components is a mutably tagged type.
Tested on x86_64-pc-linux-gnu, committed on master.
---
gcc/ada/exp_aggr
On 18/07/25 13:22, Filip Kastl wrote:
External email: Use caution opening links or attachments
Hi,
I've tried running it and quickly looked through the code. Looks good to me!
I'm not a mantainer, though.
Just two nitpicks from me inline...
On Wed 2025-07-16 21:47:00, dhr...@nvidia.com wrot
From: Steve Baird
In some cases involving a generic with two formal parameters, a formal package
and a formal derived type that is derived from an interface type declared in
the formal package, a legal instantiation of that generic is rejected with a
message incorrectly stating that the second ac
From: Bob Duff
...because it breaks one test that uses --RTS=light.
"Is_Composite_Type" is needed; "not Is_Scalar_Type"
was wrong.
gcc/ada/ChangeLog:
* tbuild.adb (Unchecked_Convert_To): Back out
change.
Tested on x86_64-pc-linux-gnu, committed on master.
---
gcc/ada/tbuild.a
When inlining function calls that return on the secondary stack used as
function actual or in a return statement, the compiler creates an
invalid GNAT Tree with a variable of an unconstrained type without an
initializer.
Also add an extra assertion to catch problematic cases directly in
Expand_Inl
From: Piotr Trojanek
For non-instance units GNAT builds elaboration entities before the ghost mode
is inherited from those units. However, for generic instances GNAT was building
elaboration entities with ghost mode inherited from those instances, which
effectively caused elaboration entities to
Added changelog entries.
-- >8 --
If a check-function-bodies test is compiled using -fstack-protector*,
-fhardened, -fstack-check*, or -fstack-clash-protection, but the test is
not asking explicitly for those via dg-options or
dg-additional-options, then mark the test as unsupported. Since these
Hi!
On Fri, Jul 18, 2025 at 01:29:07PM +0530, Harish Sadineni wrote:
> > Okay for trunk (with the commit message improved). Thank you!
> Thank you for the review.
> I have updated the commit message as you suggested and sent a v3.
Which I pre-approved, eh :-) And it does look good, please commi
Hi Segher,
On 7/17/2025 10:20 PM, Segher Boessenkool wrote:
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know
the content is safe.
Hi!
On Thu, Jul 17, 2025 at 05:58:47AM -0700, harish.sadin...@windriv
From: Harish Sadineni
Avoid encoding full build paths into file headers, use only the
basename of the source file. This improves build reproducibility,
particularly in environments where build paths vary and source
files are saved for debugging.
For example, in addkf3-sw.c the file header previo
* Andrew
On Mon, Jul 14, 2025 at 08:51:01AM -0700, Andrew Pinski wrote:
> On Mon, Jul 14, 2025 at 5:32 AM Yury Khrustalev
> wrote:
> >
> > ...
> >
> > Regression has been checked on AArch64 and no regression has been
> > found. OK for trunk?
>
> I think this is ok. I assume you tested it with b
Hi,
I've tried running it and quickly looked through the code. Looks good to me!
I'm not a mantainer, though.
Just two nitpicks from me inline...
On Wed 2025-07-16 21:47:00, dhr...@nvidia.com wrote:
> From: Dhruv Chawla
>
> This is a script that makes it easier to visualize the output from ma
cpplib-15.1-b20250316.sr.po.gz
Description: Binary data
The Translation Project robot, in the
name of your translation coordinator.
Hello, gentle maintainer.
This is a message from the Translation Project robot.
A revised PO file for textual domain 'cpplib' has been submitted
by the Serbian team of translators. The file is available at:
https://translationproject.org/latest/cpplib/sr.po
(This file, 'cpplib-15.1-b202503
On Fri, Jul 18, 2025 at 09:07:35AM +0200, Richard Biener wrote:
> The PR shows that the uninit analysis limits are set too low in
> cases we lower switches to ifs as happens on s390x for a linux
> kernel TU. This causes false positive uninit diagnostics as we
> abort the attempt to prove that a va
The PR shows that the uninit analysis limits are set too low in
cases we lower switches to ifs as happens on s390x for a linux
kernel TU. This causes false positive uninit diagnostics as we
abort the attempt to prove that a value is initialized on all
paths. The new testcase only would require up
This patch reformats three comments in the GNU GCC style.
gcc/m2/ChangeLog:
* gm2-compiler/M2GCCDeclare.mod (StartDeclareModuleScopeSeparate):
Reformat statement comments.
(StartDeclareModuleScopeWholeProgram): Ditto.
(cherry picked from commit 7a7cc65b8987b9b05fb8fb758
On Thu, 17 Jul 2025, Jakub Jelinek wrote:
> Hi!
>
> The following testcase ICEs because SCALAR_INT_TYPE_MODE of course
> doesn't work for large BITINT_TYPE types which have BLKmode.
> native_encode* as well as e.g. r14-8276 use in cases like these
> GET_MODE_SIZE (SCALAR_INT_TYPE_MODE ()) and TRE
On Thu, 17 Jul 2025, Martin Jambor wrote:
> Hi,
>
> testcase of PR 117423 shows a flaw in the fancy way we do "total
> scalarization" in SRA now. We use the types encountered in the
> function body and not in type declaration (allowing us to totally
> scalarize when only one union field is ever
On Thu, Jul 17, 2025 at 7:02 PM Jonathan Wakely wrote:
> This implements the missing functions in _Utf_iterator to support
> reverse iteration. All existing tests pass when the view is reversed, so
> that the same code units are seen when iterating forwards or backwards.
>
> libstdc++-v3/ChangeLo
52 matches
Mail list logo