This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] fix error spelling in nds32.c (PR 79928)


Martin Sebor on 2017/3/8 08:09 wrote:
The following one-line patch corrects the spelling of the error
message in the nds32 back end pointed out by a translator.  I'll
go ahead and commit it as trivial unless there are objections in
the next day or so.

Martin

2017-03-07  Martin Sebor  <msebor@redhat.com>

    * gcc/config/nds32/nds32.c (nds32_option_override): Fix spelling
    of error message.

diff --git a/gcc/config/nds32/nds32.c b/gcc/config/nds32/nds32.c
index 9313712..705d223 100644
--- a/gcc/config/nds32/nds32.c
+++ b/gcc/config/nds32/nds32.c
@@ -2704,7 +2704,7 @@ nds32_option_override (void)

   /* Currently, we don't support PIC code generation yet.  */
   if (flag_pic)
-    sorry ("not support -fpic");
+    sorry ("position-independent code not supported");
 }

Hi, Martin,

The patch is OK.  Thank you so much. :)


Best regards,
jasonwucj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]