compiler: initialize gogo fields
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 22 Mar 2017 21:02:53 +0000 (21:02 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 22 Mar 2017 21:02:53 +0000 (21:02 +0000)
commit36c1cf710de19ec2556fedf49a6ebfa4758e404f
treed0d24e26e64d8a5688abe09c8cb05f3ac5384a55
parent0d3214c2f01c4cc5b74052e4130f2a39d93dc3ef
compiler: initialize gogo fields

    A couple of the data members in the Gogo class were not
    being initialized properly. This was causing "uninitialized value"
    errors during Valgrind memcheck runs. This patch insures that
    all of the fields receive an initial value.

    Reviewed-on: https://go-review.googlesource.com/38470

From-SVN: r246407
gcc/go/gofrontend/go.cc
gcc/go/gofrontend/gogo.cc