https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61303
--- Comment #10 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> --- Author: ian Date: Thu Nov 26 00:24:21 2015 New Revision: 230922 URL: https://gcc.gnu.org/viewcvs?rev=230922&root=gcc&view=rev Log: PR go/61303 runtime: don't overallocate in select code If we've already allocated an fd_set, don't allocate another one. Also, don't bother to read from rdwake if it wasn't returned in select. Fixes https://gcc.gnu.org/PR61303. Reviewed-on: https://go-review.googlesource.com/17243 Modified: trunk/gcc/go/gofrontend/MERGE trunk/libgo/runtime/netpoll_select.c