https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106854
--- Comment #2 from Alejandro Colomar <colomar.6.4.3 at gmail dot com> --- Also interesting might be that one function might have more than one closer. For example, open(2) might be closed by close(2), but it is also closed by fdopen(3), in the sense that the file descriptor can't be (safely) used again after that, and also that it can't be passed to close(2) after that --even if in reality the file descriptor is still valid, for obvious reasons--.