]> gcc.gnu.org Git - gcc.git/commit
compiler: handle abstract type in builtin numeric const value
authorIan Lance Taylor <ian@gcc.gnu.org>
Mon, 5 Nov 2018 21:02:07 +0000 (21:02 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 5 Nov 2018 21:02:07 +0000 (21:02 +0000)
commit7bbdffa22bd3e0d3fcedb13447b33dd9bfef6f7f
tree5941083665267aecf53dff5ede0a4a3d90696c09
parentb40a67df7c5342204843f40f16ded89968bddd06
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

From-SVN: r265820
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/expressions.cc
This page took 0.05561 seconds and 5 git commands to generate.