[Bug go/77625] go/gofrontend/ast-dump.cc:169:42: error: ‘new’ of type ‘std::ofstr eam {aka std::basic_ofstream<char>}’ with extended alignment 16
ian at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 20 17:53:00 GMT 2016
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
More information about the Gcc-bugs
mailing list