Index: libgomp/env.c =================================================================== --- libgomp/env.c (revision 137259) +++ libgomp/env.c (working copy) @@ -207,7 +207,7 @@ parse_stacksize (const char *name, unsig ++end; if (*end != '\0') { - switch (tolower (*end)) + switch (tolower ((unsigned char) *end)) { case 'b': shift = 0; @@ -276,7 +276,7 @@ parse_spincount (const char *name, unsig ++end; if (*end != '\0') { - switch (tolower (*end)) + switch (tolower ((unsigned char) *end)) { case 'k': mult = 1000LL;