On Wed, 30 Aug 2023, Jakub Jelinek wrote: > On Wed, Aug 30, 2023 at 01:54:46PM +0200, Richard Biener via Gcc-patches > wrote: > > * gcc.dg/tree-ssa/forwprop-42.c: New testcase. > > > --- /dev/null > > +++ b/gcc/testsuite/gcc.dg/tree-ssa/forwprop-42.c > > @@ -0,0 +1,17 @@ > > +/* { dg-do compile } */ > > +/* { dg-options "-O -fdump-tree-cddce1" } */ > > + > > +typedef unsigned long v2di __attribute__((vector_size(16))); > > Shouldn't this be unsigned long long ? Otherwise it is actually V4SImode > rather than V2DImode.
Fixed like this. Richard. >From 695caedeb1b89ec05c727b2e2aacc2a27aa16c42 Mon Sep 17 00:00:00 2001 From: Richard Biener <rguent...@suse.de> Date: Wed, 30 Aug 2023 14:24:57 +0200 Subject: [PATCH] tree-optimization/111228 - fix testcase To: gcc-patches@gcc.gnu.org * gcc.dg/tree-ssa/forwprop-42.c: Use __UINT64_TYPE__ instead of unsigned long. --- gcc/testsuite/gcc.dg/tree-ssa/forwprop-42.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/tree-ssa/forwprop-42.c b/gcc/testsuite/gcc.dg/tree-ssa/forwprop-42.c index f3dbc3e9394..257a05d3ec8 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/forwprop-42.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/forwprop-42.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-O -fdump-tree-cddce1" } */ -typedef unsigned long v2di __attribute__((vector_size(16))); +typedef __UINT64_TYPE__ v2di __attribute__((vector_size(16))); v2di g; void test (v2di *v) -- 2.35.3