+2017-08-14 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
+
+ PR target/79845
+ * config/rs6000/linux64.h (INVALID_64BIT): Use quoted strings.
+ * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
+ Likewise.
+ * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Use
+ quoted strings, and make more translator-friendly.
+ (darwin_rs6000_override_options): Likewise.
+ (rs6000_option_override_internal): Likewise.
+ (rs6000_return_in_memory): Fix overlong line.
+ (init_cmulative_args): Use quoted strings, and make more
+ translator-friendly.
+ (rs6000_pass_by_reference): Fix overlong line.
+ (def_builtin): Use quoted strings.
+ (altivec_expand_predicate_builtin): Use quoted strings, and make
+ more translator-friendly.
+ (htm_expand_builtin): Use quoted strings.
+ (cpu_expand_builtin): Use quoted strings, and make more
+ translator-friendly.
+ (altivec_expand_builtin): Likewise.
+ (paired_expand_predicate_builtin): Likewise.
+ (rs6000_invalid_builtin): Likewise.
+ (builtin_function_type): Use quoted strings.
+ (rs6000_expand_split_stack_prologue): Use quoted strings, and make
+ more translator-friendly.
+ (rs6000_trampoline_init): Likewise.
+ (rs6000_handle_altivec_attribute): Likewise.
+ (rs6000_inner_target_options): Use quoted strings.
+ (rs6000_disable_incompatible_switches): Likewise.
+ * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Use quoted
+ strings, and make more translator-friendly.
+ (SUBSUBTARGET_OVERRIDE_OPTIONS): Use quoted strings.
+
2017-08-14 Bin Cheng <bin.cheng@arm.com>
PR tree-optimization/81799
#undef RS6000_ABI_NAME
#define RS6000_ABI_NAME "linux"
-#define INVALID_64BIT "-m%s not supported in this configuration"
+#define INVALID_64BIT "%<-m%s%> not supported in this configuration"
#define INVALID_32BIT INVALID_64BIT
#ifdef LINUX64_DEFAULT_ABI_ELFv2
types. */
if (nargs != 2)
{
- error ("vec_mul only accepts 2 arguments");
+ error ("builtin %qs only accepts 2 arguments", "vec_mul");
return error_mark_node;
}
for it (prior to power 9). */
if (nargs != 2)
{
- error ("vec_cmpne only accepts 2 arguments");
+ error ("builtin %qs only accepts 2 arguments", "vec_cmpne");
return error_mark_node;
}
{
const char *name = fcode == ALTIVEC_BUILTIN_VEC_ADDE ?
"vec_adde": "vec_sube";
- error ("%s only accepts 3 arguments", name);
+ error ("builtin %qs only accepts 3 arguments", name);
return error_mark_node;
}
{
const char *name = fcode == ALTIVEC_BUILTIN_VEC_ADDEC ?
"vec_addec": "vec_subec";
- error ("%s only accepts 3 arguments", name);
+ error ("builtin %qs only accepts 3 arguments", name);
return error_mark_node;
}
vec<constructor_elt, va_gc> *vec;
const char *name = fcode == ALTIVEC_BUILTIN_VEC_SPLATS ? "vec_splats": "vec_promote";
- if (nargs == 0)
- {
- error ("%s only accepts %d arguments", name, (fcode == ALTIVEC_BUILTIN_VEC_PROMOTE)+1 );
- return error_mark_node;
- }
if (fcode == ALTIVEC_BUILTIN_VEC_SPLATS && nargs != 1)
{
- error ("%s only accepts 1 argument", name);
+ error ("builtin %qs only accepts 1 argument", name);
return error_mark_node;
}
if (fcode == ALTIVEC_BUILTIN_VEC_PROMOTE && nargs != 2)
{
- error ("%s only accepts 2 arguments", name);
+ error ("builtin %qs only accepts 2 arguments", name);
return error_mark_node;
}
/* Ignore promote's element argument. */
/* No second argument. */
if (nargs != 2)
{
- error ("vec_extract only accepts 2 arguments");
+ error ("builtin %qs only accepts 2 arguments", "vec_extract");
return error_mark_node;
}
/* No second or third arguments. */
if (nargs != 3)
{
- error ("vec_insert only accepts 3 arguments");
+ error ("builtin %qs only accepts 3 arguments", "vec_insert");
return error_mark_node;
}
if (nargs != 2)
{
- error ("__builtin_cmpb only accepts 2 arguments");
+ error ("builtin %qs only accepts 2 arguments", "__builtin_cmpb");
return error_mark_node;
}
if (nargs != 2)
{
- error ("scalar_insert_exp only accepts 2 arguments");
+ error ("builtin %qs only accepts 2 arguments",
+ "scalar_insert_exp");
return error_mark_node;
}
if (unsupported_builtin)
{
const char *name = rs6000_overloaded_builtin_name (fcode);
- error ("builtin function %s not supported in this compiler configuration",
- name);
+ error ("builtin function %qs not supported in this compiler "
+ "configuration", name);
return error_mark_node;
}
}
bad:
{
const char *name = rs6000_overloaded_builtin_name (fcode);
- error ("invalid parameter combination for AltiVec intrinsic %s", name);
+ error ("invalid parameter combination for AltiVec intrinsic %qs", name);
return error_mark_node;
}
}
if (rs6000_recip_control)
{
if (!flag_finite_math_only)
- warning (0, "-mrecip requires -ffinite-math or -ffast-math");
+ warning (0, "%qs requires %qs or %qs", "-mrecip", "-ffinite-math",
+ "-ffast-math");
if (flag_trapping_math)
- warning (0, "-mrecip requires -fno-trapping-math or -ffast-math");
+ warning (0, "%qs requires %qs or %qs", "-mrecip",
+ "-fno-trapping-math", "-ffast-math");
if (!flag_reciprocal_math)
- warning (0, "-mrecip requires -freciprocal-math or -ffast-math");
+ warning (0, "%qs requires %qs or %qs", "-mrecip", "-freciprocal-math",
+ "-ffast-math");
if (flag_finite_math_only && !flag_trapping_math && flag_reciprocal_math)
{
if (RS6000_RECIP_HAVE_RE_P (SFmode)
if (TARGET_64BIT && ! TARGET_POWERPC64)
{
rs6000_isa_flags |= OPTION_MASK_POWERPC64;
- warning (0, "-m64 requires PowerPC64 architecture, enabling");
+ warning (0, "%qs requires PowerPC64 architecture, enabling", "-m64");
}
if (flag_mkernel)
{
&& rs6000_alignment_flags == MASK_ALIGN_POWER
&& DEFAULT_ABI == ABI_DARWIN
&& TARGET_64BIT)
- warning (0, "-malign-power is not supported for 64-bit Darwin;"
- " it is incompatible with the installed C and C++ libraries");
+ warning (0, "%qs is not supported for 64-bit Darwin;"
+ " it is incompatible with the installed C and C++ libraries",
+ "-malign-power");
/* Numerous experiment shows that IRA based loop pressure
calculation works better for RTL loop invariant motion on targets
{
rs6000_isa_flags &= ~OPTION_MASK_MULTIPLE;
if ((rs6000_isa_flags_explicit & OPTION_MASK_MULTIPLE) != 0)
- warning (0, "-mmultiple is not supported on little endian systems");
+ warning (0, "%qs is not supported on little endian systems",
+ "-mmultiple");
}
if (TARGET_STRING)
{
rs6000_isa_flags &= ~OPTION_MASK_STRING;
if ((rs6000_isa_flags_explicit & OPTION_MASK_STRING) != 0)
- warning (0, "-mstring is not supported on little endian systems");
+ warning (0, "%qs is not supported on little endian systems",
+ "-mstring");
}
}
rs6000_isa_flags |= (ISA_3_0_MASKS_SERVER & ~ignore_masks);
}
else
- error ("power9 target option is incompatible with -mcpu=<xxx> for "
- "<xxx> less than power9");
+ error ("power9 target option is incompatible with %<%s=<xxx>%> "
+ "for <xxx> less than power9", "-mcpu");
}
else if ((ISA_3_0_MASKS_SERVER & rs6000_isa_flags_explicit)
!= (ISA_3_0_MASKS_SERVER & rs6000_isa_flags
& rs6000_isa_flags_explicit))
/* Enforce that none of the ISA_3_0_MASKS_SERVER flags
were explicitly cleared. */
- error ("-mpower9-minmax incompatible with explicitly disabled options");
+ error ("%qs incompatible with explicitly disabled options",
+ "-mpower9-minmax");
else
rs6000_isa_flags |= ISA_3_0_MASKS_SERVER;
}
if (TARGET_CRYPTO && !TARGET_ALTIVEC)
{
if (rs6000_isa_flags_explicit & OPTION_MASK_CRYPTO)
- error ("-mcrypto requires -maltivec");
+ error ("%qs requires %qs", "-mcrypto", "-maltivec");
rs6000_isa_flags &= ~OPTION_MASK_CRYPTO;
}
if (TARGET_DIRECT_MOVE && !TARGET_VSX)
{
if (rs6000_isa_flags_explicit & OPTION_MASK_DIRECT_MOVE)
- error ("-mdirect-move requires -mvsx");
+ error ("%qs requires %qs", "-mdirect-move", "-mvsx");
rs6000_isa_flags &= ~OPTION_MASK_DIRECT_MOVE;
}
if (TARGET_P8_VECTOR && !TARGET_ALTIVEC)
{
if (rs6000_isa_flags_explicit & OPTION_MASK_P8_VECTOR)
- error ("-mpower8-vector requires -maltivec");
+ error ("%qs requires %qs", "-mpower8-vector", "-maltivec");
rs6000_isa_flags &= ~OPTION_MASK_P8_VECTOR;
}
{
if ((rs6000_isa_flags_explicit & OPTION_MASK_P8_VECTOR)
&& (rs6000_isa_flags_explicit & OPTION_MASK_VSX))
- error ("-mpower8-vector requires -mvsx");
+ error ("%qs requires %qs", "-mpower8-vector", "-mvsx");
else if ((rs6000_isa_flags_explicit & OPTION_MASK_P8_VECTOR) == 0)
{
rs6000_isa_flags &= ~OPTION_MASK_P8_VECTOR;
if (TARGET_VSX_TIMODE && !TARGET_VSX)
{
if (rs6000_isa_flags_explicit & OPTION_MASK_VSX_TIMODE)
- error ("-mvsx-timode requires -mvsx");
+ error ("%qs requires %qs", "-mvsx-timode", "-mvsx");
rs6000_isa_flags &= ~OPTION_MASK_VSX_TIMODE;
}
if (TARGET_DFP && !TARGET_HARD_FLOAT)
{
if (rs6000_isa_flags_explicit & OPTION_MASK_DFP)
- error ("-mhard-dfp requires -mhard-float");
+ error ("%qs requires %qs", "-mhard-dfp", "-mhard-float");
rs6000_isa_flags &= ~OPTION_MASK_DFP;
}
if (TARGET_QUAD_MEMORY && !WORDS_BIG_ENDIAN)
{
if ((rs6000_isa_flags_explicit & OPTION_MASK_QUAD_MEMORY) != 0)
- warning (0, N_("-mquad-memory is not available in little endian mode"));
+ warning (0, N_("-mquad-memory is not available in little endian "
+ "mode"));
rs6000_isa_flags &= ~OPTION_MASK_QUAD_MEMORY;
}
if (rs6000_isa_flags_explicit & OPTION_MASK_P8_FUSION)
{
if (TARGET_P8_FUSION_SIGN)
- error ("-mpower8-fusion-sign requires -mpower8-fusion");
+ error ("%qs requires %qs", "-mpower8-fusion-sign",
+ "-mpower8-fusion");
if (TARGET_TOC_FUSION)
- error ("-mtoc-fusion requires -mpower8-fusion");
+ error ("%qs requires %qs", "-mtoc-fusion", "-mpower8-fusion");
rs6000_isa_flags &= ~OPTION_MASK_P8_FUSION;
}
error messages. However, if users have managed to select
power9-fusion without selecting power8-fusion, they
already know about undocumented flags. */
- error ("-mpower9-fusion requires -mpower8-fusion");
+ error ("%qs requires %qs", "-mpower9-fusion", "-mpower8-fusion");
rs6000_isa_flags &= ~OPTION_MASK_P9_FUSION;
}
else
already know about undocumented flags. */
if ((rs6000_isa_flags_explicit & OPTION_MASK_P9_VECTOR) &&
(rs6000_isa_flags_explicit & OPTION_MASK_P8_VECTOR))
- error ("-mpower9-vector requires -mpower8-vector");
+ error ("%qs requires %qs", "-mpower9-vector", "-mpower8-vector");
else if ((rs6000_isa_flags_explicit & OPTION_MASK_P9_VECTOR) == 0)
{
rs6000_isa_flags &= ~OPTION_MASK_P9_VECTOR;
if ((rs6000_isa_flags_explicit & OPTION_MASK_P9_VECTOR)
&& (rs6000_isa_flags_explicit & (OPTION_MASK_P9_DFORM_SCALAR
| OPTION_MASK_P9_DFORM_VECTOR)))
- error ("-mpower9-dform requires -mpower9-vector");
+ error ("%qs requires %qs", "-mpower9-dform", "-mpower9-vector");
else if (rs6000_isa_flags_explicit & OPTION_MASK_P9_VECTOR)
{
rs6000_isa_flags &=
&& ((rs6000_isa_flags_explicit & OPTION_MASK_P9_DFORM_VECTOR) ||
(rs6000_isa_flags_explicit & OPTION_MASK_P9_DFORM_SCALAR) ||
(TARGET_P9_DFORM_BOTH == 1)))
- error ("-mpower9-dform, -mpower9-dform-vector, -mpower9-dform-scalar"
- " require -mdirect-move");
+ error ("%qs, %qs, %qs require %qs", "-mpower9-dform",
+ "-mpower9-dform-vector", "-mpower9-dform-scalar",
+ "-mdirect-move");
else if ((rs6000_isa_flags_explicit & OPTION_MASK_DIRECT_MOVE) == 0)
{
rs6000_isa_flags |= OPTION_MASK_DIRECT_MOVE;
{
if (TARGET_ALLOW_MOVMISALIGN > 0
&& global_options_set.x_TARGET_ALLOW_MOVMISALIGN)
- error ("-mallow-movmisalign requires -mvsx");
+ error ("%qs requires %qs", "-mallow-movmisalign", "-mvsx");
TARGET_ALLOW_MOVMISALIGN = 0;
}
if (!TARGET_VSX)
{
if (rs6000_isa_flags_explicit & OPTION_MASK_EFFICIENT_UNALIGNED_VSX)
- error ("-mefficient-unaligned-vsx requires -mvsx");
+ error ("%qs requires %qs", "-mefficient-unaligned-vsx", "-mvsx");
rs6000_isa_flags &= ~OPTION_MASK_EFFICIENT_UNALIGNED_VSX;
}
else if (!TARGET_ALLOW_MOVMISALIGN)
{
if (rs6000_isa_flags_explicit & OPTION_MASK_EFFICIENT_UNALIGNED_VSX)
- error ("-mefficient-unaligned-vsx requires -mallow-movmisalign");
+ error ("%qs requires %qs", "-munefficient-unaligned-vsx",
+ "-mallow-movmisalign");
rs6000_isa_flags &= ~OPTION_MASK_EFFICIENT_UNALIGNED_VSX;
}
if (TARGET_FLOAT128_KEYWORD)
{
if ((rs6000_isa_flags_explicit & OPTION_MASK_FLOAT128_KEYWORD) != 0)
- error ("-mfloat128 requires VSX support");
+ error ("%qs requires VSX support", "-mfloat128");
rs6000_isa_flags &= ~(OPTION_MASK_FLOAT128_TYPE
| OPTION_MASK_FLOAT128_KEYWORD
else if (TARGET_FLOAT128_TYPE)
{
if ((rs6000_isa_flags_explicit & OPTION_MASK_FLOAT128_TYPE) != 0)
- error ("-mfloat128-type requires VSX support");
+ error ("%qs requires VSX support", "-mfloat128-type");
rs6000_isa_flags &= ~(OPTION_MASK_FLOAT128_TYPE
| OPTION_MASK_FLOAT128_KEYWORD
{
if ((rs6000_isa_flags_explicit & OPTION_MASK_FLOAT128_KEYWORD) != 0)
{
- error ("-mfloat128 requires -mfloat128-type");
+ error ("%qs requires %qs", "-mfloat128", "-mfloat128-type");
rs6000_isa_flags &= ~(OPTION_MASK_FLOAT128_TYPE
| OPTION_MASK_FLOAT128_KEYWORD
| OPTION_MASK_FLOAT128_HW);
{
if ((rs6000_isa_flags_explicit & OPTION_MASK_FLOAT128_HW) != 0)
{
- error ("-mfloat128-hardware requires -mfloat128-type");
+ error ("%qs requires %qs", "-mfloat128-hardware",
+ "-mfloat128-type");
rs6000_isa_flags &= ~OPTION_MASK_FLOAT128_HW;
}
else
&& (rs6000_isa_flags & ISA_3_0_MASKS_IEEE) != ISA_3_0_MASKS_IEEE)
{
if ((rs6000_isa_flags_explicit & OPTION_MASK_FLOAT128_HW) != 0)
- error ("-mfloat128-hardware requires full ISA 3.0 support");
+ error ("%qs requires full ISA 3.0 support", "-mfloat128-hardware");
rs6000_isa_flags &= ~OPTION_MASK_FLOAT128_HW;
}
if (TARGET_FLOAT128_HW && !TARGET_64BIT)
{
if ((rs6000_isa_flags_explicit & OPTION_MASK_FLOAT128_HW) != 0)
- error ("-mfloat128-hardware requires -m64");
+ error ("%qs requires %qs", "-mfloat128-hardware", "-m64");
rs6000_isa_flags &= ~OPTION_MASK_FLOAT128_HW;
}
rs6000_veclib_handler = rs6000_builtin_vectorized_libmass;
else
{
- error ("unknown vectorization library ABI type (%s) for "
- "-mveclibabi= switch", rs6000_veclibabi_name);
+ error ("unknown vectorization library ABI type (%qs) for "
+ "%qs switch", rs6000_veclibabi_name, "-mveclibabi=");
ret = false;
}
}
errno = 0;
long offset = strtol (str, &endp, 0);
if (!*str || *endp || errno)
- error ("%qs is not a valid number "
- "in -mstack-protector-guard-offset=", str);
+ error ("%qs is not a valid number in %qs", str,
+ "-mstack-protector-guard-offset=");
if (!IN_RANGE (offset, -0x8000, 0x7fff)
|| (TARGET_64BIT && (offset & 3)))
- error ("%qs is not a valid offset "
- "in -mstack-protector-guard-offset=", str);
+ error ("%qs is not a valid offset in %qs", str,
+ "-mstack-protector-guard-offset=");
rs6000_stack_protector_guard_offset = offset;
}
int reg = decode_reg_name (str);
if (!IN_RANGE (reg, 1, 31))
- error ("%qs is not a valid base register "
- "in -mstack-protector-guard-reg=", str);
+ error ("%qs is not a valid base register in %qs", str,
+ "-mstack-protector-guard-reg=");
rs6000_stack_protector_guard_reg = reg;
}
if (rs6000_stack_protector_guard == SSP_TLS
&& !IN_RANGE (rs6000_stack_protector_guard_reg, 1, 31))
- error ("-mstack-protector-guard=tls needs a valid base register");
+ error ("%qs needs a valid base register", "-mstack-protector-guard=tls");
if (global_init_p)
{
if (i == ARRAY_SIZE (recip_options))
{
- error ("unknown option for -mrecip=%s", q);
+ error ("unknown option for %<%s=%s%>", "-mrecip", q);
invert = false;
mask = 0;
ret = false;
if (!warned_for_return_big_vectors)
{
warning (OPT_Wpsabi, "GCC vector returned by reference: "
- "non-standard ABI extension with no compatibility guarantee");
+ "non-standard ABI extension with no compatibility "
+ "guarantee");
warned_for_return_big_vectors = true;
}
return true;
&& ALTIVEC_VECTOR_MODE (TYPE_MODE (TREE_TYPE (fntype))))
{
error ("cannot return value in vector register because"
- " altivec instructions are disabled, use -maltivec"
- " to enable them");
+ " altivec instructions are disabled, use %qs"
+ " to enable them", "-maltivec");
}
}
\f
if (!TARGET_ALTIVEC)
error ("cannot pass argument in vector register because"
- " altivec instructions are disabled, use -maltivec"
- " to enable them");
+ " altivec instructions are disabled, use %qs"
+ " to enable them", "-maltivec");
/* PowerPC64 Linux and AIX allocate GPRs for a vector argument
even if it is going to be passed in a vector register.
if (!warned_for_pass_big_vectors)
{
warning (OPT_Wpsabi, "GCC vector passed by reference: "
- "non-standard ABI extension with no compatibility guarantee");
+ "non-standard ABI extension with no compatibility "
+ "guarantee");
warned_for_pass_big_vectors = true;
}
return 1;
if (rs6000_builtin_decls[(int)code])
fatal_error (input_location,
- "internal error: builtin function %s already processed", name);
+ "internal error: builtin function %qs already processed",
+ name);
rs6000_builtin_decls[(int)code] = t =
add_builtin_function (name, type, (int)code, BUILT_IN_MD, NULL, NULL_TREE);
if (TREE_CODE (cr6_form) != INTEGER_CST)
{
- error ("argument 1 of __builtin_altivec_predicate must be a constant");
+ error ("argument 1 of %qs must be a constant",
+ "__builtin_altivec_predicate");
return const0_rtx;
}
else
emit_insn (gen_cr6_test_for_lt_reverse (target));
break;
default:
- error ("argument 1 of __builtin_altivec_predicate is out of range");
+ error ("argument 1 of %qs is out of range",
+ "__builtin_altivec_predicate");
break;
}
{
size_t uns_fcode = (size_t)fcode;
const char *name = rs6000_builtin_info[uns_fcode].name;
- error ("builtin %s is only valid in 64-bit mode", name);
+ error ("builtin %qs is only valid in 64-bit mode", name);
return const0_rtx;
}
if (TREE_CODE (arg) != STRING_CST)
{
- error ("builtin %s only accepts a string argument",
+ error ("builtin %qs only accepts a string argument",
rs6000_builtin_info[(size_t) fcode].name);
return const0_rtx;
}
if (cpuid == NULL_RTX)
{
/* Invalid CPU argument. */
- error ("cpu %s is an invalid argument to builtin %s",
+ error ("cpu %qs is an invalid argument to builtin %qs",
cpu, rs6000_builtin_info[(size_t) fcode].name);
return const0_rtx;
}
if (mask == NULL_RTX)
{
/* Invalid HWCAP argument. */
- error ("hwcap %s is an invalid argument to builtin %s",
- hwcap, rs6000_builtin_info[(size_t) fcode].name);
+ error ("%s %qs is an invalid argument to builtin %qs",
+ "hwcap", hwcap, rs6000_builtin_info[(size_t) fcode].name);
return const0_rtx;
}
cpu_builtin_p = true;
#else
- warning (0, "%s needs GLIBC (2.23 and newer) that exports hardware "
+ warning (0, "builtin %qs needs GLIBC (2.23 and newer) that exports hardware "
"capability bits", rs6000_builtin_info[(size_t) fcode].name);
/* For old LIBCs, always return FALSE. */
if (TREE_CODE (arg0) != INTEGER_CST
|| TREE_INT_CST_LOW (arg0) & ~0x3)
{
- error ("argument to dss must be a 2-bit unsigned literal");
+ error ("argument to %qs must be a 2-bit unsigned literal", "dss");
return const0_rtx;
}
if (TREE_CODE (arg1) != INTEGER_CST || TREE_INT_CST_LOW (arg1) > 12)
{
- error ("second argument to vec_vextract4b must be 0..12");
+ error ("second argument to %qs must be 0..12", "vec_vextract4b");
return expand_call (exp, target, false);
}
break;
if (TREE_CODE (arg2) != INTEGER_CST || TREE_INT_CST_LOW (arg2) > 12)
{
- error ("third argument to vec_vinsert4b must be 0..12");
+ error ("third argument to %qs must be 0..12", "vec_vinsert4b");
return expand_call (exp, target, false);
}
break;
if (TREE_CODE (form) != INTEGER_CST)
{
- error ("argument 1 of __builtin_paired_predicate must be a constant");
+ error ("argument 1 of %s must be a constant",
+ "__builtin_paired_predicate");
return const0_rtx;
}
else
emit_insn (gen_move_from_CR_ov_bit (target, scratch));
return target;
default:
- error ("argument 1 of __builtin_paired_predicate is out of range");
+ error ("argument 1 of %qs is out of range",
+ "__builtin_paired_predicate");
return const0_rtx;
}
gcc_assert (name != NULL);
if ((fnmask & RS6000_BTM_CELL) != 0)
- error ("builtin function %s is only valid for the cell processor", name);
+ error ("builtin function %qs is only valid for the cell processor", name);
else if ((fnmask & RS6000_BTM_VSX) != 0)
- error ("builtin function %s requires the -mvsx option", name);
+ error ("builtin function %qs requires the %qs option", name, "-mvsx");
else if ((fnmask & RS6000_BTM_HTM) != 0)
- error ("builtin function %s requires the -mhtm option", name);
+ error ("builtin function %qs requires the %qs option", name, "-mhtm");
else if ((fnmask & RS6000_BTM_ALTIVEC) != 0)
- error ("builtin function %s requires the -maltivec option", name);
+ error ("builtin function %qs requires the %qs option", name, "-maltivec");
else if ((fnmask & RS6000_BTM_PAIRED) != 0)
- error ("builtin function %s requires the -mpaired option", name);
+ error ("builtin function %qs requires the %qs option", name, "-mpaired");
else if ((fnmask & (RS6000_BTM_DFP | RS6000_BTM_P8_VECTOR))
== (RS6000_BTM_DFP | RS6000_BTM_P8_VECTOR))
- error ("builtin function %s requires the -mhard-dfp and"
- " -mpower8-vector options", name);
+ error ("builtin function %qs requires the %qs and %qs options",
+ name, "-mhard-dfp", "-mpower8-vector");
else if ((fnmask & RS6000_BTM_DFP) != 0)
- error ("builtin function %s requires the -mhard-dfp option", name);
+ error ("builtin function %qs requires the %qs option", name, "-mhard-dfp");
else if ((fnmask & RS6000_BTM_P8_VECTOR) != 0)
- error ("builtin function %s requires the -mpower8-vector option", name);
+ error ("builtin function %qs requires the %qs option", name,
+ "-mpower8-vector");
else if ((fnmask & (RS6000_BTM_P9_VECTOR | RS6000_BTM_64BIT))
== (RS6000_BTM_P9_VECTOR | RS6000_BTM_64BIT))
- error ("builtin function %s requires the -mcpu=power9 and"
- " -m64 options", name);
+ error ("builtin function %qs requires the %qs and %qs options",
+ name, "-mcpu=power9", "-m64");
else if ((fnmask & RS6000_BTM_P9_VECTOR) != 0)
- error ("builtin function %s requires the -mcpu=power9 option", name);
+ error ("builtin function %qs requires the %qs option", name,
+ "-mcpu=power9");
else if ((fnmask & (RS6000_BTM_P9_MISC | RS6000_BTM_64BIT))
== (RS6000_BTM_P9_MISC | RS6000_BTM_64BIT))
- error ("builtin function %s requires the -mcpu=power9 and"
- " -m64 options", name);
+ error ("builtin function %qs requires the %qs and %qs options",
+ name, "-mcpu=power9", "-m64");
else if ((fnmask & RS6000_BTM_P9_MISC) == RS6000_BTM_P9_MISC)
- error ("builtin function %s requires the -mcpu=power9 option", name);
+ error ("builtin function %qs requires the %qs option", name,
+ "-mcpu=power9");
else if ((fnmask & (RS6000_BTM_HARD_FLOAT | RS6000_BTM_LDBL128))
== (RS6000_BTM_HARD_FLOAT | RS6000_BTM_LDBL128))
- error ("builtin function %s requires the -mhard-float and"
- " -mlong-double-128 options", name);
+ error ("builtin function %qs requires the %qs and %qs options",
+ name, "-mhard-float", "-mlong-double-128");
else if ((fnmask & RS6000_BTM_HARD_FLOAT) != 0)
- error ("builtin function %s requires the -mhard-float option", name);
+ error ("builtin function %qs requires the %qs option", name,
+ "-mhard-float");
else if ((fnmask & RS6000_BTM_FLOAT128) != 0)
- error ("builtin function %s requires the -mfloat128 option", name);
+ error ("builtin function %qs requires the %qs option", name, "-mfloat128");
else
- error ("builtin function %s is not supported with the current options",
+ error ("builtin function %qs is not supported with the current options",
name);
}
if (!ret_type)
fatal_error (input_location,
- "internal error: builtin function %s had an unexpected "
- "return type %s", name, GET_MODE_NAME (h.mode[0]));
+ "internal error: builtin function %qs had an unexpected "
+ "return type %qs", name, GET_MODE_NAME (h.mode[0]));
for (i = 0; i < (int) ARRAY_SIZE (arg_type); i++)
arg_type[i] = NULL_TREE;
if (!arg_type[i])
fatal_error (input_location,
- "internal error: builtin function %s, argument %d "
- "had unexpected argument type %s", name, i,
+ "internal error: builtin function %qs, argument %d "
+ "had unexpected argument type %qs", name, i,
GET_MODE_NAME (m));
}
if (global_regs[29])
{
- error ("-fsplit-stack uses register r29");
+ error ("%qs uses register r29", "-fsplit-stack");
inform (DECL_SOURCE_LOCATION (global_regs_decl[29]),
"conflicts with %qD", global_regs_decl[29]);
}
if (!TARGET_POINTERS_TO_NESTED_FUNCTIONS)
error ("you cannot take the address of a nested function if you use "
- "the -mno-pointers-to-nested-functions option.");
+ "the %qs option", "-mno-pointers-to-nested-functions");
fnmem = gen_const_mem (Pmode, force_reg (Pmode, fnaddr));
fn_reg = gen_reg_rtx (Pmode);
{
if (TARGET_64BIT)
error ("use of %<long%> in AltiVec types is invalid for "
- "64-bit code without -mvsx");
+ "64-bit code without %qs", "-mvsx");
else if (rs6000_warn_altivec_long)
warning (0, "use of %<long%> in AltiVec types is deprecated; "
"use %<int%>");
}
else if (type == long_long_unsigned_type_node
|| type == long_long_integer_type_node)
- error ("use of %<long long%> in AltiVec types is invalid without "
+ error ("use of %<long long%> in AltiVec types is invalid without %qs",
"-mvsx");
else if (type == double_type_node)
- error ("use of %<double%> in AltiVec types is invalid without -mvsx");
+ error ("use of %<double%> in AltiVec types is invalid without %qs",
+ "-mvsx");
}
switch (altivec_type)
}
if (cpu_opt)
- error ("invalid cpu \"%s\" for %s\"%s\"%s", cpu_opt, eprefix,
+ error ("invalid cpu %qs for %s%qs%s", cpu_opt, eprefix,
q, esuffix);
else if (not_valid_p)
- error ("%s\"%s\"%s is not allowed", eprefix, q, esuffix);
+ error ("%s%qs%s is not allowed", eprefix, q, esuffix);
else
- error ("%s\"%s\"%s is invalid", eprefix, q, esuffix);
+ error ("%s%qs%s is invalid", eprefix, q, esuffix);
}
}
}
if ((set_flags & rs6000_opt_masks[j].mask) != 0)
{
set_flags &= ~rs6000_opt_masks[j].mask;
- error ("-mno-%s turns off -m%s",
+ error ("%<-mno-%s%> turns off %<-m%s%>",
flags[i].name,
rs6000_opt_masks[j].name);
}
&& (rs6000_isa_flags_explicit & OPTION_MASK_P9_VECTOR) != 0
&& TARGET_P9_DFORM_BOTH > 0)
{
- error ("-mno-power9-vector turns off -mpower9-dform");
+ error ("%qs turns off %qs", "-mno-power9-vector", "-mpower9-dform");
TARGET_P9_DFORM_BOTH = 0;
}
else \
{ \
rs6000_current_abi = ABI_V4; \
- error ("bad value for -mcall-%s", rs6000_abi_name); \
+ error ("bad value for %<%s-%s%>", "-mcall", rs6000_abi_name); \
} \
\
if (rs6000_sdata_name) \
else if (!strcmp (rs6000_sdata_name, "eabi")) \
rs6000_sdata = SDATA_EABI; \
else \
- error ("bad value for -msdata=%s", rs6000_sdata_name); \
+ error ("bad value for %<%s=%s%>", "-msdata", rs6000_sdata_name);\
} \
else if (DEFAULT_ABI == ABI_V4) \
{ \
(rs6000_sdata == SDATA_EABI || rs6000_sdata == SDATA_SYSV)) \
{ \
rs6000_sdata = SDATA_DATA; \
- error ("-mrelocatable and -msdata=%s are incompatible", \
- rs6000_sdata_name); \
+ error ("%qs and %<%s=%s%> are incompatible", rs6000_sdata_name, \
+ "-mrelocatable", "-msdata"); \
} \
\
else if (flag_pic && DEFAULT_ABI == ABI_V4 \
|| rs6000_sdata == SDATA_SYSV)) \
{ \
rs6000_sdata = SDATA_DATA; \
- error ("-f%s and -msdata=%s are incompatible", \
+ error ("%<-f%s%> and %<%s=%s%> are incompatible", \
(flag_pic > 1) ? "PIC" : "pic", \
- rs6000_sdata_name); \
+ "-msdata", rs6000_sdata_name); \
} \
\
if ((rs6000_sdata != SDATA_NONE && DEFAULT_ABI != ABI_V4) \
|| (rs6000_sdata == SDATA_EABI && !TARGET_EABI)) \
{ \
rs6000_sdata = SDATA_NONE; \
- error ("-msdata=%s and -mcall-%s are incompatible", \
- rs6000_sdata_name, rs6000_abi_name); \
+ error ("%<%s=%s%> and %<%s-%s%> are incompatible", \
+ "-msdata", "-mcall", rs6000_sdata_name, rs6000_abi_name); \
} \
\
targetm.have_srodata_section = rs6000_sdata == SDATA_EABI; \
if (TARGET_RELOCATABLE && !TARGET_MINIMAL_TOC) \
{ \
rs6000_isa_flags |= OPTION_MASK_MINIMAL_TOC; \
- error ("-mrelocatable and -mno-minimal-toc are incompatible"); \
+ error ("%qs and %qs are incompatible", "-mrelocatable", \
+ "-mno-minimal-toc"); \
} \
\
if (TARGET_RELOCATABLE && rs6000_current_abi != ABI_V4) \
{ \
rs6000_isa_flags &= ~OPTION_MASK_RELOCATABLE; \
- error ("-mrelocatable and -mcall-%s are incompatible", \
- rs6000_abi_name); \
+ error ("%qs and %<%s-%s%> are incompatible", \
+ "-mrelocatable", "-mcall", rs6000_abi_name); \
} \
\
if (!TARGET_64BIT && flag_pic > 1 && rs6000_current_abi != ABI_V4) \
{ \
flag_pic = 0; \
- error ("-fPIC and -mcall-%s are incompatible", \
- rs6000_abi_name); \
+ error ("%qs and %<%s-%s%> are incompatible", \
+ "-fPIC", "-mcall", rs6000_abi_name); \
} \
\
if (TARGET_SECURE_PLT != secure_plt) \
{ \
- error ("-msecure-plt not supported by your assembler"); \
+ error ("%qs not supported by your assembler", "-msecure-plt"); \
} \
\
if (flag_pic > 1 && DEFAULT_ABI == ABI_V4) \
# define SUBSUBTARGET_OVERRIDE_OPTIONS \
do { \
if ((TARGET_DEFAULT ^ rs6000_isa_flags) & OPTION_MASK_64BIT) \
- error ("-m%s not supported in this configuration", \
+ error ("%<-m%s%> not supported in this configuration", \
(rs6000_isa_flags & OPTION_MASK_64BIT) ? "64" : "32"); \
} while (0)
#endif
+2017-08-14 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
+
+ PR target/79845
+ * g++.dg/ext/altivec-cell-5.C: Adjust diagnostic strings.
+ * gcc.target/powerpc/altivec-cell-5.c: Likewise.
+ * gcc.target/powerpc/bfp/scalar-cmp-exp-eq-2.c: Likewise.
+ * gcc.target/powerpc/bfp/scalar-cmp-exp-gt-2.c: Likewise.
+ * gcc.target/powerpc/bfp/scalar-cmp-exp-lt-2.c: Likewise.
+ * gcc.target/powerpc/bfp/scalar-cmp-exp-unordered-2.c: Likewise.
+ * gcc.target/powerpc/bfp/scalar-extract-exp-1.c: Likewise.
+ * gcc.target/powerpc/bfp/scalar-extract-exp-2.c: Likewise.
+ * gcc.target/powerpc/bfp/scalar-extract-exp-4.c: Likewise.
+ * gcc.target/powerpc/bfp/scalar-extract-exp-5.c: Likewise.
+ * gcc.target/powerpc/bfp/scalar-extract-sig-1.c: Likewise.
+ * gcc.target/powerpc/bfp/scalar-extract-sig-2.c: Likewise.
+ * gcc.target/powerpc/bfp/scalar-extract-sig-4.c: Likewise.
+ * gcc.target/powerpc/bfp/scalar-extract-sig-5.c: Likewise.
+ * gcc.target/powerpc/bfp/scalar-insert-exp-1.c: Likewise.
+ * gcc.target/powerpc/bfp/scalar-insert-exp-10.c: Likewise.
+ * gcc.target/powerpc/bfp/scalar-insert-exp-11.c: Likewise.
+ * gcc.target/powerpc/bfp/scalar-insert-exp-2.c: Likewise.
+ * gcc.target/powerpc/bfp/scalar-insert-exp-4.c: Likewise.
+ * gcc.target/powerpc/bfp/scalar-insert-exp-5.c: Likewise.
+ * gcc.target/powerpc/bfp/scalar-insert-exp-7.c: Likewise.
+ * gcc.target/powerpc/bfp/scalar-insert-exp-8.c: Likewise.
+ * gcc.target/powerpc/bfp/scalar-test-data-class-11.c: Likewise.
+ * gcc.target/powerpc/bfp/scalar-test-data-class-6.c: Likewise.
+ * gcc.target/powerpc/bfp/scalar-test-data-class-7.c: Likewise.
+ * gcc.target/powerpc/bfp/scalar-test-neg-2.c: Likewise.
+ * gcc.target/powerpc/bfp/scalar-test-neg-3.c: Likewise.
+ * gcc.target/powerpc/bfp/scalar-test-neg-5.c: Likewise.
+ * gcc.target/powerpc/bfp/vec-extract-exp-2.c: Likewise.
+ * gcc.target/powerpc/bfp/vec-extract-exp-3.c: Likewise.
+ * gcc.target/powerpc/bfp/vec-extract-sig-2.c: Likewise.
+ * gcc.target/powerpc/bfp/vec-extract-sig-3.c: Likewise.
+ * gcc.target/powerpc/bfp/vec-insert-exp-2.c: Likewise.
+ * gcc.target/powerpc/bfp/vec-insert-exp-3.c: Likewise.
+ * gcc.target/powerpc/bfp/vec-insert-exp-6.c: Likewise.
+ * gcc.target/powerpc/bfp/vec-insert-exp-7.c: Likewise.
+ * gcc.target/powerpc/bfp/vec-test-data-class-2.c: Likewise.
+ * gcc.target/powerpc/bfp/vec-test-data-class-3.c: Likewise.
+ * gcc.target/powerpc/byte-in-either-range-1.c: Likewise.
+ * gcc.target/powerpc/byte-in-range-1.c: Likewise.
+ * gcc.target/powerpc/byte-in-set-1.c: Likewise.
+ * gcc.target/powerpc/byte-in-set-2.c: Likewise.
+ * gcc.target/powerpc/cmpb-3.c: Likewise.
+ * gcc.target/powerpc/crypto-builtin-2.c: Likewise.
+ * gcc.target/powerpc/dfp/dtstsfi-1.c: Likewise.
+ * gcc.target/powerpc/dfp/dtstsfi-11.c: Likewise.
+ * gcc.target/powerpc/dfp/dtstsfi-16.c: Likewise.
+ * gcc.target/powerpc/dfp/dtstsfi-21.c: Likewise.
+ * gcc.target/powerpc/dfp/dtstsfi-26.c: Likewise.
+ * gcc.target/powerpc/dfp/dtstsfi-31.c: Likewise.
+ * gcc.target/powerpc/dfp/dtstsfi-36.c: Likewise.
+ * gcc.target/powerpc/dfp/dtstsfi-41.c: Likewise.
+ * gcc.target/powerpc/dfp/dtstsfi-46.c: Likewise.
+ * gcc.target/powerpc/dfp/dtstsfi-51.c: Likewise.
+ * gcc.target/powerpc/dfp/dtstsfi-56.c: Likewise.
+ * gcc.target/powerpc/dfp/dtstsfi-6.c: Likewise.
+ * gcc.target/powerpc/dfp/dtstsfi-61.c: Likewise.
+ * gcc.target/powerpc/dfp/dtstsfi-66.c: Likewise.
+ * gcc.target/powerpc/dfp/dtstsfi-71.c: Likewise.
+ * gcc.target/powerpc/dfp/dtstsfi-76.c: Likewise.
+ * gcc.target/powerpc/no-r11-3.c: Likewise.
+ * gcc.target/powerpc/pr80098-1.c: Likewise.
+ * gcc.target/powerpc/pr80098-2.c: Likewise.
+ * gcc.target/powerpc/pr80098-3.c: Likewise.
+ * gcc.target/powerpc/pr80098-4.c: Likewise.
+ * gcc.target/powerpc/vsu/vec-all-nez-7.c: Likewise.
+ * gcc.target/powerpc/vsu/vec-any-eqz-7.c: Likewise.
+ * gcc.target/powerpc/vsu/vec-cmpnez-7.c: Likewise.
+ * gcc.target/powerpc/vsu/vec-cntlz-lsbb-2.c: Likewise.
+ * gcc.target/powerpc/vsu/vec-cnttz-lsbb-2.c: Likewise.
+ * gcc.target/powerpc/vsu/vec-xl-len-12.c: Likewise.
+ * gcc.target/powerpc/vsu/vec-xl-len-13.c: Likewise.
+ * gcc.target/powerpc/vsu/vec-xlx-7.c: Likewise.
+ * gcc.target/powerpc/vsu/vec-xrx-7.c: Likewise.
+ * gcc.target/powerpc/vsu/vec-xst-len-12.c: Likewise.
+ * gcc.target/powerpc/vsu/vec-xst-len-13.c: Likewise.
+
2017-08-14 Bin Cheng <bin.cheng@arm.com>
PR tree-optimization/81799
int main(int argc, char **argv)
{
vector float t;
- vec_promote(); /* { dg-error "vec_promote only accepts 2" } */
- vec_promote(1.0f); /* { dg-error "vec_promote only accepts 2" } */
- vec_promote(1.0f, 2, 3); /* { dg-error "vec_promote only accepts 2" } */
- vec_extract (); /* { dg-error "vec_extract only accepts 2" } */
- vec_extract (t); /* { dg-error "vec_extract only accepts 2" } */
+ vec_promote(); /* { dg-error "builtin 'vec_promote' only accepts 2" } */
+ vec_promote(1.0f); /* { dg-error "builtin 'vec_promote' only accepts 2" } */
+ vec_promote(1.0f, 2, 3); /* { dg-error "builtin 'vec_promote' only accepts 2" } */
+ vec_extract (); /* { dg-error "builtin 'vec_extract' only accepts 2" } */
+ vec_extract (t); /* { dg-error "builtin 'vec_extract' only accepts 2" } */
vec_extract (t, 2);
- vec_extract (t, 2, 5, 6); /* { dg-error "vec_extract only accepts 2" } */
- vec_splats (); /* { dg-error "vec_splats only accepts 1" } */
- vec_splats (t, 3); /* { dg-error "vec_splats only accepts 1" } */
- vec_insert (); /* { dg-error "vec_insert only accepts 3" } */
- vec_insert (t); /* { dg-error "vec_insert only accepts 3" } */
- vec_insert (t, 3); /* { dg-error "vec_insert only accepts 3" } */
- vec_insert (t, 3, 2, 4, 6, 6); /* { dg-error "vec_insert only accepts 3" } */
+ vec_extract (t, 2, 5, 6); /* { dg-error "builtin 'vec_extract' only accepts 2" } */
+ vec_splats (); /* { dg-error "builtin 'vec_splats' only accepts 1" } */
+ vec_splats (t, 3); /* { dg-error "builtin 'vec_splats' only accepts 1" } */
+ vec_insert (); /* { dg-error "builtin 'vec_insert' only accepts 3" } */
+ vec_insert (t); /* { dg-error "builtin 'vec_insert' only accepts 3" } */
+ vec_insert (t, 3); /* { dg-error "builtin 'vec_insert' only accepts 3" } */
+ vec_insert (t, 3, 2, 4, 6, 6); /* { dg-error "builtin 'vec_insert' only accepts 3" } */
return 0;
}
int main(int argc, char **argv)
{
vector float t;
- vec_promote(); /* { dg-error "vec_promote only accepts 2" } */
- vec_promote(1.0f); /* { dg-error "vec_promote only accepts 2" } */
- vec_promote(1.0f, 2, 3); /* { dg-error "vec_promote only accepts 2" } */
- vec_extract (); /* { dg-error "vec_extract only accepts 2" } */
- vec_extract (t); /* { dg-error "vec_extract only accepts 2" } */
+ vec_promote(); /* { dg-error "builtin 'vec_promote' only accepts 2" } */
+ vec_promote(1.0f); /* { dg-error "builtin 'vec_promote' only accepts 2" } */
+ vec_promote(1.0f, 2, 3); /* { dg-error "builtin 'vec_promote' only accepts 2" } */
+ vec_extract (); /* { dg-error "builtin 'vec_extract' only accepts 2" } */
+ vec_extract (t); /* { dg-error "builtin 'vec_extract' only accepts 2" } */
vec_extract (t, 2);
- vec_extract (t, 2, 5, 6); /* { dg-error "vec_extract only accepts 2" } */
- vec_splats (); /* { dg-error "vec_splats only accepts 1" } */
- vec_splats (t, 3); /* { dg-error "vec_splats only accepts 1" } */
- vec_insert (); /* { dg-error "vec_insert only accepts 3" } */
- vec_insert (t); /* { dg-error "vec_insert only accepts 3" } */
- vec_insert (t, 3); /* { dg-error "vec_insert only accepts 3" } */
- vec_insert (t, 3, 2, 4, 6, 6); /* { dg-error "vec_insert only accepts 3" } */
+ vec_extract (t, 2, 5, 6); /* { dg-error "builtin 'vec_extract' only accepts 2" } */
+ vec_splats (); /* { dg-error "builtin 'vec_splats' only accepts 1" } */
+ vec_splats (t, 3); /* { dg-error "builtin 'vec_splats' only accepts 1" } */
+ vec_insert (); /* { dg-error "builtin 'vec_insert' only accepts 3" } */
+ vec_insert (t); /* { dg-error "builtin 'vec_insert' only accepts 3" } */
+ vec_insert (t, 3); /* { dg-error "builtin 'vec_insert' only accepts 3" } */
+ vec_insert (t, 3, 2, 4, 6, 6); /* { dg-error "builtin 'vec_insert' only accepts 3" } */
return 0;
}
double exponent1 = *exponent1_p;
double exponent2 = *exponent2_p;
- return __builtin_vec_scalar_cmp_exp_eq (exponent1, exponent2); /* { dg-error "builtin function __builtin_vsx_scalar_cmp_exp_dp_eq requires" } */
+ return __builtin_vec_scalar_cmp_exp_eq (exponent1, exponent2); /* { dg-error "builtin function '__builtin_vsx_scalar_cmp_exp_dp_eq' requires" } */
}
double exponent1 = *exponent1_p;
double exponent2 = *exponent2_p;
- return __builtin_vec_scalar_cmp_exp_gt (exponent1, exponent2); /* { dg-error "builtin function __builtin_vsx_scalar_cmp_exp_dp_gt requires" } */
+ return __builtin_vec_scalar_cmp_exp_gt (exponent1, exponent2); /* { dg-error "builtin function '__builtin_vsx_scalar_cmp_exp_dp_gt' requires" } */
}
double exponent1 = *exponent1_p;
double exponent2 = *exponent2_p;
- return __builtin_vec_scalar_cmp_exp_lt (exponent1, exponent2); /* { dg-error "builtin function __builtin_vsx_scalar_cmp_exp_dp_lt requires" } */
+ return __builtin_vec_scalar_cmp_exp_lt (exponent1, exponent2); /* { dg-error "builtin function '__builtin_vsx_scalar_cmp_exp_dp_lt' requires" } */
}
double exponent1 = *exponent1_p;
double exponent2 = *exponent2_p;
- return __builtin_vec_scalar_cmp_exp_unordered (exponent1, exponent2); /* { dg-error "builtin function __builtin_vsx_scalar_cmp_exp_dp_unordered requires" } */
+ return __builtin_vec_scalar_cmp_exp_unordered (exponent1, exponent2); /* { dg-error "builtin function '__builtin_vsx_scalar_cmp_exp_dp_unordered' requires" } */
}
{
double source = *p;
- return __builtin_vec_scalar_extract_exp (source); /* { dg-error "builtin function __builtin_vsx_scalar_extract_exp requires" } */
+ return __builtin_vec_scalar_extract_exp (source); /* { dg-error "builtin function '__builtin_vsx_scalar_extract_exp' requires" } */
}
{
double source = *p;
- return scalar_extract_exp (source); /* { dg-error "builtin function __builtin_vec_scalar_extract_exp not supported in this compiler configuration" } */
+ return scalar_extract_exp (source); /* { dg-error "builtin function '__builtin_vec_scalar_extract_exp' not supported in this compiler configuration" } */
}
{
__ieee128 source = *p;
- return __builtin_vec_scalar_extract_exp (source); /* { dg-error "builtin function __builtin_vsx_scalar_extract_expq requires" } */
+ return __builtin_vec_scalar_extract_exp (source); /* { dg-error "builtin function '__builtin_vsx_scalar_extract_expq' requires" } */
}
{
__ieee128 source = *p;
- return scalar_extract_exp (source); /* { dg-error "builtin function __builtin_vec_scalar_extract_exp not supported in this compiler configuration" } */
+ return scalar_extract_exp (source); /* { dg-error "builtin function '__builtin_vec_scalar_extract_exp' not supported in this compiler configuration" } */
}
{
double source = *p;
- return __builtin_vec_scalar_extract_sig (source); /* { dg-error "builtin function __builtin_vsx_scalar_extract_sig requires" } */
+ return __builtin_vec_scalar_extract_sig (source); /* { dg-error "builtin function '__builtin_vsx_scalar_extract_sig' requires" } */
}
{
double source = *p;
- return __builtin_vec_scalar_extract_sig (source); /* { dg-error "builtin function __builtin_vec_scalar_extract_sig not supported in this compiler configuration" } */
+ return __builtin_vec_scalar_extract_sig (source); /* { dg-error "builtin function '__builtin_vec_scalar_extract_sig' not supported in this compiler configuration" } */
}
{
__ieee128 source = *p;
- return __builtin_vec_scalar_extract_sig (source); /* { dg-error "builtin function __builtin_vsx_scalar_extract_sigq requires" } */
+ return __builtin_vec_scalar_extract_sig (source); /* { dg-error "builtin function '__builtin_vsx_scalar_extract_sigq' requires" } */
}
{
__ieee128 source = *p;
- return __builtin_vec_scalar_extract_sig (source); /* { dg-error "builtin function __builtin_vec_scalar_extract_sig not supported in this compiler configuration" } */
+ return __builtin_vec_scalar_extract_sig (source); /* { dg-error "builtin function '__builtin_vec_scalar_extract_sig' not supported in this compiler configuration" } */
}
unsigned long long int significand = *significand_p;
unsigned long long int exponent = *exponent_p;
- return __builtin_vec_scalar_insert_exp (significand, exponent); /* { dg-error "builtin function __builtin_vsx_scalar_insert_exp requires" } */
+ return __builtin_vec_scalar_insert_exp (significand, exponent); /* { dg-error "builtin function '__builtin_vsx_scalar_insert_exp' requires" } */
}
__ieee128 significand = *significand_p;
unsigned long long int exponent = *exponent_p;
- return __builtin_vec_scalar_insert_exp (significand, exponent); /* { dg-error "builtin function __builtin_vsx_scalar_insert_exp_qp requires" } */
+ return __builtin_vec_scalar_insert_exp (significand, exponent); /* { dg-error "builtin function '__builtin_vsx_scalar_insert_exp_qp' requires" } */
}
__ieee128 significand = *significand_p;
unsigned long long int exponent = *exponent_p;
- return scalar_insert_exp (significand, exponent); /* { dg-error "builtin function __builtin_vec_scalar_insert_exp not supported in this compiler configuration" } */
+ return scalar_insert_exp (significand, exponent); /* { dg-error "builtin function '__builtin_vec_scalar_insert_exp' not supported in this compiler configuration" } */
}
unsigned long long int significand = *significand_p;
unsigned long long int exponent = *exponent_p;
- return scalar_insert_exp (significand, exponent); /* { dg-error "builtin function __builtin_vec_scalar_insert_exp not supported in this compiler configuration" } */
+ return scalar_insert_exp (significand, exponent); /* { dg-error "builtin function '__builtin_vec_scalar_insert_exp' not supported in this compiler configuration" } */
}
double significand = *significand_p;
unsigned long long int exponent = *exponent_p;
- return __builtin_vec_scalar_insert_exp (significand, exponent); /* { dg-error "builtin function __builtin_vsx_scalar_insert_exp_dp requires" } */
+ return __builtin_vec_scalar_insert_exp (significand, exponent); /* { dg-error "builtin function '__builtin_vsx_scalar_insert_exp_dp' requires" } */
}
double significand = *significand_p;
unsigned long long int exponent = *exponent_p;
- return scalar_insert_exp (significand, exponent); /* { dg-error "builtin function __builtin_vec_scalar_insert_exp not supported in this compiler configuration" } */
+ return scalar_insert_exp (significand, exponent); /* { dg-error "builtin function '__builtin_vec_scalar_insert_exp' not supported in this compiler configuration" } */
}
unsigned __int128 significand = *significand_p;
unsigned long long int exponent = *exponent_p;
- return __builtin_vec_scalar_insert_exp (significand, exponent); /* { dg-error "builtin function __builtin_vsx_scalar_insert_exp_q requires" } */
+ return __builtin_vec_scalar_insert_exp (significand, exponent); /* { dg-error "builtin function '__builtin_vsx_scalar_insert_exp_q' requires" } */
}
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 function __builtin_vec_scalar_insert_exp not supported in this compiler configuration" } */
+ return scalar_insert_exp (significand, exponent); /* { dg-error "builtin function '__builtin_vec_scalar_insert_exp' not supported in this compiler configuration" } */
}
{
__ieee128 source = *p;
- return __builtin_vec_scalar_test_data_class (source, 3); /* { dg-error "builtin function __builtin_vsx_scalar_test_data_class_qp requires" } */
+ return __builtin_vec_scalar_test_data_class (source, 3); /* { dg-error "builtin function '__builtin_vsx_scalar_test_data_class_qp' requires" } */
}
{
double source = *p;
- return __builtin_vec_scalar_test_data_class (source, 3); /* { dg-error "builtin function __builtin_vsx_scalar_test_data_class_dp requires" } */
+ return __builtin_vec_scalar_test_data_class (source, 3); /* { dg-error "builtin function '__builtin_vsx_scalar_test_data_class_dp' requires" } */
}
{
float source = *p;
- return __builtin_vec_scalar_test_data_class (source, 3); /* { dg-error "builtin function __builtin_vsx_scalar_test_data_class_sp requires" } */
+ return __builtin_vec_scalar_test_data_class (source, 3); /* { dg-error "builtin function '__builtin_vsx_scalar_test_data_class_sp' requires" } */
}
{
float source = *p;
- return __builtin_vec_scalar_test_neg_sp (source); /* { dg-error "builtin function __builtin_vsx_scalar_test_neg_sp requires" } */
+ return __builtin_vec_scalar_test_neg_sp (source); /* { dg-error "builtin function '__builtin_vsx_scalar_test_neg_sp' requires" } */
}
{
double source = *p;
- return __builtin_vec_scalar_test_neg_dp (source); /* { dg-error "builtin function __builtin_vsx_scalar_test_neg_dp requires" } */
+ return __builtin_vec_scalar_test_neg_dp (source); /* { dg-error "builtin function '__builtin_vsx_scalar_test_neg_dp' requires" } */
}
{
__ieee128 source = *p;
- return __builtin_vec_scalar_test_neg_qp (source); /* { dg-error "builtin function __builtin_vsx_scalar_test_neg_qp requires" } */
+ return __builtin_vec_scalar_test_neg_qp (source); /* { dg-error "builtin function '__builtin_vsx_scalar_test_neg_qp' requires" } */
}
{
__vector double source = *p;
- return __builtin_vec_extract_exp (source); /* { dg-error "builtin function __builtin_vsx_extract_exp_dp requires" } */
+ return __builtin_vec_extract_exp (source); /* { dg-error "builtin function '__builtin_vsx_extract_exp_dp' requires" } */
}
{
__vector float source = *p;
- return __builtin_vec_extract_exp (source); /* { dg-error "builtin function __builtin_vsx_extract_exp_sp requires" } */
+ return __builtin_vec_extract_exp (source); /* { dg-error "builtin function '__builtin_vsx_extract_exp_sp' requires" } */
}
{
__vector double source = *p;
- return __builtin_vec_extract_sig (source); /* { dg-error "builtin function __builtin_vsx_extract_sig_dp requires" } */
+ return __builtin_vec_extract_sig (source); /* { dg-error "builtin function '__builtin_vsx_extract_sig_dp' requires" } */
}
{
__vector float source = *p;
- return __builtin_vec_extract_sig (source); /* { dg-error "builtin function __builtin_vsx_extract_sig_sp requires" } */
+ return __builtin_vec_extract_sig (source); /* { dg-error "builtin function '__builtin_vsx_extract_sig_sp' requires" } */
}
__vector unsigned int significands = *significands_p;
__vector unsigned int exponents = *exponents_p;
- return __builtin_vec_insert_exp (significands, exponents); /* { dg-error "builtin function __builtin_vsx_insert_exp_sp requires" } */
+ return __builtin_vec_insert_exp (significands, exponents); /* { dg-error "builtin function '__builtin_vsx_insert_exp_sp' requires" } */
}
__vector unsigned long long int significands = *significands_p;
__vector unsigned long long int exponents = *exponents_p;
- return __builtin_vec_insert_exp (significands, exponents); /* { dg-error "builtin function __builtin_vsx_insert_exp_dp requires" } */
+ return __builtin_vec_insert_exp (significands, exponents); /* { dg-error "builtin function '__builtin_vsx_insert_exp_dp' requires" } */
}
__vector float significands = *significands_p;
__vector unsigned int exponents = *exponents_p;
- return __builtin_vec_insert_exp (significands, exponents); /* { dg-error "builtin function __builtin_vsx_insert_exp_sp requires" } */
+ return __builtin_vec_insert_exp (significands, exponents); /* { dg-error "builtin function '__builtin_vsx_insert_exp_sp' requires" } */
}
__vector double significands = *significands_p;
__vector unsigned long long int exponents = *exponents_p;
- return __builtin_vec_insert_exp (significands, exponents); /* { dg-error "builtin function __builtin_vsx_insert_exp_dp requires" } */
+ return __builtin_vec_insert_exp (significands, exponents); /* { dg-error "builtin function '__builtin_vsx_insert_exp_dp' requires" } */
}
{
__vector double source = *p;
- return __builtin_vec_test_data_class (source, 0x37); /* { dg-error "builtin function __builtin_vsx_test_data_class_dp requires" } */
+ return __builtin_vec_test_data_class (source, 0x37); /* { dg-error "builtin function '__builtin_vsx_test_data_class_dp' requires" } */
}
{
__vector float source = *p;
- return __builtin_vec_test_data_class (source, 0x37); /* { dg-error "builtin function __builtin_vsx_test_data_class_sp requires" } */
+ return __builtin_vec_test_data_class (source, 0x37); /* { dg-error "builtin function '__builtin_vsx_test_data_class_sp' requires" } */
}
range_encoding = ((first_hi_bound << 24) | (first_lo_bound << 16)
| (second_hi_bound << 8) | second_lo_bound);
- return __builtin_byte_in_either_range (b, range_encoding); /* { dg-error "builtin function __builtin_scalar_byte_in_either_range requires" } */
+ return __builtin_byte_in_either_range (b, range_encoding); /* { dg-error "builtin function '__builtin_scalar_byte_in_either_range' requires" } */
}
unsigned char low_range, unsigned char high_range)
{
unsigned int range_encoding = (high_range << 8) | low_range;
- return __builtin_byte_in_range (b, range_encoding); /* { dg-error "builtin function __builtin_scalar_byte_in_range requires" } */
+ return __builtin_byte_in_range (b, range_encoding); /* { dg-error "builtin function '__builtin_scalar_byte_in_range' requires" } */
}
int
test_byte_in_set (unsigned char b, unsigned long long set_members)
{
- return __builtin_byte_in_set (b, set_members); /* { dg-error "builtin function __builtin_scalar_byte_in_set requires" } */
+ return __builtin_byte_in_set (b, set_members); /* { dg-error "builtin function '__builtin_scalar_byte_in_set' requires" } */
}
int
test_byte_in_set (unsigned char b, unsigned long long set_members)
{
- return __builtin_byte_in_set (b, set_members); /* { dg-error "builtin function __builtin_byte_in_set not supported in this compiler configuration" } */
+ return __builtin_byte_in_set (b, set_members); /* { dg-error "builtin function '__builtin_byte_in_set' not supported in this compiler configuration" } */
}
long long int
do_compare (long long int a, long long int b)
{
- return __builtin_cmpb (a, b); /* { dg-error "builtin function __builtin_cmpb not supported in this compiler configuration" } */
+ return __builtin_cmpb (a, b); /* { dg-error "builtin function '__builtin_cmpb' not supported in this compiler configuration" } */
}
void expect (long long int pattern, long long int value)
void use_builtins_d (__vector unsigned long long *p, __vector unsigned long long *q, __vector unsigned long long *r, __vector unsigned long long *s)
{
- p[0] = __builtin_crypto_vcipher (q[0], r[0]); /* { dg-error "builtin function __builtin_crypto_vcipher is not supported with the current options" } */
- p[1] = __builtin_crypto_vcipherlast (q[1], r[1]); /* { dg-error "builtin function __builtin_crypto_vcipherlast is not supported with the current options" } */
- p[2] = __builtin_crypto_vncipher (q[2], r[2]); /* { dg-error "builtin function __builtin_crypto_vncipher is not supported with the current options" } */
- p[3] = __builtin_crypto_vncipherlast (q[3], r[3]); /* { dg-error "builtin function __builtin_crypto_vncipherlast is not supported with the current options" } */
+ p[0] = __builtin_crypto_vcipher (q[0], r[0]); /* { dg-error "builtin function '__builtin_crypto_vcipher' is not supported with the current options" } */
+ p[1] = __builtin_crypto_vcipherlast (q[1], r[1]); /* { dg-error "builtin function '__builtin_crypto_vcipherlast' is not supported with the current options" } */
+ p[2] = __builtin_crypto_vncipher (q[2], r[2]); /* { dg-error "builtin function '__builtin_crypto_vncipher' is not supported with the current options" } */
+ p[3] = __builtin_crypto_vncipherlast (q[3], r[3]); /* { dg-error "builtin function '__builtin_crypto_vncipherlast' is not supported with the current options" } */
p[4] = __builtin_crypto_vpermxor (q[4], r[4], s[4]);
p[5] = __builtin_crypto_vpmsumd (q[5], r[5]);
- p[6] = __builtin_crypto_vshasigmad (q[6], 1, 15); /* { dg-error "builtin function __builtin_crypto_vshasigmad is not supported with the current options" } */
- p[7] = __builtin_crypto_vsbox (q[7]); /* { dg-error "builtin function __builtin_crypto_vsbox is not supported with the current options" } */
+ p[6] = __builtin_crypto_vshasigmad (q[6], 1, 15); /* { dg-error "builtin function '__builtin_crypto_vshasigmad' is not supported with the current options" } */
+ p[7] = __builtin_crypto_vsbox (q[7]); /* { dg-error "builtin function '__builtin_crypto_vsbox' is not supported with the current options" } */
}
void use_builtins_w (__vector unsigned int *p, __vector unsigned int *q, __vector unsigned int *r, __vector unsigned int *s)
{
p[0] = __builtin_crypto_vpermxor (q[0], r[0], s[0]);
p[1] = __builtin_crypto_vpmsumw (q[1], r[1]);
- p[2] = __builtin_crypto_vshasigmaw (q[2], 1, 15); /* { dg-error "builtin function __builtin_crypto_vshasigmaw is not supported with the current options" } */
+ p[2] = __builtin_crypto_vshasigmaw (q[2], 1, 15); /* { dg-error "builtin function '__builtin_crypto_vshasigmaw' is not supported with the current options" } */
}
void use_builtins_h (__vector unsigned short *p, __vector unsigned short *q, __vector unsigned short *r, __vector unsigned short *s)
{
_Decimal64 source = *p;
- return __builtin_dfp_dtstsfi_lt (5, source); /* { dg-error "builtin function __builtin_dtstsfi_lt_dd requires" } */
+ return __builtin_dfp_dtstsfi_lt (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_lt_dd' requires" } */
}
{
_Decimal64 source = *p;
- return __builtin_dfp_dtstsfi_lt_dd (5, source); /* { dg-error "builtin function __builtin_dtstsfi_lt_dd requires" } */
+ return __builtin_dfp_dtstsfi_lt_dd (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_lt_dd' requires" } */
}
{
_Decimal128 source = *p;
- return __builtin_dfp_dtstsfi_lt_td (5, source); /* { dg-error "builtin function __builtin_dtstsfi_lt_td requires" } */
+ return __builtin_dfp_dtstsfi_lt_td (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_lt_td' requires" } */
}
{
_Decimal64 source = *p;
- return __builtin_dfp_dtstsfi_gt (5, source); /* { dg-error "builtin function __builtin_dtstsfi_gt_dd requires" } */
+ return __builtin_dfp_dtstsfi_gt (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_gt_dd' requires" } */
}
{
_Decimal128 source = *p;
- return __builtin_dfp_dtstsfi_gt (5, source); /* { dg-error "builtin function __builtin_dtstsfi_gt_td requires" } */
+ return __builtin_dfp_dtstsfi_gt (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_gt_td' requires" } */
}
{
_Decimal64 source = *p;
- return __builtin_dfp_dtstsfi_gt_dd (5, source); /* { dg-error "builtin function __builtin_dtstsfi_gt_dd requires" } */
+ return __builtin_dfp_dtstsfi_gt_dd (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_gt_dd' requires" } */
}
{
_Decimal128 source = *p;
- return __builtin_dfp_dtstsfi_gt_td (5, source); /* { dg-error "builtin function __builtin_dtstsfi_gt_td requires" } */
+ return __builtin_dfp_dtstsfi_gt_td (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_gt_td' requires" } */
}
{
_Decimal64 source = *p;
- return __builtin_dfp_dtstsfi_eq (5, source); /* { dg-error "builtin function __builtin_dtstsfi_eq_dd requires" } */
+ return __builtin_dfp_dtstsfi_eq (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_eq_dd' requires" } */
}
{
_Decimal128 source = *p;
- return __builtin_dfp_dtstsfi_eq (5, source); /* { dg-error "builtin function __builtin_dtstsfi_eq_td requires" } */
+ return __builtin_dfp_dtstsfi_eq (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_eq_td' requires" } */
}
{
_Decimal64 source = *p;
- return __builtin_dfp_dtstsfi_eq_dd (5, source); /* { dg-error "builtin function __builtin_dtstsfi_eq_dd requires" } */
+ return __builtin_dfp_dtstsfi_eq_dd (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_eq_dd' requires" } */
}
{
_Decimal128 source = *p;
- return __builtin_dfp_dtstsfi_eq_td (5, source); /* { dg-error "builtin function __builtin_dtstsfi_eq_td requires" } */
+ return __builtin_dfp_dtstsfi_eq_td (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_eq_td' requires" } */
}
{
_Decimal128 source = *p;
- return __builtin_dfp_dtstsfi_lt (5, source); /* { dg-error "builtin function __builtin_dtstsfi_lt_td requires" } */
+ return __builtin_dfp_dtstsfi_lt (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_lt_td' requires" } */
}
{
_Decimal64 source = *p;
- return __builtin_dfp_dtstsfi_ov (5, source); /* { dg-error "builtin function __builtin_dtstsfi_ov_dd requires" } */
+ return __builtin_dfp_dtstsfi_ov (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_ov_dd' requires" } */
}
{
_Decimal128 source = *p;
- return __builtin_dfp_dtstsfi_ov (5, source); /* { dg-error "builtin function __builtin_dtstsfi_ov_td requires" } */
+ return __builtin_dfp_dtstsfi_ov (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_ov_td' requires" } */
}
{
_Decimal64 source = *p;
- return __builtin_dfp_dtstsfi_ov_dd (5, source); /* { dg-error "builtin function __builtin_dtstsfi_ov_dd requires" } */
+ return __builtin_dfp_dtstsfi_ov_dd (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_ov_dd' requires" } */
}
{
_Decimal128 source = *p;
- return __builtin_dfp_dtstsfi_ov_td (5, source); /* { dg-error "builtin function __builtin_dtstsfi_ov_td requires" } */
+ return __builtin_dfp_dtstsfi_ov_td (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_ov_td' requires" } */
}
extern void ext_call (int (func) (void));
int
-outer_func (int init) /* { dg-error "-mno-pointers-to-nested-functions option" } */
+outer_func (int init) /* { dg-error "'-mno-pointers-to-nested-functions' option" } */
{
int value = init;
int i;
-/* { dg-error "-mno-power9-vector turns off -mpower9-minmax" "PR80098" { target *-*-* } 0 } */
-/* { dg-error "-mno-power9-vector turns off -mpower9-dform" "PR80098" { target *-*-* } 0 } */
+/* { dg-error "'-mno-power9-vector' turns off '-mpower9-minmax'" "PR80098" { target *-*-* } 0 } */
+/* { dg-error "'-mno-power9-vector' turns off '-mpower9-dform'" "PR80098" { target *-*-* } 0 } */
int i;
-/* { dg-error "-mno-power8-vector turns off -mdirect-move" "PR80098" { target *-*-* } 0 } */
-/* { dg-error "-mno-power8-vector turns off -mcrypto" "PR80098" { target *-*-* } 0 } */
+/* { dg-error "'-mno-power8-vector' turns off '-mdirect-move'" "PR80098" { target *-*-* } 0 } */
+/* { dg-error "'-mno-power8-vector' turns off '-mcrypto'" "PR80098" { target *-*-* } 0 } */
int i;
-/* { dg-error "-mno-vsx turns off -mdirect-move" "PR80098" { target *-*-* } 0 } */
-/* { dg-error "-mno-vsx turns off -mcrypto" "PR80098" { target *-*-* } 0 } */
+/* { dg-error "'-mno-vsx' turns off '-mdirect-move'" "PR80098" { target *-*-* } 0 } */
+/* { dg-error "'-mno-vsx' turns off '-mcrypto'" "PR80098" { target *-*-* } 0 } */
int i;
-/* { dg-error "-mno-vsx turns off -mvsx-timode" "PR80098" { target *-*-* } 0 } */
+/* { dg-error "'-mno-vsx' turns off '-mvsx-timode'" "PR80098" { target *-*-* } 0 } */
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 function __builtin_vec_vcmpnez_p not supported in this compiler configuration" } */
+ return __builtin_vec_vcmpnez_p (__CR6_LT, arg_1, arg_2); /* { dg-error "builtin function '__builtin_vec_vcmpnez_p' not supported in this compiler configuration" } */
}
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 function __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 function '__builtin_vec_vcmpnez_p' not supported in this compiler configuration" } */
}
vector unsigned int arg_1 = *arg1_p;
vector unsigned int arg_2 = *arg2_p;
- return __builtin_vec_vcmpnez (arg_1, arg_2); /* { dg-error "builtin function __builtin_altivec_vcmpnezw requires the -mcpu=power9 option" } */
+ return __builtin_vec_vcmpnez (arg_1, arg_2); /* { dg-error "builtin function '__builtin_altivec_vcmpnezw' requires the '-mcpu=power9' option" } */
}
{
vector unsigned char arg_1 = *arg1_p;
- return __builtin_vec_vclzlsbb (arg_1); /* { dg-error "builtin function __builtin_altivec_vclzlsbb requires the -mcpu=power9 option" } */
+ return __builtin_vec_vclzlsbb (arg_1); /* { dg-error "builtin function '__builtin_altivec_vclzlsbb' requires the '-mcpu=power9' option" } */
}
{
vector unsigned char arg_1 = *arg1_p;
- return __builtin_vec_vctzlsbb (arg_1); /* { dg-error "builtin function __builtin_altivec_vctzlsbb requires the -mcpu=power9 option" } */
+ return __builtin_vec_vctzlsbb (arg_1); /* { dg-error "builtin function '__builtin_altivec_vctzlsbb' requires the '-mcpu=power9' option" } */
}
__vector float
fetch_data (float *address, size_t length)
{
- return __builtin_vec_lxvl (address, length); /* { dg-error "builtin function __builtin_vsx_lxvl requires" } */
+ return __builtin_vec_lxvl (address, length); /* { dg-error "builtin function '__builtin_vsx_lxvl' requires" } */
}
__vector float
fetch_data (float *address, size_t length)
{
- return __builtin_vec_lxvl (address, length); /* { dg-error "builtin function __builtin_vec_lxvl not supported in this compiler configuration" } */
+ return __builtin_vec_lxvl (address, length); /* { dg-error "builtin function '__builtin_vec_lxvl' not supported in this compiler configuration" } */
}
{
vector signed int data = *datap;
- return __builtin_vec_vextulx (offset, data); /* { dg-error "builtin function __builtin_altivec_vextuwlx requires" } */
+ return __builtin_vec_vextulx (offset, data); /* { dg-error "builtin function '__builtin_altivec_vextuwlx' requires" } */
}
{
vector signed short data = *datap;
- return __builtin_vec_vexturx (offset, data); /* { dg-error "builtin function __builtin_altivec_vextuhrx requires" } */
+ return __builtin_vec_vexturx (offset, data); /* { dg-error "builtin function '__builtin_altivec_vextuhrx' requires" } */
}
{
vector double data = *datap;
- __builtin_vec_stxvl (data, address, length); /* { dg-error "builtin function __builtin_vec_stxvl not supported in this compiler configuration" } */
+ __builtin_vec_stxvl (data, address, length); /* { dg-error "builtin function '__builtin_vec_stxvl' not supported in this compiler configuration" } */
}
{
vector double data = *datap;
- __builtin_vec_stxvl (data, address, length); /* { dg-error "builtin function __builtin_altivec_stxvl requires" } */
+ __builtin_vec_stxvl (data, address, length); /* { dg-error "builtin function '__builtin_altivec_stxvl' requires" } */
}