1 /* PR target/82848 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-mno-altivec -mno-vsx -Wno-psabi" } */ 4 5 #define C 3.68249351546114573519399405666776E-44f 6 #define vector __attribute__ ((altivec (vector__))) 7 8 vector float foo(vector float a)9foo (vector float a) 10 { 11 vector float b = __builtin_vec_madd (b, a, (vector float) { C, C, C, C }); /* { dg-error "requires the '-maltivec' option" } */ 12 return b; 13 } 14