re PR go/77625 (go/gofrontend/ast-dump.cc:169:42: error: ‘new’ of type ‘std::ofstr...
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 20 Sep 2016 17:52:23 +0000 (17:52 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 20 Sep 2016 17:52:23 +0000 (17:52 +0000)
commit3c1917945db0b725842fd39e76c39e7de049afa4
tree24ad686007250c0780f1f0e3ce5bb3da1c01c8cb
parent9b1ba33cf61cc1ca76bacd1eb3a41fe0eb5d12e9
re PR 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)

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

From-SVN: r240279
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/ast-dump.cc