https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111322
Waldemar Brodkorb <wbx at openadk dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wbx at openadk dot org --- Comment #3 from Waldemar Brodkorb <wbx at openadk dot org> --- uClibc is doing this nearly since the beginning (commit f91e94f6c5a1f1d6dfd3e5a535df303b805bf321 in 2001). I think normally this is okay, because uClibc tries to be compatible to glibc. There are cornercases like this issue. I think the patch is useful and should be applied.