This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: g++.dg/eh/simd-{1,2}.C
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: Richard dot Earnshaw at arm dot com
- Cc: gcc-patches at sources dot redhat dot com
- Date: Wed, 2 Apr 2003 12:56:31 -0400
- Subject: Re: g++.dg/eh/simd-{1,2}.C
On Wednesday, April 2, 2003, at 12:33 PM, Richard Earnshaw wrote:
Aldy,
Are simd-1.C and simd-2.C supposed to run on non-simd machines?
yes
I'm currently getting the error
/home/rearnsha/gnusrc/egcs-cross/gcc/testsuite/g++.dg/eh/simd-1.C: In
function `vector int vecfunc(vector int)':
/home/rearnsha/gnusrc/egcs-cross/gcc/testsuite/g++.dg/eh/simd-1.C:10:
error: expected primary-expression
doh. i should've tested my last change after jason's suggestions.
committed as obvious.
2003-04-02 Aldy Hernandez <aldyh at redhat dot com>
* g++.dg/eh/simd-2.C (vecfunc): Fix typo.
* g++.dg/eh/simd-1.C (vecfunc): Same.
Index: g++.dg/eh/simd-2.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/eh/simd-2.C,v
retrieving revision 1.1
diff -c -p -r1.1 simd-2.C
*** g++.dg/eh/simd-2.C 1 Apr 2003 19:18:24 -0000 1.1
--- g++.dg/eh/simd-2.C 2 Apr 2003 16:55:09 -0000
*************** typedef int __attribute__((mode(V4SI)))
*** 7,13 ****
vecint vecfunc (vecint beachbum)
{
! return vecint;
}
void f3 (void)
--- 7,13 ----
vecint vecfunc (vecint beachbum)
{
! return beachbum;
}
void f3 (void)
Index: g++.dg/eh/simd-1.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/eh/simd-1.C,v
retrieving revision 1.1
diff -c -p -r1.1 simd-1.C
*** g++.dg/eh/simd-1.C 1 Apr 2003 19:18:24 -0000 1.1
--- g++.dg/eh/simd-1.C 2 Apr 2003 16:55:09 -0000
*************** typedef int __attribute__((mode(V2SI)))
*** 7,13 ****
vecint vecfunc (vecint beachbum)
{
! return vecint;
}
void f3 (void)
--- 7,13 ----
vecint vecfunc (vecint beachbum)
{
! return beachbum;
}
void f3 (void)