fixed.From ca034694757f0fb3461a1d0c22708a3e4c0e40fa Mon Sep 17 00:00:00 2001
From: Mikael Morin
Date: Sat, 5 Jul 2025 15:05:20 +0200
Subject: [PATCH] testsuite: Fix unallocated array usage in test
gcc/testsuite/ChangeLog:
* gfortran.dg/asan/array_constructor_1.f90: Allocate array
before using it.
---
gcc/testsuite/g
+# Byte-compiled / optimized / DLL files
+__pycache__/
+*.py[codz]
+*$py.class
+
+# Unit test / coverage reports
+.pytest_cache/
+
+
+# Environments
+.env
+.envrc
+.venv
+env/
+venv/
+ENV/
+env.bak/
+venv.bak/
+
+# Ruff stuff:
+.ruff_cache/
Will the files be e.g. byte-compiled in typical use? At a
he reason for adding the flag(-fno-ipa-icf) inside the test case.
> >
> > The test vsx-builtin-7.c failed on powerpc64le-linux due to Identical
> > Code Folding (ICF) merging the functions insert_di_0_v2 and insert_di_0.
> > This behavior was introduced by commit r15-7961-gd
Hi Jeevitha,
On 24/06/25 3:30 pm, jeevitha wrote:
> Hi All,
>
> The following patch has been tested on powerpc64le-linux and verified it's
> fixed.
>
> Changes from V1:
> Added the reason for adding the flag(-fno-ipa-icf) inside the test case.
>
> The test vsx-b
-DPREVENT_OPTIMIZATION execution test
FAIL: gcc.dg/guality/pr41447-1.c -O2 -flto -fno-use-linker-plugin
-flto-partition=none -DPREVENT_OPTIMIZATION execution test
FAIL: gcc.dg/guality/pr41447-1.c -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects -DPREVENT_OPTIMIZATION execution test
FAIL: gcc.dg
/forward_list/cons/self_move.cc -std=gnu++17 (test for
excess errors)
FAIL: 23_containers/forward_list/debug/construct4_neg.cc -std=gnu++17 (test
for excess errors)
FAIL: 23_containers/forward_list/debug/move_assign_neg.cc -std=gnu++17 (test
for excess errors)
FAIL: 23_containers/forward_list
, Hongtao
Subject: Re: [PATCH v1] RISCV: Remove the v extension requirement for sat
scalar run test
On 7/9/25 7:19 PM, Li, Pan2 wrote:
>>> * gcc.target/riscv/sat/sat_u_trunc-run-6-u8.c: Ditto.
>> Spot checked. Note this uses "RISC-V" so it's not going to be
an '__int128__'?
compiler exited with status 1
FAIL: gcc.target/riscv/sat/sat_u_sub-run-4-u32.c -O3 (test for excess errors)
Ah, that means the baseline is stuck. A problem for Edwin.
With that in mind, I think this is OK. Go ahead and push it.
jeff
7;?
compiler exited with status 1
FAIL: gcc.target/riscv/sat/sat_u_sub-run-4-u32.c -O3 (test for excess errors)
Pan
-Original Message-
From: Jeff Law
Sent: Wednesday, July 9, 2025 11:47 PM
To: Li, Pan2 ; gcc-patches@gcc.gnu.org
Cc: juzhe.zh...@rivai.ai; kito.ch...@gmail.com; rdapp
On 7/8/25 11:07 PM, pan2...@intel.com wrote:
From: Pan Li
The sat scalar run test should not require the v extension, thus
take rv32 || rv64 instead of riscv_v for the requirement.
The below test suites are passed for this patch series.
* The rv64gcv fully regression test.
* The rv32gcv
From: Pan Li
The sat scalar run test should not require the v extension, thus
take rv32 || rv64 instead of riscv_v for the requirement.
The below test suites are passed for this patch series.
* The rv64gcv fully regression test.
* The rv32gcv fully regression test.
gcc/testsuite/ChangeLog
This was supposed to free p1 and p2, not free p2 twice.
libstdc++-v3/ChangeLog:
PR libstdc++/118681
* testsuite/20_util/unsynchronized_pool_resource/118681.cc: Fix
deallocate argument.
---
Tested x86_64-linux. Pushed to trunk.
Thanks to Daniel Boles for noticing this.
uot;~/.bpf-vmtest-tool", which is reused for future
> invocations.
>
> It can also compile BPF C source files or BPF bytecode objects and
> test them against the kernel verifier for errors. When a BPF program
> is rejected by the kernel verifier, the verifier logs are displayed.
On Thu, Jul 3, 2025 at 12:36 PM Luc Grosheintz
wrote:
> All test code of default_accessor can be reused. This commit moves
> the reuseable code into a file generic.cc and prepares the tests for
> reuse with aligned_accessor.
>
> The AllocatorTrait creates a unified interface fo
OK
On Tue, 8 Jul 2025 at 10:50, Luc Grosheintz wrote:
>
> In a test of span, there's an unused variable myspan. This
> commit silences the warning.
>
> libstdc++-v3/ChangeLog:
>
> * testsuite/23_containers/span/contiguous_range_neg.cc: Silence
>
In a test of span, there's an unused variable myspan. This
commit silences the warning.
libstdc++-v3/ChangeLog:
* testsuite/23_containers/span/contiguous_range_neg.cc: Silence
warning about unused variable myspan.
Signed-off-by: Luc Grosheintz
---
.../testsuite/23_conta
From: Pan Li
Add asm dump check and run test for vec_duplicate + vssub.vv
combine to vssub.vx, with the GR2VR cost is 0, 2 and 15.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/vx_vf/vx-1-i16.c: Add asm check.
* gcc.target/riscv/rvv/autovec/vx_vf/vx-1-i32.c: Ditto
From: Pan Li
Add asm dump check test for vec_duplicate + vssub.vv combine to
vssub.vx, with the GR2VR cost is 0, 1 and 2.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/vx_vf/vx-4-i16.c: Add asm check.
* gcc.target/riscv/rvv/autovec/vx_vf/vx-4-i32.c: Ditto
From: Pan Li
Add asm dump check test for vec_duplicate + vsadd.vv combine to
vsadd.vx, with the GR2VR cost is 0, 1 and 2.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/vx_vf/vx-4-i16.c: Add asm check.
* gcc.target/riscv/rvv/autovec/vx_vf/vx-4-i32.c: Ditto
From: Pan Li
Add asm dump check and run test for vec_duplicate + vsadd.vv
combine to vsadd.vx, with the GR2VR cost is 0, 2 and 15.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/vx_vf/vx-1-i16.c: Add asm check.
* gcc.target/riscv/rvv/autovec/vx_vf/vx-1-i32.c: Ditto
On 02/07/25 21:44, Jose E. Marchesi wrote:
One can also pass a precompiled BPF object with the desired
optimization options to the script to check it with the verifier.
Yes, but AFAIK building objects that can be actually loaded in the
kernel and verified requires in practice including kernel h
s.
It can also compile BPF C source files or BPF bytecode objects and
test them against the kernel verifier for errors. When a BPF program
is rejected by the kernel verifier, the verifier logs are displayed.
$ python3 main.py -k 6.15 --bpf-src assets/ebpf-programs/fail.c
BPF program failed to loa
This patch adds initial version of bpf-vmtest-tool script to test BPF programs
on live kernel
For now, the tool is standalone, but it is intended to be integrated with the
DejaGnu testsuite to run BPF testcases in future patches.
Current Limitations:
- Only x86_64 is supported. Support for
With this fix-up for commit 387209938d2c476a67966c6ddbdbf817626f24a2
"OpenMP: Add omp_get_initial_device/omp_get_num_devices builtins", we progress:
PASS: c-c++-common/gomp/omp_get_num_devices_initial_device.c (test for
excess errors)
PASS: c-c++-c
All test code of default_accessor can be reused. This commit moves
the reuseable code into a file generic.cc and prepares the tests for
reuse with aligned_accessor.
The AllocatorTrait creates a unified interface for creating both
default_accessor and aligned_accessor typenames.
libstdc++-v3
Karl Meakin writes:
> Commit the test file `mask_load_2.c` before the vectorisation analysis
> is changed, so that the changes in codegen are more obvious in the next
> commit.
>
> gcc/testsuite/ChangeLog:
> * gcc.target/aarch64/sve/mask_load_2.c: New test.
OK
Commit the test file `cmpbr.c` before rules for generating the new
instructions are added, so that the changes in codegen are more obvious
in the next commit.
gcc/testsuite/ChangeLog:
* lib/target-supports.exp: Add `cmpbr` to the list of extensions.
* gcc.target/aarch64/cmpbr.c
Commit the test file `cmpbr.c` before rules for generating the new
instructions are added, so that the changes in codegen are more obvious
in the next commit.
gcc/testsuite/ChangeLog:
* lib/target-supports.exp: Add `cmpbr` to the list of extensions.
* gcc.target/aarch64/cmpbr.c
; +===
>> > +
>> > +This tool uses `uv` (https://github.com/astral-sh/uv) for virtual
>> > environment
>> > +and dependency management.
>> > +
>> > +To install development dependencies:
>> > +
>> > +uv sync
>> > +
ks for catching that. I’ll fix it in the revision.
> +DEVELOPMENT
> +===
> +
> +This tool uses `uv` (https://github.com/astral-sh/uv) for virtual environment
> +and dependency management.
> +
> +To install development dependencies:
> +
> +uv sync
> +
>
From: Pan Li
Add run and tree-optimized check for unsigned scalar SAT_MUL from
uint128_t.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/sat/sat_arith.h: Add test helper macros.
* gcc.target/riscv/sat/sat_arith_data.h: Add test data for
run test.
* gcc.target/riscv
Hi!
On Tue, Jul 01, 2025 at 05:16:45PM +0200, Jakub Jelinek wrote:
> This test seems to fail when testing with
> RUNTESTFLAGS="--target_board=unix/'{,-fstack-protector-strong}'"
> on power10.
Please mention near the start of the commit message (like, in the
subjec
Hi!
This test seems to fail when testing with
RUNTESTFLAGS="--target_board=unix/'{,-fstack-protector-strong}'"
on power10.
In my reading of the test and the instructions emitted by the
builtins, it invokes UB 4 times, each time overwriting one byte
after some variable (sc,
Richard Sandiford writes:
> Karl Meakin writes:
>> +// If the branch destination is out of range (1KiB), we have to generate an
>> +// extra B instruction (which can handle larger displacements) and branch
>> around
>> +// it
>> +int far_branch(i32 x, i32 y) {
>> + volatile int z = 0;
>> + if
A recent update to the COBOL syntax checker resulted in this test case
failing, so it needed to be fixed.
>From f6c187a4f34b6925196279fd623f9f1396385a18 Mon Sep 17 00:00:00 2001
From: Robert Dubner mailto:rdub...@symas.com
Date: Tue, 1 Jul 2025 11:07:18 -0400
Subject: [PATCH] cobol: Update t
This patch adds atomic test and set support for the microblaze arch.
Fixes: pr118280 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118280
Test case added to testsuite/gcc.dg/atomic/atomic-pr118280.c
Signed-off-by: Aayush Misra
Signed-off-by: Neal Frager
---
gcc/ChangeLog
Karl Meakin writes:
> Commit the test file `cmpbr.c` before rules for generating the new
> instructions are added, so that the changes in codegen are more obvious
> in the next commit.
>
> gcc/testsuite/ChangeLog:
>
> * lib/target-supports.exp: Add `cmpbr` to t
Hi!
The test is not endianess clean, x[0] is supposed to be ((__int128)0x19)<<32
on little endian - 0x19 is in the second vector elt - but ((__int128)0x19)<<64
on big endian. I've added also verification of int and __int128 sizes just
in case we have say 16-bit or 64-bit int tar
Christopher Bazley writes:
> The test added by r16-1671-ge7ff8e8d77df74 passed despite using
> regular expressions that would never match real assembly language
> output from the compiler. Because the regular expressions were not
> expected to match, and didn't, this was not no
From: Eric Botcazou
The second condition of the conjunction is redundant with the first.
gcc/ada/ChangeLog:
* libgnat/s-valrea.adb (Integer_to_Real): Rename to...
(Integer_To_Real): ...this. Remove the second condition of the
conjunction in the test for the zero value
/inplace_merge/constrained.cc -std=gnu++20 (test for excess
errors)
FAIL: 25_algorithms/inplace_merge/constrained.cc -std=gnu++26 (test for excess
errors)
with GCC configured with
../../gcc/configure
--prefix=/export/users3/haochenj/src/gcc-bisect/master/master/r16-1742/usr
--enable-clocale=gnu
From: Pan Li
Add asm dump check test for vec_duplicate + vssubu.vv combine to
vssubu.vx, with the GR2VR cost is 0, 1 and 2.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/vx_vf/vx-4-u16.c: Add asm check
for vssubu.vx combine.
* gcc.target/riscv/rvv/autovec
From: Pan Li
Add asm dump check and run test for vec_duplicate + vssubu.vv
combine to vssubu.vx, with the GR2VR cost is 0, 2 and 15.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/vx_vf/vx-1-u16.c: Add asm check.
* gcc.target/riscv/rvv/autovec/vx_vf/vx-1-u32.c: Ditto
From: Pan Li
The cost model change will make the default cost of vx to 2, thus
reconcile the asm check for this change.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/sat/vec_sat_u_sub_trunc-1-u16.c:
Update the asm check due to cost model change.
* gcc.target/ri
The test added by r16-1671-ge7ff8e8d77df74 passed despite using
regular expressions that would never match real assembly language
output from the compiler. Because the regular expressions were not
expected to match, and didn't, this was not noticeable; however,
it also made that part of the
From: Pan Li
Add asm dump check and run test for vec_duplicate + vssubu.vv
combine to vssubu.vx, with the GR2VR cost is 0, 2 and 15.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/vx_vf/vx-1-u16.c: Add asm check.
* gcc.target/riscv/rvv/autovec/vx_vf/vx-1-u32.c: Ditto
From: Pan Li
Add asm dump check test for vec_duplicate + vssubu.vv combine to
vssubu.vx, with the GR2VR cost is 0, 1 and 2.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/vx_vf/vx-4-u16.c: Add asm check
for vssubu.vx combine.
* gcc.target/riscv/rvv/autovec
From: Pan Li
The cost model change will make the default cost of vx to 2, thus
reconcile the asm check for this change.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/sat/vec_sat_u_sub_trunc-1-u16.c:
Update the asm check due to cost model change.
* gcc.target/ri
> > + DEF_VX_BINARY_CASE_2_WRAP(T, SAT_U_SUB_FUNC(T), sat_add) \
> Shouldn't that be sat_sub here?
Oh, Yes, should be sat_sub, but happen to work for test, let me update it in
v2.
Pan
-Original Message-
From: Robin Dapp
Sent: Friday, June 27, 2025 2:37 PM
To:
Hi Pan,
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vx_vf/vx_binary.h
b/gcc/testsuite/gcc.target/riscv/rvv/autovec/vx_vf/vx_binary.h
index 2932e189186..0af8b969f47 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vx_vf/vx_binary.h
+++ b/gcc/testsuite/gcc.target/riscv/rvv/auto
From: Pan Li
Add asm dump check and run test for vec_duplicate + vssubu.vv
combine to vssubu.vx, with the GR2VR cost is 0, 2 and 15.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/vx_vf/vx-1-u16.c: Add asm check.
* gcc.target/riscv/rvv/autovec/vx_vf/vx-1-u32.c: Ditto
From: Pan Li
Add asm dump check test for vec_duplicate + vssubu.vv combine to
vssubu.vx, with the GR2VR cost is 0, 1 and 2.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/vx_vf/vx-4-u16.c: Add asm check
for vssubu.vx combine.
* gcc.target/riscv/rvv/autovec
From: Pan Li
The cost model change will make the default cost of vx to 2, thus
reconcile the asm check for this change.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/sat/vec_sat_u_sub_trunc-1-u16.c:
Update the asm check due to cost model change.
* gcc.target/ri
t enabled
> and stores it under "~/.vmtest-tool", which is reused for future
> invocations.
I wonder, would it be a good idea to have "bpf" as part of the name of
the directory. Something like bpf-vmtest-tool?
> It can also compile BPF C source files or BPF bytecode obje
Hello Piyush.
Sorry for the delay in reviewing. It's been quite a busy week at
work...
> This patch adds initial version of vmtest-tool script to test BPF
> programs on live kernel
>
> For now, the tool is standalone, but it is intended to be integrated with the
> DejaGnu
Commit the test file `cmpbr.c` before rules for generating the new
instructions are added, so that the changes in codegen are more obvious
in the next commit.
gcc/testsuite/ChangeLog:
* lib/target-supports.exp: Add `cmpbr` to the list of extensions.
* gcc.target/aarch64/cmpbr.c
re here.)
> * !INSN_P (m_rtl): this will likely fail for rtx_insn objects and
> does not test the `volatile` bit.
Because of the need to stage multiple simultaneous changes, rtl-ssa first
uses set_insn_deleted to convert an insn to a NOTE_INSN_DELETED note,
then uses remove_insn to rem
Commit the test file `cmpbr.c` before rules for generating the new
instructions are added, so that the changes in codegen are more obvious
in the next commit.
gcc/testsuite/ChangeLog:
* lib/target-supports.exp: Add `cmpbr` to the list of extensions.
* gcc.target/aarch64/cmpbr.c
I have a tested patch for this, but I don't think that it would be sufficient,
> as there are also other places to check for a NULL dereference:
> * member-fns.inl: insn_info::uid -> what to return here?
That one's ok, because m_rtl is nonnull whenever m_cost_or_uid >= 0.
k for a NULL dereference:
* member-fns.inl: insn_info::uid -> what to return here?
* internals.inl: insn_info::set_properties
* insns.cc: insn_info::calculate_cost
Ok, if I add NULL-checks there as well?
> > * !INSN_P (m_rtl): this will likely fail for rtx_insn objects and
> > does not te
On Wed, 25 Jun 2025 at 10:42, Tomasz Kamiński wrote:
>
> Existing test are extented to cover cases where not precision is specified,
> or it is specified to zero. The precision value is ignored in all cases.
>
> libstdc++-v3/ChangeLog:
>
> * testsuite/std/time/for
Existing test are extented to cover cases where not precision is specified,
or it is specified to zero. The precision value is ignored in all cases.
libstdc++-v3/ChangeLog:
* testsuite/std/time/format/precision.cc: New tests.
---
v2 extents test to cover .0 as precision.
Testing on
Commit the test file `mask_load_2.c` before the vectorisation analysis
is changed, so that the changes in codegen are more obvious in the next
commit.
gcc/testsuite/ChangeLog:
* gcc.target/aarch64/sve/mask_load_2.c: New test.
---
.../gcc.target/aarch64/sve/mask_load_2.c | 23
libstdc++-v3/ChangeLog:
* testsuite/std/time/format/precision.cc: New tests.
---
Merging additional tests I have added, when working on erasing chrono
types. Testing on x86_64-linux.
OK for trunk when test passes?
.../testsuite/std/time/format/precision.cc| 64 +--
1
as no member of insn_info
changes this pointer.
* !INSN_P (m_rtl): this will likely fail for rtx_insn objects and
does not test the `volatile` bit.
This patch drops these conditions and calls m_rtl->deleted () instead.
The impact of this change is minimal as insn_info::has_been_deleted
is only c
Hi All,
The following patch has been tested on powerpc64le-linux and verified it's
fixed.
Changes from V1:
Added the reason for adding the flag(-fno-ipa-icf) inside the test case.
The test vsx-builtin-7.c failed on powerpc64le-linux due to Identical
Code Folding (ICF) merging the func
From: Pan Li
Add asm dump check test for vec_duplicate + vsaddu.vv combine to
vsaddu.vx, with the GR2VR cost is 0, 1 and 2.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/vx_vf/vx-4-u16.c: Add asm check
for vsaddu.vx combine.
* gcc.target/riscv/rvv/autovec
From: Pan Li
Add asm dump check and run test for vec_duplicate + vsaddu.vv
combine to vsaddu.vx, with the GR2VR cost is 0, 2 and 15.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/vx_vf/vx-1-u16.c: Add asm check.
* gcc.target/riscv/rvv/autovec/vx_vf/vx-1-u32.c: Ditto
Commit the test file `cmpbr.c` before rules for generating the new
instructions are added, so that the changes in codegen are more obvious
in the next commit.
gcc/testsuite/ChangeLog:
* lib/target-supports.exp: Add `cmpbr` to the list of extensions.
* gcc.target/aarch64/cmpbr.c
From: Pan Li
Add asm dump check test for vec_duplicate + vminu.vv combine to
vminu.vx, with the GR2VR cost is 0, 1 and 2.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/vx_vf/vx-4-u16.c: Add asm check
for vminu.vx combine.
* gcc.target/riscv/rvv/autovec/vx_vf
From: Pan Li
Add asm dump check and run test for vec_duplicate + vminu.vv
combine to vminu.vx, with the GR2VR cost is 0, 2 and 15.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/vx_vf/vx-1-u16.c: Add asm check.
* gcc.target/riscv/rvv/autovec/vx_vf/vx-1-u32.c: Ditto
t can also compile BPF C source files or BPF bytecode objects and
test them against the kernel verifier for errors. When a BPF program
is rejected by the kernel verifier, the verifier logs are displayed.
$ python3 main.py -k 6.15 --bpf-src assets/ebpf-programs/fail.c
BPF program failed to load
Ver
This patch adds initial version of vmtest-tool script to test BPF programs on
live kernel
For now, the tool is standalone, but it is intended to be integrated with the
DejaGnu testsuite to run BPF testcases in future patches.
Current Limitations:
- Only x86_64 is supported. Support for
From: Pan Li
Add asm dump check and run test for vec_duplicate + vmin.vv
combine to vmin.vx, with the GR2VR cost is 0, 2 and 15.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/vx_vf/vx-1-i16.c: Add asm check.
* gcc.target/riscv/rvv/autovec/vx_vf/vx-1-i32.c: Ditto
From: Pan Li
Add asm dump check test for vec_duplicate + vmin.vv combine to
vmin.vx, with the GR2VR cost is 0, 1 and 2.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/vx_vf/vx-4-i16.c: Add asm check
for vmin.vx combine.
* gcc.target/riscv/rvv/autovec/vx_vf/vx-4
The case 0 for vx combine def functions are most the same across
the different test files. Thus, re-arrange them in one place to
avoid code duplication.
OK.
--
Regards
Robin
67b689dbd970d6c4ab0f088d671
> Author: Georg-Johann Lay
> Date: Thu Jun 12 10:07:37 2025 +0200
>
> Fix test case for PR117811 which failed for int < 32 bit.
>
> caused
>
> FAIL: c-c++-common/tsan/tls_race.c -O0 output pattern test
> FAIL: c-c++-common/tsan/t
On Linux/x86_64,
ddf8b0e06f27667b689dbd970d6c4ab0f088d671 is the first bad commit
commit ddf8b0e06f27667b689dbd970d6c4ab0f088d671
Author: Georg-Johann Lay
Date: Thu Jun 12 10:07:37 2025 +0200
Fix test case for PR117811 which failed for int < 32 bit.
caused
FAIL: c-c++-common/t
From: Pan Li
The case 0 for vx combine def functions are most the same across
the different test files. Thus, re-arrange them in one place to
avoid code duplication.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/vx_vf/vx-1-i16.c: Leverage
helper macros to avoid code
From: Pan Li
Add asm dump check test for vec_duplicate + vmaxu.vv combine to vmaxu.vx,
with the GR2VR cost is 0, 1 and 2.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/vx_vf/vx-4-u16.c: Add asm check
for vmaxu.vx combine.
* gcc.target/riscv/rvv/autovec/vx_vf
From: Pan Li
Add asm dump check test for vec_duplicate + vmaxu.vv combine to vmaxu.vx,
with the GR2VR cost is 0, 2 and 15.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/vx_vf/vx-1-u16.c: Add asm check
for vmaxu.vx combine.
* gcc.target/riscv/rvv/autovec/vx_vf
libstdc++-v3/ChangeLog:
* testsuite/std/time/format/whitespace.cc: New test.
Reviewed-by: Jonathan Wakely
Signed-off-by: Tomasz Kamiński
---
v2 adds missing _GLIBCXX_USE_CXX11_ABI check for uses of sys_info/local_info.
Tested on x86_64-linux. Pushed to trunk.
.../testsuite/std/time
I will do that.
Thx,
Haochen
From: Andrew Pinski
Sent: Thursday, June 12, 2025 10:52 PM
Cc: gb.de...@gmail.com; gcc-regress...@gcc.gnu.org; GCC Patches
; Jiang, Haochen
Subject: Re: [r16-1429 Regression] FAIL: g++.target/i386/vect-pragma-target-2.C
-std=gnu++98 (test for excess errors) on
gt;
>>> * testsuite/std/time/format/whitespace.cc: New test.
>>> ---
>>> Testing on x86_64-linux. OK for trunk when test passes.
>>>
>>> .../testsuite/std/time/format/whitespace.cc | 54 +++
>>> 1 file changed, 54 insertio
On Thu, Jun 12, 2025 at 4:48 PM Daniel Krügler
wrote:
> Am Do., 12. Juni 2025 um 16:40 Uhr schrieb Tomasz Kamiński <
> tkami...@redhat.com>:
>
>> libstdc++-v3/ChangeLog:
>>
>> * testsuite/std/time/format/whitespace.cc: New test.
>> ---
>> Te
On Wed, Jun 11, 2025, 10:17 PM haochen.jiang
wrote:
> On Linux/x86_64,
>
> dcb9af06212e8bb36e84a1b8498c625c29abeb6f is the first bad commit
> commit dcb9af06212e8bb36e84a1b8498c625c29abeb6f
> Author: Gwenole Beauchesne
> Date: Mon Jun 2 14:44:55 2025 -0700
>
> c/c++: Handle '#pragma GCC ta
Am Do., 12. Juni 2025 um 16:40 Uhr schrieb Tomasz Kamiński <
tkami...@redhat.com>:
> libstdc++-v3/ChangeLog:
>
> * testsuite/std/time/format/whitespace.cc: New test.
> ---
> Testing on x86_64-linux. OK for trunk when test passes.
>
> .../testsuite/std/time/
libstdc++-v3/ChangeLog:
* testsuite/std/time/format/whitespace.cc: New test.
---
Testing on x86_64-linux. OK for trunk when test passes.
.../testsuite/std/time/format/whitespace.cc | 54 +++
1 file changed, 54 insertions(+)
create mode 100644 libstdc++-v3/testsuite
From: Eric Botcazou
The test as currently written is incorrect for odd bases.
gcc/ada/ChangeLog:
* libgnat/s-valuer.adb (Round_Extra): Use multiplicative test.
Tested on x86_64-pc-linux-gnu, committed on master.
---
gcc/ada/libgnat/s-valuer.adb | 4 +++-
1 file changed, 3 insertions
From: Ronan Desplanques
A previous change cleaned up the Ekind field of record component
entities. That made a particular test obsolete, so this patch removes
that test.
gcc/ada/ChangeLog:
* einfo-utils.adb (Set_Convention): Remove obsolete test.
Tested on x86_64-pc-linux-gnu
The test case for this PR did not work for int < 32 bit.
Fixed thusly.
Johann
--
Fix test case for PR117811 which failed for int < 32 bit.
PR middle-end/117811
PR testsuite/52641
gcc/testsuite/
* gcc.dg/torture/pr117811.c: Fix for int &l
From: Pan Li
Add asm dump check test for vec_duplicate + vmax.vv combine to
vmax.vx, with the GR2VR cost is 0, 2 and 15.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/vx_vf/vx-1-i16.c: Add asm check
for max func 1 vmax.vx combine.
* gcc.target/riscv/rvv
On Linux/x86_64,
dcb9af06212e8bb36e84a1b8498c625c29abeb6f is the first bad commit
commit dcb9af06212e8bb36e84a1b8498c625c29abeb6f
Author: Gwenole Beauchesne
Date: Mon Jun 2 14:44:55 2025 -0700
c/c++: Handle '#pragma GCC target optimize' early [PR48026]
caused
FAIL: gcc.target/i386/vect-p
From: Pan Li
Add asm dump check test for vec_duplicate + vmax.vv combine to vmax.vx,
with the GR2VR cost is 0, 2 and 15.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/vx_vf/vx-1-i16.c: Add asm check
for max func 1 vmax.vx combine.
* gcc.target/riscv/rvv
/i386/vect-pragma-target-2.c (test for excess errors)
FAIL: g++.target/i386/vect-pragma-target-2.C -std=gnu++17 (test for excess
errors)
FAIL: g++.target/i386/vect-pragma-target-2.C -std=gnu++26 (test for excess
errors)
FAIL: g++.target/i386/vect-pragma-target-2.C -std=gnu++98 (test for exce
From: Pan Li
Add asm dump check test for vec_duplicate + vmax.vv combine to vmax.vx,
with the GR2VR cost is 0, 1 and 2.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/vx_vf/vx-4-i16.c: Add asm check
for vmax.vx combine.
* gcc.target/riscv/rvv/autovec/vx_vf/vx-4
From: Pan Li
Add asm dump check test for vec_duplicate + vmax.vv combine to vmax.vx,
with the GR2VR cost is 0, 1 and 2.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/vx_vf/vx-4-i16.c: Add asm check
for vmax.vx combine.
* gcc.target/riscv/rvv/autovec/vx_vf/vx-4
an/layouts/class_mandate_neg.cc: Changed B to
> function.
OK for trunk
> ---
> This patch add minor fixes suggeted by Daniel. It also reworks a bit
> class_mandate_neg.cc test, as previously one error was not generated
> when debug was enabled.
>
> libstdc++-v3/inclu
On Wed, 11 Jun 2025 at 15:07, Tomasz Kamiński wrote:
>
> libstdc++-v3/ChangeLog:
>
> * testsuite/std/time/format/empty_spec.cc: New tests.
> * testsuite/std/time/format/precision.cc: New test.
> ---
> Testing on x86_64-linux. OK for trunk when tests passes?
O
On Fri, 6 Jun 2025 at 10:34, Luc Grosheintz wrote:
>
>
>
> On 6/5/25 17:18, Tomasz Kamiński wrote:
> > When the static assert was generated from instantiations of default member
> > initializer of class B, the error was not generated for B<1,
> > std::layout_left,
> > std::layout_left> case, only
1 - 100 of 2211 matches
Mail list logo