This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Go patch committed: Handle abstract type in builtin numeric const value


This patch to the Go frontend changes
Builtin_call_expression::do_numeric_constant_value to accept an
argument of abstract type.  This is because it can be called by
Array_type::verify_length before the determine types pass.  The test
case for this is https://golang.org/cl/147537.  This fixes
http://golang.org/issue/28601.  Bootstrapped and ran Go testsuite on
x86_64-pc-linux-gnu.  Committed to mainline and to GCC 7 and 8
branches.

Ian

Attachment: patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]