Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/simd-2.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
31 | 31 |
32 /* Assignment between scalar and SIMD of different size. */ | 32 /* Assignment between scalar and SIMD of different size. */ |
33 foo = a; /* { dg-error "incompatible types when assigning" } */ | 33 foo = a; /* { dg-error "incompatible types when assigning" } */ |
34 | 34 |
35 /* Casted assignment between scalar and SIMD of same size. */ | 35 /* Casted assignment between scalar and SIMD of same size. */ |
36 foo = (typeof (foo)) foo2; /* { dg-error "aggregate value used where a float was expected" } */ | 36 foo = (typeof (foo)) foo2; /* { dg-error "aggregate value used where a floating-point was expected" } */ |
37 | 37 |
38 /* Casted assignment between scalar and SIMD of different size. */ | 38 /* Casted assignment between scalar and SIMD of different size. */ |
39 foo1 = (typeof (foo1)) foo2; /* { dg-error "aggregate value used where a float was expected" } */ | 39 foo1 = (typeof (foo1)) foo2; /* { dg-error "aggregate value used where a floating-point was expected" } */ |
40 | 40 |
41 /* Operators on compatible SIMD types. */ | 41 /* Operators on compatible SIMD types. */ |
42 a += b + b; | 42 a += b + b; |
43 a -= b; | 43 a -= b; |
44 a *= b; | 44 a *= b; |