PR translation/90118 Missing space between words
authorChristophe Lyon <christophe.lyon@linaro.org>
Fri, 19 Apr 2019 09:08:49 +0000 (09:08 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Fri, 19 Apr 2019 09:08:49 +0000 (11:08 +0200)
2019-04-19  Christophe Lyon  <christophe.lyon@linaro.org>

PR translation/90118

contrib/
* check-internal-format-escaping.py: Check that %< is not next to
a word.

gcc/
* config/aarch64/aarch64.c (aarch64_override_options_internal):
Add missing space before %<.

From-SVN: r270454

contrib/ChangeLog
contrib/check-internal-format-escaping.py
gcc/ChangeLog
gcc/config/aarch64/aarch64.c

index b1fc60fcbeecec704c5f26bc0f49d16c54be7645..db3eb2caa82a1b2ceb1a3f5ab1544f32cdfbc305 100644 (file)
@@ -1,3 +1,9 @@
+2019-04-19  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       PR translation/90118
+       * check-internal-format-escaping.py: Check that %< is not next to
+       a word.
+
 2019-04-17  Jakub Jelinek  <jakub@redhat.com>
 
        * dg-extract-results.sh: Only handle WARNING: program timed out
index aac4f9edeeebba5ac043b3a6cc8add282cd24bd1..9c625868012519e850d87c8381a2879857942f59 100755 (executable)
@@ -58,6 +58,10 @@ for i, l in enumerate(lines):
                         print('%s: %s' % (origin, text))
                     if re.search("[^%]'", p):
                         print('%s: %s' % (origin, text))
+                    # %< should not be preceded by a non-punctuation
+                    # %character.
+                    if re.search("[a-zA-Z0-9]%<", p):
+                        print('%s: %s' % (origin, text))
             j += 1
 
         origin = None
index c240c54b25f1d7106727654c81534915bde0a17d..d160ddfb72882655a3f79ea09c4cd219f0fdd858 100644 (file)
@@ -1,3 +1,9 @@
+2019-04-19  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       PR translation/90118
+       * config/aarch64/aarch64.c (aarch64_override_options_internal):
+       Add missing space before %<.
+
 2019-04-18  Peter Bergner  <bergner@linux.ibm.com>
 
        PR rtl-optimization/87871
index 41bdefc6fee53391e0d1aad7e6cc69411ba94840..10b0bd2d5321ee380292d13eb3973424fd91ff24 100644 (file)
@@ -11483,7 +11483,7 @@ aarch64_override_options_internal (struct gcc_options *opts)
   if (aarch64_stack_protector_guard == SSP_GLOBAL
       && opts->x_aarch64_stack_protector_guard_offset_str)
     {
-      error ("incompatible options %<-mstack-protector-guard=global%> and"
+      error ("incompatible options %<-mstack-protector-guard=global%> and "
             "%<-mstack-protector-guard-offset=%s%>",
             aarch64_stack_protector_guard_offset_str);
     }