From: Janis Johnson Date: Thu, 12 Aug 2004 18:08:12 +0000 (+0000) Subject: ops-long-2.c: Add dg-error directives. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=300523852fb45755cb9c9e0f8132b4bdfa7adf27;p=gcc.git ops-long-2.c: Add dg-error directives. 2004-08-12 Janis Johnson * gcc.dg/vmx/ops-long-2.c: Add dg-error directives. From-SVN: r85889 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 658d417d9d6..3bbc46ac0c7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-08-12 Janis Johnson + + * gcc.dg/vmx/ops-long-2.c: Add dg-error directives. + 2004-08-12 Jakub Jelinek PR c++/16276 diff --git a/gcc/testsuite/gcc.dg/vmx/ops-long-2.c b/gcc/testsuite/gcc.dg/vmx/ops-long-2.c index 1e628f19265..9cb6721065a 100644 --- a/gcc/testsuite/gcc.dg/vmx/ops-long-2.c +++ b/gcc/testsuite/gcc.dg/vmx/ops-long-2.c @@ -17,18 +17,18 @@ extern vector unsigned int * *var_vec_u32_ptr; extern vector unsigned int *var_vec_u32; void f36() { - vec_st(var_vec_s32[0], var_int[1], var_long_ptr[2]); - vec_st(var_vec_u32[0], var_int[1], var_unsigned_long_ptr[2]); + vec_st(var_vec_s32[0], var_int[1], var_long_ptr[2]); /* { dg-error "invalid parameter combination" } */ + vec_st(var_vec_u32[0], var_int[1], var_unsigned_long_ptr[2]); /* { dg-error "invalid parameter combination" } */ } void f37() { - vec_ste(var_vec_s32[0], var_int[1], var_long_ptr[2]); - vec_ste(var_vec_u32[0], var_int[1], var_unsigned_long_ptr[2]); - vec_stl(var_vec_s32[0], var_int[1], var_long_ptr[2]); - vec_stl(var_vec_u32[0], var_int[1], var_unsigned_long_ptr[2]); - vec_stvewx(var_vec_s32[0], var_int[1], var_long_ptr[2]); - vec_stvewx(var_vec_u32[0], var_int[1], var_unsigned_long_ptr[2]); - vec_stvx(var_vec_s32[0], var_int[1], var_long_ptr[2]); - vec_stvx(var_vec_u32[0], var_int[1], var_unsigned_long_ptr[2]); - vec_stvxl(var_vec_s32[0], var_int[1], var_long_ptr[2]); - vec_stvxl(var_vec_u32[0], var_int[1], var_unsigned_long_ptr[2]); + vec_ste(var_vec_s32[0], var_int[1], var_long_ptr[2]); /* { dg-error "invalid parameter combination" } */ + vec_ste(var_vec_u32[0], var_int[1], var_unsigned_long_ptr[2]); /* { dg-error "invalid parameter combination" } */ + vec_stl(var_vec_s32[0], var_int[1], var_long_ptr[2]); /* { dg-error "invalid parameter combination" } */ + vec_stl(var_vec_u32[0], var_int[1], var_unsigned_long_ptr[2]); /* { dg-error "invalid parameter combination" } */ + vec_stvewx(var_vec_s32[0], var_int[1], var_long_ptr[2]); /* { dg-error "invalid parameter combination" } */ + vec_stvewx(var_vec_u32[0], var_int[1], var_unsigned_long_ptr[2]); /* { dg-error "invalid parameter combination" } */ + vec_stvx(var_vec_s32[0], var_int[1], var_long_ptr[2]); /* { dg-error "invalid parameter combination" } */ + vec_stvx(var_vec_u32[0], var_int[1], var_unsigned_long_ptr[2]); /* { dg-error "invalid parameter combination" } */ + vec_stvxl(var_vec_s32[0], var_int[1], var_long_ptr[2]); /* { dg-error "invalid parameter combination" } */ + vec_stvxl(var_vec_u32[0], var_int[1], var_unsigned_long_ptr[2]); /* { dg-error "invalid parameter combination" } */ }