Hi!

My script to check for PR79475-like issues discovered what looks like a bug
in the Ada FE.  I actually have no idea how it can work properly for any
entries after the last US entry or "United-States", because it will only
match United-StatesUY to US or UZ to Uruguay etc., rather than
United-States to US, Uruguay to UY, Uzbekistan to UZ etc.

Ok for trunk if it passes bootstrap/regtested on x86_64-linux?

2019-10-24  Jakub Jelinek  <ja...@redhat.com>

        * locales.c (iso_3166): Add missing comma after "United-States".

--- gcc/ada/locales.c.jj        2019-01-08 11:55:16.792206321 +0100
+++ gcc/ada/locales.c   2019-10-24 19:50:36.781596119 +0200
@@ -529,7 +529,7 @@ static char* iso_3166[] =
   "UM", "United States Minor Outlying Islands",
   "US", "United States",
   "US", "United States of America",
-  "US", "United-States"
+  "US", "United-States",
   "UY", "Uruguay",
   "UZ", "Uzbekistan",
 

        Jakub

Reply via email to