compiler: Don't make gc symbol for bad array type.
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 12 Aug 2015 17:21:11 +0000 (17:21 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 12 Aug 2015 17:21:11 +0000 (17:21 +0000)
commitbb2978b8fd41165054ffe3cfcfa5311fffaf13cd
treecce35ab2a9a1547e0c06695e786896c6b35b2355
parentc3d3b30a9ab56e4bf2462bcdff76722ce5a3fa5e
compiler: Don't make gc symbol for bad array type.

    When parsing a malformed array type, i.e. invalid length, gccgo
    would loop indefinitely based off of a uninitialized length variable.

    Fixes golang/go#11539.

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

From-SVN: r226825
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/types.cc