r265820 - in /trunk/gcc/go/gofrontend: MERGE ex...
ian@gcc.gnu.org
ian@gcc.gnu.org
Mon Nov 5 21:02:00 GMT 2018
Author: ian
Date: Mon Nov 5 21:02:07 2018
New Revision: 265820
URL: https://gcc.gnu.org/viewcvs?rev=265820&root=gcc&view=rev
Log:
compiler: handle abstract type in builtin numeric const value
Builtin_call_expression::do_numeric_constant_value can be called by
Array_type::verify_length before the determine types pass, so accept
an abstract type.
Test case is https://golang.org/cl/147537.
Fixes golang/go#28601
Reviewed-on: https://go-review.googlesource.com/c/147442
Modified:
trunk/gcc/go/gofrontend/MERGE
trunk/gcc/go/gofrontend/expressions.cc
More information about the Gcc-cvs
mailing list