rs6000: Shut up -Wformat-diag a little more
PR target/91148 * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): Remove superfluous "builtin function" phrasing. gcc/testsuite/ * gcc.target/powerpc/bfp/scalar-extract-exp-2.c: Adjust. * gcc.target/powerpc/bfp/scalar-extract-sig-2.c: Adjust. * gcc.target/powerpc/bfp/scalar-insert-exp-2.c: Adjust. * gcc.target/powerpc/bfp/scalar-insert-exp-5.c: Adjust. * gcc.target/powerpc/bfp/scalar-insert-exp-8.c: Adjust. * gcc.target/powerpc/byte-in-set-2.c: Adjust. * gcc.target/powerpc/cmpb-3.c: Adjust. * gcc.target/powerpc/vsu/vec-all-nez-7.c: Adjust. * gcc.target/powerpc/vsu/vec-any-eqz-7.c: Adjust. * gcc.target/powerpc/vsu/vec-xl-len-13.c: Adjust. * gcc.target/powerpc/vsu/vec-xst-len-12.c: Adjust. From-SVN: r273475
This commit is contained in:
parent
0d67fe7e00
commit
d67dfb85ba
14 changed files with 33 additions and 13 deletions
|
@ -1,3 +1,9 @@
|
|||
2019-07-14 Segher Boessenkool <segher@kernel.crashing.org>
|
||||
|
||||
PR target/91148
|
||||
* config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): Remove
|
||||
superfluous "builtin function" phrasing.
|
||||
|
||||
2019-07-13 Jan Hubicka <hubicka@ucw.cz>
|
||||
|
||||
* tree-ssa-alias.c (component_ref_to_zero_sized_trailing_array_p):
|
||||
|
|
|
@ -7036,8 +7036,7 @@ altivec_resolve_overloaded_builtin (location_t loc, tree fndecl,
|
|||
name, internal_name);
|
||||
}
|
||||
else
|
||||
error ("builtin function %qs not supported in this compiler "
|
||||
"configuration", name);
|
||||
error ("%qs is not supported in this compiler configuration", name);
|
||||
/* If an error-representing result tree was returned from
|
||||
altivec_build_resolved_builtin above, use it. */
|
||||
return (result != NULL) ? result : error_mark_node;
|
||||
|
|
|
@ -1,3 +1,18 @@
|
|||
2019-07-14 Segher Boessenkool <segher@kernel.crashing.org>
|
||||
|
||||
PR target/91148
|
||||
* gcc.target/powerpc/bfp/scalar-extract-exp-2.c: Adjust.
|
||||
* gcc.target/powerpc/bfp/scalar-extract-sig-2.c: Adjust.
|
||||
* gcc.target/powerpc/bfp/scalar-insert-exp-2.c: Adjust.
|
||||
* gcc.target/powerpc/bfp/scalar-insert-exp-5.c: Adjust.
|
||||
* gcc.target/powerpc/bfp/scalar-insert-exp-8.c: Adjust.
|
||||
* gcc.target/powerpc/byte-in-set-2.c: Adjust.
|
||||
* gcc.target/powerpc/cmpb-3.c: Adjust.
|
||||
* gcc.target/powerpc/vsu/vec-all-nez-7.c: Adjust.
|
||||
* gcc.target/powerpc/vsu/vec-any-eqz-7.c: Adjust.
|
||||
* gcc.target/powerpc/vsu/vec-xl-len-13.c: Adjust.
|
||||
* gcc.target/powerpc/vsu/vec-xst-len-12.c: Adjust.
|
||||
|
||||
2019-07-13 Iain Sandoe <iain@sandoe.co.uk>
|
||||
|
||||
* gcc.target/powerpc/stabs-attrib-vect-darwin.c: Require stabs
|
||||
|
|
|
@ -14,7 +14,7 @@ get_exponent (double *p)
|
|||
{
|
||||
double source = *p;
|
||||
|
||||
return scalar_extract_exp (source); /* { dg-error "'__builtin_vec_scalar_extract_exp' not supported in this compiler configuration" } */
|
||||
return scalar_extract_exp (source); /* { dg-error "'__builtin_vec_scalar_extract_exp' is not supported in this compiler configuration" } */
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -12,5 +12,5 @@ get_significand (double *p)
|
|||
{
|
||||
double source = *p;
|
||||
|
||||
return __builtin_vec_scalar_extract_sig (source); /* { dg-error "'__builtin_vec_scalar_extract_sig' not supported in this compiler configuration" } */
|
||||
return __builtin_vec_scalar_extract_sig (source); /* { dg-error "'__builtin_vec_scalar_extract_sig' is not supported in this compiler configuration" } */
|
||||
}
|
||||
|
|
|
@ -16,5 +16,5 @@ insert_exponent (unsigned long long int *significand_p,
|
|||
unsigned long long int significand = *significand_p;
|
||||
unsigned long long int exponent = *exponent_p;
|
||||
|
||||
return scalar_insert_exp (significand, exponent); /* { dg-error "'__builtin_vec_scalar_insert_exp' not supported in this compiler configuration" } */
|
||||
return scalar_insert_exp (significand, exponent); /* { dg-error "'__builtin_vec_scalar_insert_exp' is not supported in this compiler configuration" } */
|
||||
}
|
||||
|
|
|
@ -16,5 +16,5 @@ insert_exponent (double *significand_p,
|
|||
double significand = *significand_p;
|
||||
unsigned long long int exponent = *exponent_p;
|
||||
|
||||
return scalar_insert_exp (significand, exponent); /* { dg-error "'__builtin_vec_scalar_insert_exp' not supported in this compiler configuration" } */
|
||||
return scalar_insert_exp (significand, exponent); /* { dg-error "'__builtin_vec_scalar_insert_exp' is not supported in this compiler configuration" } */
|
||||
}
|
||||
|
|
|
@ -16,5 +16,5 @@ insert_exponent (unsigned __int128 *significand_p, /* { dg-error "'__int128' is
|
|||
unsigned __int128 significand = *significand_p; /* { dg-error "'__int128' is not supported on this target" } */
|
||||
unsigned long long int exponent = *exponent_p;
|
||||
|
||||
return scalar_insert_exp (significand, exponent); /* { dg-error "'__builtin_vec_scalar_insert_exp' not supported in this compiler configuration" } */
|
||||
return scalar_insert_exp (significand, exponent); /* { dg-error "'__builtin_vec_scalar_insert_exp' is not supported in this compiler configuration" } */
|
||||
}
|
||||
|
|
|
@ -11,5 +11,5 @@
|
|||
int
|
||||
test_byte_in_set (unsigned char b, unsigned long long set_members)
|
||||
{
|
||||
return __builtin_byte_in_set (b, set_members); /* { dg-error "'__builtin_byte_in_set' not supported in this compiler configuration" } */
|
||||
return __builtin_byte_in_set (b, set_members); /* { dg-error "'__builtin_byte_in_set' is not supported in this compiler configuration" } */
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ void abort ();
|
|||
long long int
|
||||
do_compare (long long int a, long long int b)
|
||||
{
|
||||
return __builtin_cmpb (a, b); /* { dg-error "'__builtin_cmpb' not supported in this compiler configuration" } */
|
||||
return __builtin_cmpb (a, b); /* { dg-error "'__builtin_cmpb' is not supported in this compiler configuration" } */
|
||||
}
|
||||
|
||||
void expect (long long int pattern, long long int value)
|
||||
|
|
|
@ -11,5 +11,5 @@ test_all_not_equal_and_not_zero (vector unsigned short *arg1_p,
|
|||
vector unsigned short arg_1 = *arg1_p;
|
||||
vector unsigned short arg_2 = *arg2_p;
|
||||
|
||||
return __builtin_vec_vcmpnez_p (__CR6_LT, arg_1, arg_2); /* { dg-error "'__builtin_vec_vcmpnez_p' not supported in this compiler configuration" } */
|
||||
return __builtin_vec_vcmpnez_p (__CR6_LT, arg_1, arg_2); /* { dg-error "'__builtin_vec_vcmpnez_p' is not supported in this compiler configuration" } */
|
||||
}
|
||||
|
|
|
@ -10,5 +10,5 @@ test_any_equal (vector unsigned int *arg1_p, vector unsigned int *arg2_p)
|
|||
vector unsigned int arg_1 = *arg1_p;
|
||||
vector unsigned int arg_2 = *arg2_p;
|
||||
|
||||
return __builtin_vec_vcmpnez_p (__CR6_LT_REV, arg_1, arg_2); /* { dg-error "'__builtin_vec_vcmpnez_p' not supported in this compiler configuration" } */
|
||||
return __builtin_vec_vcmpnez_p (__CR6_LT_REV, arg_1, arg_2); /* { dg-error "'__builtin_vec_vcmpnez_p' is not supported in this compiler configuration" } */
|
||||
}
|
||||
|
|
|
@ -13,5 +13,5 @@
|
|||
__vector float
|
||||
fetch_data (float *address, size_t length)
|
||||
{
|
||||
return __builtin_vec_lxvl (address, length); /* { dg-error "'__builtin_vec_lxvl' not supported in this compiler configuration" } */
|
||||
return __builtin_vec_lxvl (address, length); /* { dg-error "'__builtin_vec_lxvl' is not supported in this compiler configuration" } */
|
||||
}
|
||||
|
|
|
@ -13,5 +13,5 @@ store_data (vector double *datap, double *address, size_t length)
|
|||
{
|
||||
vector double data = *datap;
|
||||
|
||||
__builtin_vec_stxvl (data, address, length); /* { dg-error "'__builtin_vec_stxvl' not supported in this compiler configuration" } */
|
||||
__builtin_vec_stxvl (data, address, length); /* { dg-error "'__builtin_vec_stxvl' is not supported in this compiler configuration" } */
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue