From: Sandra Loosemore Date: Sat, 27 Oct 2018 21:34:43 +0000 (-0400) Subject: re PR target/80024 (nios2: unclear wording "numeric digits" in diagnostic) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6e0686e124ced6c306e2f3814b3557c892008071;p=gcc.git re PR target/80024 (nios2: unclear wording "numeric digits" in diagnostic) 2018-10-27 Sandra Loosemore PR target/80024 gcc/ * config/nios2/nios2.c (nios2_valid_target_attribute_rec): Fix error message. From-SVN: r265561 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6d4bd6b3f96..cc940c83feb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-10-27 Sandra Loosemore + + PR target/80024 + * config/nios2/nios2.c (nios2_valid_target_attribute_rec): Fix + error message. + 2018-10-26 Tulio Magno Quites Machado Filho * doc/extend.texi (PowerPC builtins): Fix __builtin_unpack_ibm128 diff --git a/gcc/config/nios2/nios2.c b/gcc/config/nios2/nios2.c index c57d6cdcb80..78d58582929 100644 --- a/gcc/config/nios2/nios2.c +++ b/gcc/config/nios2/nios2.c @@ -4264,8 +4264,8 @@ nios2_valid_target_attribute_rec (tree args) continue; if (!ISDIGIT (*t)) { - error ("`custom-%s=' argument requires " - "numeric digits", N2FPU_NAME (code)); + error ("% argument should be " + "a non-negative integer", N2FPU_NAME (code)); return false; } }