compiler: Don't make erroneous type descriptors.
authorIan Lance Taylor <ian@gcc.gnu.org>
Mon, 3 Aug 2015 18:53:56 +0000 (18:53 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 3 Aug 2015 18:53:56 +0000 (18:53 +0000)
commitf2fef1c8a3a93f320e9842d09a0ad44d0157281b
treef59f048bc710e8a2367507cc4760083684f916ae
parentca81dee3922cf1cfd64abb75db737aa8b7b3caa8
compiler: Don't make erroneous type descriptors.

    There is no need to make type descriptors for named types when there
    are errors during package compilation.  Particularly, if the error in
    package compilation is from a malformed named type, there is no
    guarantee a type descriptor can be created.

    Fixes golang/go#11560.

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

From-SVN: r226527
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/gogo.cc