From: Pan Li
Add asm dump check and run test for vec_duplicate + vwsubu.vv
combine to vwsubu.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 vwsubu.vx.
* gcc.target/riscv/rvv/autovec
From: Pan Li
Add asm dump check and run test for vec_duplicate + vwaddu.vv
combine to vwaddu.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 vwaddu.vx.
* gcc.target/riscv/rvv/autovec
From: Pan Li
Add asm dump check and run test for vec_duplicate + vwmulu.vv
combine to vwmulu.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 vwmulu.vx.
* gcc.target/riscv/rvv/autovec
From: Pan Li
The form 5 of unsigned scalar SAT_MUL is covered in middle-expand
alreay, add test case here to cover form 5.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/sat/sat_arith.h: Add test helper macros.
* gcc.target/riscv/sat/sat_u_mul-6-u16-from-u128.c: New test
Add tests to show that std::future::wait_until and
std::future::wait_for don't suffer from libstdc++/PR116586.
libstdc++-v3/ChangeLog:
* testsuite/30_threads/future/members/116586.cc: New test.
Signed-off-by: Mike Crowe
---
.../30_threads/future/members/116586.cc
Introduce a test that exercises various ABI aspects of C23 float types.
This is based on existing tests such as `float16-basic.c`.
ABI bugs against anything other than GCC are not caught, but this is
intended to sanity check against things like stack misalignments and
libcall mismatches that have
On Sat, Sep 13, 2025 at 4:36 PM Kees Cook wrote:
>
> Adds a test suite for KCFI (Kernel Control Flow Integrity) ABI, covering
> core functionality, optimization and code generation, addressing,
> architecture-specific KCFI sequence emission, and integration with
> patchable
ng wrong with the single-paragraph commit message, and
you seemed to agree with it. What are you getting at? Are you by any
chance under the mistaken notion that the description of how I tested
the patch and when I intended to commit it was part of a commit message?
> and the changelog not e
On Sun Aug 31, 2025 at 9:29 AM CDT, Trevor Gross wrote:
> Introduce a test that exercises various ABI aspects of C23 float types.
> This is based on existing tests such as `float16-basic.c`.
>
> 2025-08-31 Trevor Gross
>
> gcc/testsuite/
>
> * gcc.dg/torture/
On Sat, Sep 13, 2025 at 4:36 PM Kees Cook wrote:
>
> Adds a test suite for KCFI (Kernel Control Flow Integrity) ABI, covering
> core functionality, optimization and code generation, addressing,
> architecture-specific KCFI sequence emission, and integration with
> patchable
Adds a test suite for KCFI (Kernel Control Flow Integrity) ABI, covering
core functionality, optimization and code generation, addressing,
architecture-specific KCFI sequence emission, and integration with
patchable function entry.
Tests can be run via:
make check-c RUNTESTFLAGS='kcfi.exp&
Hi!
On Sat, Sep 13, 2025 at 12:07:33AM -0300, Alexandre Oliva wrote:
> The use of the TLS register in a TOC/GOT address computation was
> probably a cut&pasto or a thinko. It causes a linker warning and,
> because the TLS access in the test is incomplete, may cause
> signi
From: Pan Li
Add asm dump check and run test for vec_duplicate + vwmulu.vv
combine to vwmulu.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 vwmulu.vx.
* gcc.target/riscv/rvv/autovec
The use of the TLS register in a TOC/GOT address computation was
probably a cut&pasto or a thinko. It causes a linker warning and,
because the TLS access in the test is incomplete, may cause
significant confusion. Adjust to use the TOC/GOT register as base.
Tested manually with cross binu
From: Pan Li
Add asm dump check and run test for vec_duplicate + vwaddu.vv
combine to vwaddu.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 vwaddu.vx.
* gcc.target/riscv/rvv/autovec
From: Pan Li
Add asm dump check and run test for vec_duplicate + vwsubu.vv
combine to vwsubu.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 vwsubu.vx.
* gcc.target/riscv/rvv/autovec
Successfully regrtested on x86_64-pc-linux-gnu.
Pushed to trunk as r16-3826-g85a97e1a8ee934.
gcc/testsuite/ChangeLog:
* gcc.dg/plugin/crash-test-write-though-null-sarif.c: Rename to...
* gcc.dg/plugin/crash-test-write-through-null-sarif.c: ...this.
* gcc.dg/plugin/crash
/analyzer/fanalyzer-show-events-in-system-headers.C -std=c++17 at
line 12 (test for warnings, line 11)
FAIL: g++.dg/analyzer/fanalyzer-show-events-in-system-headers.C -std=c++17
telltale event that we are going within a deeper frame than 'main' (test for
warnings, line 9)
FAIL: g++.d
Enable those tests so we won't make too stupid mistakes in 16B atomic
implementation anymore.
All these test passed on a Loongson 3C6000/S except
atomic-other-int128.c. With GDB patched to support sc.q
(https://sourceware.org/pipermail/gdb-patches/2025-August/220034.html)
this test also
On Mon, Sep 08, 2025 at 09:51:32PM +0800, Xi Ruoyao wrote:
> Besides r16-3595, there's another bug in this test: with -std=c23 the
> token _Sat isn't recognized as a keyword at all, thus an error massage
> different from the expected will be outputted.
>
> Fix it by
Besides r16-3595, there's another bug in this test: with -std=c23 the
token _Sat isn't recognized as a keyword at all, thus an error massage
different from the expected will be outputted.
Fix it by using -std=gnu23 instead.
gcc/testsuite:
* gcc.dg/fixed-point/bitint-1.c (
On 9/1/25 7:02 AM, Christophe Lyon wrote:
Test "names" (the string after 'PASS:' or 'FAIL:' etc... is expected
to be unique, otherwise this will confuse comparison scripts.
This patch displays the lists of non-unique test names in the 'before'
and
The recently added zbb-sext test includes stdint.h and explicitly asks
for the lp64 abi (not lp64d!).
This will fail on a native riscv system as the system headers don't
support lp64 -- they assume "d" is included.
It looks like most tests are including stdint-gcc instead of
From: Pan Li
Add asm dump check and run test for vec_duplicate + vnmsub.vv
combine to vnmsub.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 vnmsub.vx.
* gcc.target/riscv/rvv/autovec
From: Pan Li
Add asm dump check and run test for vec_duplicate + vnmsub.vvm
combine to vnmsub.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 vnmsub.vx.
* gcc.target/riscv/rvv/autovec
On Fri, Sep 05, 2025 at 09:06:41AM +0200, Jakub Jelinek wrote:
> On Thu, Sep 04, 2025 at 05:24:15PM -0700, Kees Cook wrote:
> > --- /dev/null
> > +++ b/gcc/testsuite/gcc.dg/kcfi/kcfi-adjacency.c
> > @@ -0,0 +1,73 @@
> > +/* Test KCFI check/transfer adjacency - regr
the right thing for non int32bit targets
but it looks like this one slipped through as I just committed the
testcase as it was from the bug report instead of cleaning it up more.
Thanks,
Andrew
>
> Johann
>
> --
>
> testsuite: Fix gcc.dg/torture/pr121695-1.c
>
> This t
Applied as obvious.
Johann
--
testsuite: Fix gcc.dg/torture/pr121695-1.c
This test case fails on int < 32-bit platforms obviously.
This patch undoes the macro expansion from stdint.h.
gcc/testsuite/
PR testsuite/121695
PR testsuite/52641
gcc.dg/torture/pr121695-
Hi!
This test was written without _BitInt support on any target with
fixed-point support as well, so was actually never tested.
Now that it can be tested on loongarch64-linux, there is a missing
expected error, so this patch adds it.
Tested with a cross to loongarch64-linux, bootstrapped
Nit eradicated and pushed as r16-3590.
Thanks
Paul
On Thu, 4 Sept 2025 at 21:53, Harald Anlauf wrote:
> Hi Paul!
>
> Am 04.09.25 um 20:46 schrieb Paul Richard Thomas:
> > Hi All,
> >
> > PDT components with default initializers must have type parameter and
> > length expressions that reduce t
On Thu, Sep 04, 2025 at 05:24:15PM -0700, Kees Cook wrote:
> --- /dev/null
> +++ b/gcc/testsuite/gcc.dg/kcfi/kcfi-adjacency.c
> @@ -0,0 +1,73 @@
> +/* Test KCFI check/transfer adjacency - regression test for instruction
> + insertion. */
> +/* { dg-do compile } */
> +/* { d
On Thu, Sep 04, 2025 at 10:53:48PM +0200, Harald Anlauf wrote:
> Hi Paul!
>
> Am 04.09.25 um 20:46 schrieb Paul Richard Thomas:
> > Hi All,
> >
> > PDT components with default initializers must have type parameter and
> > length expressions that reduce to compile time integer constants. The chunk
Hi Paul!
Am 04.09.25 um 20:46 schrieb Paul Richard Thomas:
Hi All,
PDT components with default initializers must have type parameter and
length expressions that reduce to compile time integer constants. The chunk
in expr.cc verifies that this is the case for array bounds and character
lengths.
original" } }
+! { dg-final { scan-tree-dump-times "__builtin_malloc" 8 "original" } }
diff --git a/gcc/testsuite/gfortran.dg/pdt_27.f03 b/gcc/testsuite/gfortran.dg/pdt_27.f03
index 525bf3d..de5f517ec05 100644
--- a/gcc/testsuite/gfortran.dg/pdt_27.f03
+++ b/gcc/testsuite/
This testcase will fail on strict alignment targets due to
the requirement of doing a possible unaligned load. This fixes
that.
Note this testcase still fails on arm (and maybe riscv) targets while
having unaligned loads, they have slow ones.
Pushed as obvious after testing on x86_64-linux-gnu to
get arm-*-* s390-*-* } } */
+/* { dg-do compile { target arm*-*-* s390-*-* } } */
/* { dg-options "-std=c99" } we need long long */
-/* { dg-additional-options "-march=armv7-a -marm" { target arm-*-* } } */
+/* { dg-additional-options "-mcpu=unset -march=armv7-a+fp -marm" { target
arm*-*-* } } */
/* Test register pairs. */
--
2.43.0
From: Pan Li
Add asm dump check and run test for vec_duplicate + vmadd.vv
combine to vmadd.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 vmadd.vx.
* gcc.target/riscv/rvv/autovec/vx_vf
From: Pan Li
Add asm dump check and run test for vec_duplicate + vmadd.vvm
combine to vmadd.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 vmadd.vx.
* gcc.target/riscv/rvv/autovec/vx_vf
From: Pan Li
To avoid generating the vmadd.vx code.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/vx_vf/vx_ternary.h: Adjust the
vmacc.vx to avoid generating vmadd.
Signed-off-by: Pan Li
---
.../gcc.target/riscv/rvv/autovec/vx_vf/vx_ternary.h | 8 ++--
1 f
On Fri, Aug 29, 2025 at 09:01:06AM -0700, Andi Kleen wrote:
> From: Andi Kleen
>
> This makes them not fail during test suite runs with overriden arch or
> tunings.
Comitted as obvious now.
-Andi
On 01/09/2025 14:02, Christophe Lyon wrote:
> Test "names" (the string after 'PASS:' or 'FAIL:' etc... is expected
> to be unique, otherwise this will confuse comparison scripts.
>
> This patch displays the lists of non-unique test names in the 'b
Test "names" (the string after 'PASS:' or 'FAIL:' etc... is expected
to be unique, otherwise this will confuse comparison scripts.
This patch displays the lists of non-unique test names in the 'before'
and in the 'now' results.
contrib/ChangeLog
On Mon, 1 Sept 2025 at 12:57, Richard Earnshaw (lists)
wrote:
>
> On 01/09/2025 10:59, Christophe Lyon wrote:
> > Test "names" (the string after 'PASS:' or 'FAIL:' etc... is expected
> > to be unique, otherwise this will confuse comparison scrip
On 01/09/2025 10:59, Christophe Lyon wrote:
> Test "names" (the string after 'PASS:' or 'FAIL:' etc... is expected
> to be unique, otherwise this will confuse comparison scripts.
>
> This patch displays the lists of non-unique test names in the 'b
Test "names" (the string after 'PASS:' or 'FAIL:' etc... is expected
to be unique, otherwise this will confuse comparison scripts.
This patch displays the lists of non-unique test names in the 'before'
and in the 'now' results.
contrib/ChangeLog
From: Pan Li
The form 5 of unsigned scalar SAT_MUL is covered in middle-expand
alreay, add test case here to cover form 5.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/sat/sat_arith.h: Add test helper macros.
* gcc.target/riscv/sat/sat_u_mul-6-u16-from-u128.c: New test
Introduce a test that exercises various ABI aspects of C23 float types.
This is based on existing tests such as `float16-basic.c`.
2025-08-31 Trevor Gross
gcc/testsuite/
* gcc.dg/torture/float128-abi.c: New test.
* gcc.dg/torture/float128x-abi.c: New test.
* gcc.dg
From: Andi Kleen
This makes them not fail during test suite runs with overriden arch or
tunings.
gcc/testsuite/ChangeLog:
* gcc.target/i386/shift-gf2p8affine-1.c: Use -march=x86-64
-mtune-generic.
* gcc.target/i386/shift-gf2p8affine-2.c: Dito.
* gcc.target
Will commit it directly as test only if no comments in next 24H.
Pan
-Original Message-
From: Li, Pan2
Sent: Sunday, August 24, 2025 8:30 PM
To: gcc-patches@gcc.gnu.org
Cc: juzhe.zh...@rivai.ai; kito.ch...@gmail.com; jeffreya...@gmail.com;
rdapp@gmail.com; Chen, Ken ; Liu, Hongtao
libstdc++-v3/ChangeLog:
* testsuite/18_support/comparisons/categories/zero_neg.cc: New test.
Reviewed-by: Jonathan Wakely
Signed-off-by: Tomasz Kamiński
---
.../comparisons/categories/zero_neg.cc | 16
1 file changed, 16 insertions(+)
Tested on x86_64-linux
handling
> -# these directives, even when they appear to accept them.
> +# Older versions of GAS and some non-GNU assemblers have bugs in handling
> +# of these directives, even when they appear to accept them.
> gcc_GAS_CHECK_FEATURE([.sleb128 and .uleb128], gcc_cv_as_leb128,
> [$chec
From: Pan Li
Add asm dump check and run test for vec_duplicate + vnmsac.vvm
combine to vnmsac.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 vnmsac.vx.
* gcc.target/riscv/rvv/autovec
From: Pan Li
Add asm dump check and run test for vec_duplicate + vnmsac.vvm
combine to vnmsac.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 vnmsac.vx.
* gcc.target/riscv/rvv/autovec
So yet another testsuite hygiene patch. This time turning XPASS ->
PASS. My tester treats those cases the same so I didn't get notified
that nozicond-2.c was passing after some recent changes.
This removes the xfail marker on that test and thus the test is expected
to pass now.
Pu
these directives, even when they appear to accept them.
gcc_GAS_CHECK_FEATURE([.sleb128 and .uleb128], gcc_cv_as_leb128,
[$check_leb128_asflags],
[ .data
@@ -3330,6 +3330,11 @@ elif test "x$gcc_cv_otool" != x; then
| grep '04 80 0a 8e 78 80 80 80 80 80 80 80 80 80
(test for excess errors)
with GCC configured with
../../gcc/configure
--prefix=/export/users3/haochenj/src/gcc-bisect/master/master/r16-3379/usr
--enable-clocale=gnu --with-system-zlib --with-demangler-in-ld
--with-fpmath=sse --enable-languages=c,c++,fortran --enable-cet --without-isl
--enable
The test fails to compile on 32-bit targets because the arrays are too
large. Restrict to targets where the array index type is 64-bits.
Also note the relevant PR in the test comment.
Tested on x86_64-pc-linux-gnu host and arm-eabi cross target.
Pushed as obvious.
PR debug/121411
gcc
On Mon, Aug 25, 2025 at 9:51 PM Sam James wrote:
>
> "H.J. Lu" writes:
>
> > PR tree-optimization/121656
> > * gcc.dg/pr121656.c: New file.
> >
> > Signed-off-by: H.J. Lu
> > ---
> > gcc/testsuite/gcc.dg/pr121656.c | 21 +
> > 1 file changed, 21 insertions(+)
> >
"H.J. Lu" writes:
> PR tree-optimization/121656
> * gcc.dg/pr121656.c: New file.
>
> Signed-off-by: H.J. Lu
> ---
> gcc/testsuite/gcc.dg/pr121656.c | 21 +
> 1 file changed, 21 insertions(+)
> create mode 100644 gcc/testsuite/gcc.dg/pr121656.c
>
> diff --git a/g
PR tree-optimization/121656
* gcc.dg/pr121656.c: New file.
Signed-off-by: H.J. Lu
---
gcc/testsuite/gcc.dg/pr121656.c | 21 +
1 file changed, 21 insertions(+)
create mode 100644 gcc/testsuite/gcc.dg/pr121656.c
diff --git a/gcc/testsuite/gcc.dg/pr121656.c b/g
>>>> This form of the script looks generally good to me.
>> >>>> May be a good time to move to the second stage of the project, which
>> >>>> if
>> >>>> I am not mistaken consists in creating some dejagnu infrastructure so we
>> >
From: Pan Li
The form 4 of unsigned scalar SAT_MUL is covered in middle-expand
alreay, add test case here to cover form 4.
The below test suites are passed for this patch series.
* The rv64gcv fully regression test.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/sat/sat_arith.h: Add test
e to the second stage of the project, which
> >>>> if
> >>>> I am not mistaken consists in creating some dejagnu infrastructure so we
> >>>> can get testsuites running the script on the test sources.
> >>>
> >>> I’m working on a
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
breaks loader compilation.
Thanks
Piyush Raj (2):
contrib: add bpf-vmtest-tool to test BPF programs
testsuite: bpf: add DejaGnu board for bpf-unknown-none target
contrib/bpf-vmtest-tool/README| 78 +++
contrib/bpf-vmtest-tool/bpf.py| 199
From: Pan Li
Add asm dump check and run test for vec_duplicate + vmacc.vvm
combine to vmacc.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 vx combine.
* gcc.target/riscv/rvv/autovec
From: Pan Li
Add asm dump check and run test for vec_duplicate + vmacc.vvm
combine to vmacc.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 vx combine.
* gcc.target/riscv/rvv/autovec
h
more compact code that likely has the same performance profile. In the
N=0 case we do squash out an instruction, but it's just a reg-reg copy.
This did make me notice that two of the testfiles have redundant tests
in them. Those were meant to test specific cases for small constant
hand
Enable those tests so we won't make too stupid mistakes in 16B atomic
implementation anymore.
All these test passed on a Loongson 3C6000/S except
atomic-other-int128.c. With GDB patched to support sc.q
(https://sourceware.org/pipermail/gdb-patches/2025-August/220034.html)
this test also
Adds a test suite for KCFI (Kernel Control Flow Integrity) ABI.
Core Functionality Tests:
- kcfi-basics.c: Basic KCFI preamble generation, IPA analysis, and
__kcfi_typeid_ symbol emission for external address-taken functions.
- kcfi-type-mangling.c: Type ID hashing validation with Itanium C
e of the project, which
>>>> if
>>>> I am not mistaken consists in creating some dejagnu infrastructure so we
>>>> can get testsuites running the script on the test sources.
>>>
>>> I’m working on a draft patch to discuss the approach before fully
The test call was accidentally omitted in r16-2484-gdc49c0a46ec96e,
a commit that refactored this test file. This patch adds it back.
PR libstdc++/104874
libstdc++-v3/ChangeLog:
* testsuite/24_iterators/random_access/string_vector_iterators.cc:
Call test6642.
---
Pushed
Enable those tests so we won't make too stupid mistakes in 16B atomic
implementation anymore.
All these test passed on a Loongson 3C6000/S except
atomic-other-int128.c. With GDB patched to support sc.q
(https://sourceware.org/pipermail/gdb-patches/2025-August/220034.html)
this test also
subsequent logical right shift. This can be done
> without branches or conditional moves.
>
> Playing with it a bit made me realize there's a handful of selections we
> can do based on a sign bit test. Essentially there's two broad cases.
>
> Clearing bits after the sign bi
From: Pan Li
Add asm dump check and run test for vec_duplicate + vmacc.vvm
combine to vmacc.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 vx combine.
* gcc.target/riscv/rvv/autovec
From: Pan Li
Add asm dump check and run test for vec_duplicate + vmacc.vvm
combine to vmacc.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 vx combine.
* gcc.target/riscv/rvv/autovec
On Mon, 18 Aug 2025 at 15:40, Jonathan Wakely wrote:
>
> On Thu, 24 Jul 2025 at 08:33, Tomasz Kamiński wrote:
> >
> > Removed the wrong_stuff() function, which was effectively empty for
> > actual test runs. Replaced the manual failure counter with the VERIFY
> >
On Thu, 24 Jul 2025 at 08:33, Tomasz Kamiński wrote:
>
> Removed the wrong_stuff() function, which was effectively empty for
> actual test runs. Replaced the manual failure counter with the VERIFY
> macro to simplify identifying failures.
>
> PR libstdc++/104874
>
>
PR119156 was fixed by g:f702b593e7268ab161053bafd097f1b09933b783.
This patch adds a test for it.
Tested on aarch64-linux-gnu & pushed as (hopefully) obvious.
Richard
gcc/testsuite/
PR target/119156
* gcc.target/aarch64/sve/pr119156_1.c: New test.
---
gcc/testsuite/gcc.ta
g the codes further, since subregs might
>> be wanted for CONST, SYMBOL_REF and LABEL_REF. But removing the
>> MODE_COMPOSITE_P is needed to fix PR120718, where we get an ICE
>> from generating a subreg of a V2SI const_vector.
>>
>> Tested on aarch64-linux-gnu and x86_
conditional moves.
Playing with it a bit made me realize there's a handful of selections we
can do based on a sign bit test. Essentially there's two broad cases.
Clearing bits after the sign bit splat. So we have 0, -1, if we clear
bits the 0 stays as-is, but the -1 could easily turn into 2
I added this test back in r7-934-g15c671a79ca66d, but it looks like
r15-2125-g81824596361cf4 changed the error message.
Tested on x86_64-pc-linux-gnu.
Pushed to trunk as r16-3172-gf622df9af2e7c1.
gcc/testsuite/ChangeLog:
PR testsuite/119783
jit.dg/test-error-impossible-must-tail
From: Pan Li
Add asm dump check and run test for vec_duplicate + vmerge.vvm
combine to vmerge.vxm, with the GR2VR cost is 0, 2 and 15.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/vx_vf/vx_binary.h: Add test
helper macros.
* gcc.target/riscv/rvv/autovec/vx_vf
ion/120718
> * simplify-rtx.cc (simplify_context::simplify_gen_subreg):
> Remove MODE_COMPOSITE_P condition.
>
> gcc/testsuite/
> PR rtl-optimization/120718
> * gcc.target/aarch64/sve/acle/general/pr120718.c: New test.
> ---
> gcc/simplify
arget/aarch64/sve/acle/general/pr120718.c: New test.
---
gcc/simplify-rtx.cc | 12
.../gcc.target/aarch64/sve/acle/general/pr120718.c | 12
2 files changed, 16 insertions(+), 8 deletions(-)
create mode 100644 gcc/testsuite/gcc.target/aa
On 05/08/2025 11:22, Tejas Belagod wrote:
On 31/07/2025 15:20, Kyrylo Tkachov wrote:
On 31 Jul 2025, at 14:34, Tejas Belagod wrote:
The test was unsafe when tested on different vector lengths. This patch
fixes it to work on all lengths.
Ok. I’ve seen this test fail on GCC 15 branch too
ex.comment]. AFAIK we've never diagnosed nor checked for
that and C23 doesn't have anything like that, so the following testcase
merely tests that we don't diagnose anything on it.
Tested on x86_64-linux, ok for trunk?
OK.
2025-08-01 Jakub Jelinek
* c-c++-common/cpp
From: Pierre-Emmanuel Patry
gcc/testsuite/ChangeLog:
* rust/execute/inline_asm_inout_ident.rs: New test.
* rust/execute/inline_asm_inout_var.rs: New test.
Signed-off-by: Pierre-Emmanuel Patry
---
.../rust/execute/inline_asm_inout_ident.rs| 23 ++
.../rust
From: Philip Herron
gcc/testsuite/ChangeLog:
* rust/execute/torture/const-generics-1.rs: New test.
Signed-off-by: Philip Herron
---
.../rust/execute/torture/const-generics-1.rs | 24 +++
1 file changed, 24 insertions(+)
create mode 100644 gcc/testsuite/rust/execute
From: Philip Herron
Fixes Rust-GCC#1048
gcc/testsuite/ChangeLog:
* rust/compile/issue-1048.rs: New test.
Signed-off-by: Philip Herron
---
gcc/testsuite/rust/compile/issue-1048.rs | 8
1 file changed, 8 insertions(+)
create mode 100644 gcc/testsuite/rust/compile/issue-1048
From: Philip Herron
Fixes Rust-GCC#3599
gcc/testsuite/ChangeLog:
* rust/compile/issue-3599.rs: New test.
Signed-off-by: Philip Herron
---
gcc/testsuite/rust/compile/issue-3599.rs | 8
1 file changed, 8 insertions(+)
create mode 100644 gcc/testsuite/rust/compile/issue-3599
TIVE = "non_exhaustive";
static constexpr auto &RUSTFMT = "rustfmt";
+
+ static constexpr auto &TEST = "test";
+
+ static constexpr auto &SIMD_TEST = "simd_test";
};
} // namespace Values
} // namespace Rust
diff --git a/gcc/rust/util/rus
From: Philip Herron
Fixes Rust-GCC#3144
gcc/testsuite/ChangeLog:
* rust/compile/issue-3144.rs: New test.
Signed-off-by: Philip Herron
---
gcc/testsuite/rust/compile/issue-3144.rs | 29
1 file changed, 29 insertions(+)
create mode 100644 gcc/testsuite/rust
From: Philip Herron
Fixes Rust-GCC#1486
gcc/testsuite/ChangeLog:
* rust/execute/torture/issue-1481.rs: New test.
Signed-off-by: Philip Herron
---
.../rust/execute/torture/issue-1481.rs| 35 +++
1 file changed, 35 insertions(+)
create mode 100644 gcc
From: Philip Herron
Fixes Rust-GCC#3524
gcc/testsuite/ChangeLog:
* rust/compile/issue-3524.rs: New test.
Signed-off-by: Philip Herron
---
gcc/testsuite/rust/compile/issue-3524.rs | 9 +
1 file changed, 9 insertions(+)
create mode 100644 gcc/testsuite/rust/compile/issue-3524
From: Philip Herron
We have more complex test cases already but this will close out this issue.
Fixes Rust-GCC#2005
gcc/testsuite/ChangeLog:
* rust/execute/torture/issue-2005.rs: New test.
Signed-off-by: Philip Herron
---
.../rust/execute/torture/issue-2005.rs| 465
From: Owen Avery
gcc/rust/ChangeLog:
* hir/rust-ast-lower-item.cc
(ASTLoweringItem::visit): Keep going after a duplicate field is
found.
gcc/testsuite/ChangeLog:
* rust/execute/same_field_name.rs: Move to...
* rust/compile/same_field_name.rs: ...here and
From: Parthib
gcc/testsuite/ChangeLog:
* lib/rust.exp: Remove timeout.
Signed-off-by: Parthib
---
gcc/testsuite/lib/rust.exp | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/gcc/testsuite/lib/rust.exp b/gcc/testsuite/lib/rust.exp
index 9513e1c8955..692030cf883 1
From: Owen Avery
gcc/testsuite/ChangeLog:
* rust/execute/torture/builtin_abort.rs: Fix path to
intrinsics::abort.
Signed-off-by: Owen Avery
---
gcc/testsuite/rust/execute/torture/builtin_abort.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite
From: Owen Avery
This is similar to 9faba024ef18b9c4d67f22bd3b020b5e445fad0a, but it
applies to execute tests.
gcc/testsuite/ChangeLog:
* rust/execute/torture/for-loop1.rs: Adjust paths.
* rust/execute/torture/for-loop2.rs: Likewise.
* rust/execute/torture/iter1.rs: Like
1 - 100 of 2278 matches
Mail list logo