vect: Determine input vectype for multiple lane-reducing operations
[official-gcc.git] / gcc / testsuite / gcc.target / arm / mve / general-c / type_redef_1.c
blobcd230f14b2bb136c4b4ab7b335394bc31eb04f71
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_v8_1m_mve_fp_ok } */
3 /* { dg-add-options arm_v8_1m_mve_fp } */
5 int mve_pred16_t; /* { dg-message "note: previous declaration of 'mve_pred16_t'" } */
6 int int8x16_t; /* { dg-message "note: previous declaration of 'int8x16_t'" } */
7 int int16x8_t; /* { dg-message "note: previous declaration of 'int16x8_t'" } */
8 int int32x4_t; /* { dg-message "note: previous declaration of 'int32x4_t'" } */
9 int int64x2_t; /* { dg-message "note: previous declaration of 'int64x2_t'" } */
10 int uint8x16_t; /* { dg-message "note: previous declaration of 'uint8x16_t'" } */
11 int uint16x8_t; /* { dg-message "note: previous declaration of 'uint16x8_t'" } */
12 int uint32x4_t; /* { dg-message "note: previous declaration of 'uint32x4_t'" } */
13 int uint64x2_t; /* { dg-message "note: previous declaration of 'uint64x2_t'" } */
14 int float16x8_t; /* { dg-message "note: previous declaration of 'float16x8_t'" } */
15 int float32x4_t; /* { dg-message "note: previous declaration of 'float32x4_t'" } */
16 int int8x16x2_t; /* { dg-message "note: previous declaration of 'int8x16x2_t'" } */
17 int int8x16x4_t; /* { dg-message "note: previous declaration of 'int8x16x4_t'" } */
18 int int16x8x2_t; /* { dg-message "note: previous declaration of 'int16x8x2_t'" } */
19 int int16x8x4_t; /* { dg-message "note: previous declaration of 'int16x8x4_t'" } */
20 int int32x4x2_t; /* { dg-message "note: previous declaration of 'int32x4x2_t'" } */
21 int int32x4x4_t; /* { dg-message "note: previous declaration of 'int32x4x4_t'" } */
22 int int64x2x2_t; /* { dg-message "note: previous declaration of 'int64x2x2_t'" } */
23 int int64x2x4_t; /* { dg-message "note: previous declaration of 'int64x2x4_t'" } */
24 int uint8x16x2_t; /* { dg-message "note: previous declaration of 'uint8x16x2_t'" } */
25 int uint8x16x4_t; /* { dg-message "note: previous declaration of 'uint8x16x4_t'" } */
26 int uint16x8x2_t; /* { dg-message "note: previous declaration of 'uint16x8x2_t'" } */
27 int uint16x8x4_t; /* { dg-message "note: previous declaration of 'uint16x8x4_t'" } */
28 int uint32x4x2_t; /* { dg-message "note: previous declaration of 'uint32x4x2_t'" } */
29 int uint32x4x4_t; /* { dg-message "note: previous declaration of 'uint32x4x4_t'" } */
30 int uint64x2x2_t; /* { dg-message "note: previous declaration of 'uint64x2x2_t'" } */
31 int uint64x2x4_t; /* { dg-message "note: previous declaration of 'uint64x2x4_t'" } */
32 int float16x8x2_t; /* { dg-message "note: previous declaration of 'float16x8x2_t'" } */
33 int float16x8x4_t; /* { dg-message "note: previous declaration of 'float16x8x4_t'" } */
34 int float32x4x2_t; /* { dg-message "note: previous declaration of 'float32x4x2_t'" } */
35 int float32x4x4_t; /* { dg-message "note: previous declaration of 'float32x4x4_t'" } */
37 #pragma GCC arm "arm_mve_types.h" /* { dg-error {'mve_pred16_t' redeclared} } */
38 /* { dg-error {'int8x16_t' redeclared} "" {target *-*-*} .-1 } */
39 /* { dg-error {'int16x8_t' redeclared} "" {target *-*-*} .-2 } */
40 /* { dg-error {'int32x4_t' redeclared} "" {target *-*-*} .-3 } */
41 /* { dg-error {'int64x2_t' redeclared} "" {target *-*-*} .-4 } */
42 /* { dg-error {'uint8x16_t' redeclared} "" {target *-*-*} .-5 } */
43 /* { dg-error {'uint16x8_t' redeclared} "" {target *-*-*} .-6 } */
44 /* { dg-error {'uint32x4_t' redeclared} "" {target *-*-*} .-7 } */
45 /* { dg-error {'uint64x2_t' redeclared} "" {target *-*-*} .-8 } */
46 /* { dg-error {'float16x8_t' redeclared} "" {target *-*-*} .-9 } */
47 /* { dg-error {'float32x4_t' redeclared} "" {target *-*-*} .-10 } */
48 /* { dg-error {'int8x16x2_t' redeclared} "" {target *-*-*} .-11 } */
49 /* { dg-error {'int8x16x4_t' redeclared} "" {target *-*-*} .-12 } */
50 /* { dg-error {'int16x8x2_t' redeclared} "" {target *-*-*} .-13 } */
51 /* { dg-error {'int16x8x4_t' redeclared} "" {target *-*-*} .-14 } */
52 /* { dg-error {'int32x4x2_t' redeclared} "" {target *-*-*} .-15 } */
53 /* { dg-error {'int32x4x4_t' redeclared} "" {target *-*-*} .-16 } */
54 /* { dg-error {'int64x2x2_t' redeclared} "" {target *-*-*} .-17 } */
55 /* { dg-error {'int64x2x4_t' redeclared} "" {target *-*-*} .-18 } */
56 /* { dg-error {'uint8x16x2_t' redeclared} "" {target *-*-*} .-19 } */
57 /* { dg-error {'uint8x16x4_t' redeclared} "" {target *-*-*} .-20 } */
58 /* { dg-error {'uint16x8x2_t' redeclared} "" {target *-*-*} .-21 } */
59 /* { dg-error {'uint16x8x4_t' redeclared} "" {target *-*-*} .-22 } */
60 /* { dg-error {'uint32x4x2_t' redeclared} "" {target *-*-*} .-23 } */
61 /* { dg-error {'uint32x4x4_t' redeclared} "" {target *-*-*} .-24 } */
62 /* { dg-error {'uint64x2x2_t' redeclared} "" {target *-*-*} .-25 } */
63 /* { dg-error {'uint64x2x4_t' redeclared} "" {target *-*-*} .-26 } */
64 /* { dg-error {'float16x8x2_t' redeclared} "" {target *-*-*} .-27 } */
65 /* { dg-error {'float16x8x4_t' redeclared} "" {target *-*-*} .-28 } */
66 /* { dg-error {'float32x4x2_t' redeclared} "" {target *-*-*} .-29 } */
67 /* { dg-error {'float32x4x4_t' redeclared} "" {target *-*-*} .-30 } */