https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90917
--- Comment #1 from Dávid Bolvanský <david.bolvansky at gmail dot com> --- char f(void) { char* s = ... ; if (strcmp(global_s, s) == 0) return global_s[0]; return '-'; } ------> char f2(void) { char* s = ... ; if (strcmp(global_s, s) == 0) return s[0]; return '-'; }