@@ -41,28 +41,28 @@ void f_a(vector int a);
41
41
void f_a2 (int b , vector int a );
42
42
43
43
// These should have warnings.
44
- __vector long vv_l ; // expected-warning {{Use of " long" with " __vector" is deprecated}}
45
- __vector signed long vv_sl ; // expected-warning {{Use of " long" with " __vector" is deprecated}}
46
- __vector unsigned long vv_ul ; // expected-warning {{Use of " long" with " __vector" is deprecated}}
47
- __vector long int vv_li ; // expected-warning {{Use of " long" with " __vector" is deprecated}}
48
- __vector signed long int vv_sli ; // expected-warning {{Use of " long" with " __vector" is deprecated}}
49
- __vector unsigned long int vv_uli ; // expected-warning {{Use of " long" with " __vector" is deprecated}}
50
- vector long v_l ; // expected-warning {{Use of " long" with " __vector" is deprecated}}
51
- vector signed long v_sl ; // expected-warning {{Use of " long" with " __vector" is deprecated}}
52
- vector unsigned long v_ul ; // expected-warning {{Use of " long" with " __vector" is deprecated}}
53
- vector long int v_li ; // expected-warning {{Use of " long" with " __vector" is deprecated}}
54
- vector signed long int v_sli ; // expected-warning {{Use of " long" with " __vector" is deprecated}}
55
- vector unsigned long int v_uli ; // expected-warning {{Use of " long" with " __vector" is deprecated}}
56
- __vector long double vv_ld ; // expected-warning {{Use of " long" with " __vector" is deprecated}} expected-error {{cannot use " double" with " __vector" }}
57
- vector long double v_ld ; // expected-warning {{Use of " long" with " __vector" is deprecated}} expected-error {{cannot use " double" with " __vector" }}
44
+ __vector long vv_l ; // expected-warning {{Use of ' long' with ' __vector' is deprecated}}
45
+ __vector signed long vv_sl ; // expected-warning {{Use of ' long' with ' __vector' is deprecated}}
46
+ __vector unsigned long vv_ul ; // expected-warning {{Use of ' long' with ' __vector' is deprecated}}
47
+ __vector long int vv_li ; // expected-warning {{Use of ' long' with ' __vector' is deprecated}}
48
+ __vector signed long int vv_sli ; // expected-warning {{Use of ' long' with ' __vector' is deprecated}}
49
+ __vector unsigned long int vv_uli ; // expected-warning {{Use of ' long' with ' __vector' is deprecated}}
50
+ vector long v_l ; // expected-warning {{Use of ' long' with ' __vector' is deprecated}}
51
+ vector signed long v_sl ; // expected-warning {{Use of ' long' with ' __vector' is deprecated}}
52
+ vector unsigned long v_ul ; // expected-warning {{Use of ' long' with ' __vector' is deprecated}}
53
+ vector long int v_li ; // expected-warning {{Use of ' long' with ' __vector' is deprecated}}
54
+ vector signed long int v_sli ; // expected-warning {{Use of ' long' with ' __vector' is deprecated}}
55
+ vector unsigned long int v_uli ; // expected-warning {{Use of ' long' with ' __vector' is deprecated}}
56
+ __vector long double vv_ld ; // expected-warning {{Use of ' long' with ' __vector' is deprecated}} expected-error {{cannot use ' double' with ' __vector' }}
57
+ vector long double v_ld ; // expected-warning {{Use of ' long' with ' __vector' is deprecated}} expected-error {{cannot use ' double' with ' __vector' }}
58
58
59
59
// These should have errors.
60
- __vector double vv_d ; // expected-error {{cannot use " double" with " __vector" }}
61
- __vector double vv_d ; // expected-error {{cannot use " double" with " __vector" }}
62
- vector double v_d ; // expected-error {{cannot use " double" with " __vector" }}
63
- vector double v_d ; // expected-error {{cannot use " double" with " __vector" }}
64
- __vector long double vv_ld ; // expected-warning {{Use of " long" with " __vector" is deprecated}} expected-error {{cannot use " double" with " __vector" }}
65
- vector long double v_ld ; // expected-warning {{Use of " long" with " __vector" is deprecated}} expected-error {{cannot use " double" with " __vector" }}
60
+ __vector double vv_d ; // expected-error {{cannot use ' double' with ' __vector' }}
61
+ __vector double vv_d ; // expected-error {{cannot use ' double' with ' __vector' }}
62
+ vector double v_d ; // expected-error {{cannot use ' double' with ' __vector' }}
63
+ vector double v_d ; // expected-error {{cannot use ' double' with ' __vector' }}
64
+ __vector long double vv_ld ; // expected-warning {{Use of ' long' with ' __vector' is deprecated}} expected-error {{cannot use ' double' with ' __vector' }}
65
+ vector long double v_ld ; // expected-warning {{Use of ' long' with ' __vector' is deprecated}} expected-error {{cannot use ' double' with ' __vector' }}
66
66
67
67
void f () {
68
68
__vector unsigned int v = {0 ,0 ,0 ,0 };
0 commit comments