r232858 - in /trunk/gcc/go/gofrontend: MERGE pa...

ian@gcc.gnu.org ian@gcc.gnu.org
Wed Jan 27 00:01:00 GMT 2016


Author: ian
Date: Wed Jan 27 00:00:58 2016
New Revision: 232858

URL: https://gcc.gnu.org/viewcvs?rev=232858&root=gcc&view=rev
Log:
    compiler: Don't crash on erroneous array return types.
    
    Another issue with erroneous array types.  When an erroneous array
    type is in a function's signature, particularly the return type, we
    must guarantee that type is changed into an error type.  Otherwise,
    any operations that work on arrays and slices will crash when applied
    to the erroneous array return type.
    
    Fixes golang/go#12939.
    
    Reviewed-on: https://go-review.googlesource.com/16235

Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/gcc/go/gofrontend/parse.cc



More information about the Gcc-cvs mailing list