compiler: Don't make erroneous type descriptors.
commite6d1c8b1cd00189b4643ec548aabc471ee68d7cf
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Aug 2015 18:53:56 +0000 (3 18:53 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Aug 2015 18:53:56 +0000 (3 18:53 +0000)
treef59f048bc710e8a2367507cc4760083684f916ae
parentfc2eddad05c373085a2dc239b1cce5e0548c02a8
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226527 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/gogo.cc