r265818 - /branches/gcc-7-branch/gcc/go/gofront...
ian@gcc.gnu.org
ian@gcc.gnu.org
Mon Nov 5 20:59:00 GMT 2018
Author: ian
Date: Mon Nov 5 20:59:38 2018
New Revision: 265818
URL: https://gcc.gnu.org/viewcvs?rev=265818&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:
branches/gcc-7-branch/gcc/go/gofrontend/expressions.cc
More information about the Gcc-cvs
mailing list