diff options
Diffstat (limited to 'gcc/config/aarch64/aarch64-builtins.c')
-rw-r--r-- | gcc/config/aarch64/aarch64-builtins.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/aarch64/aarch64-builtins.c b/gcc/config/aarch64/aarch64-builtins.c index f52f524e55e..e3779a499cb 100644 --- a/gcc/config/aarch64/aarch64-builtins.c +++ b/gcc/config/aarch64/aarch64-builtins.c @@ -926,8 +926,8 @@ aarch64_simd_expand_args (rtx target, int icode, int have_retval, if (!(*insn_data[icode].operand[opc].predicate) (op[opc], mode)) { - error_at (EXPR_LOCATION (exp), "incompatible type for argument %d, " - "expected %<const int%>", opc + 1); + error ("%Kargument %d must be a constant immediate", + exp, opc + 1 - have_retval); return const0_rtx; } break; |