https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77625
--- Comment #1 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> --- Author: ian Date: Tue Sep 20 17:52:23 2016 New Revision: 240279 URL: https://gcc.gnu.org/viewcvs?rev=240279&root=gcc&view=rev Log: PR go/77625 compiler: allocate std::ofstream as a local variable GCC PR 77625 points out a warning about new std::ofstream. I don't know how that is supposed to work, but in this case the std::ofstream may as well be a local variable anyhow. Reviewed-on: https://go-review.googlesource.com/29435 Modified: trunk/gcc/go/gofrontend/MERGE trunk/gcc/go/gofrontend/ast-dump.cc