r275540 - in /trunk/gcc/go/gofrontend: MERGE go...

ian@gcc.gnu.org ian@gcc.gnu.org
Mon Sep 9 19:41:00 GMT 2019


Author: ian
Date: Mon Sep  9 19:41:05 2019
New Revision: 275540

URL: https://gcc.gnu.org/viewcvs?rev=275540&root=gcc&view=rev
Log:
    compiler: don't use predeclared location for implicit runtime import
    
    For the main package we add an implicit import of the runtime package,
    to ensure that it is initialized.  That import used the predeclared
    location, which caused various tests, notably Named_type::is_builtin,
    to treat these imported names as builtin.  Start using a real location,
    so that those tests do the right thing.
    
    By the way, this implicit import is a partial cause of golang/go#19773.
    
    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/194337

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



More information about the Gcc-cvs mailing list