http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51271
--- Comment #1 from vries at gcc dot gnu.org 2011-11-23 01:18:18 UTC --- minimal compile line: ... $ mips64el-linux-gnu-gcc -O2 -g res_hconf.c ... minimal example res_hconf.c: ... extern __thread int *__libc_tsd_CTYPE_B; int * skip_string (int *str) { while (*str && __libc_tsd_CTYPE_B[*str] && *str != ',') ++str; return str; } ...