]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/80024 (nios2: unclear wording "numeric digits" in diagnostic)
authorSandra Loosemore <sandra@codesourcery.com>
Sat, 27 Oct 2018 21:34:43 +0000 (17:34 -0400)
committerSandra Loosemore <sandra@gcc.gnu.org>
Sat, 27 Oct 2018 21:34:43 +0000 (17:34 -0400)
2018-10-27  Sandra Loosemore  <sandra@codesourcery.com>

PR target/80024

gcc/
* config/nios2/nios2.c (nios2_valid_target_attribute_rec): Fix
error message.

From-SVN: r265561

gcc/ChangeLog
gcc/config/nios2/nios2.c

index 6d4bd6b3f96efab278a765bc9312e2e178c9d72d..cc940c83febbdde47fe4f29459daa9ef0ff1faca 100644 (file)
@@ -1,3 +1,9 @@
+2018-10-27  Sandra Loosemore  <sandra@codesourcery.com>
+
+       PR target/80024
+       * config/nios2/nios2.c (nios2_valid_target_attribute_rec): Fix
+       error message.
+
 2018-10-26  Tulio Magno Quites Machado Filho  <tuliom@linux.ibm.com>
 
        * doc/extend.texi (PowerPC builtins): Fix __builtin_unpack_ibm128
index c57d6cdcb8096b697de70d0da067914ec83c3f4e..78d58582929732892317cad76aab0ff9b463fd4e 100644 (file)
@@ -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 ("%<custom-%s=%> argument should be "
+                                    "a non-negative integer", N2FPU_NAME (code));
                              return false;
                            }
                        }