r239708 - in /trunk/gcc/go/gofrontend: MERGE ex...

ian@gcc.gnu.org ian@gcc.gnu.org
Tue Aug 23 17:45:00 GMT 2016


Author: ian
Date: Tue Aug 23 17:45:45 2016
New Revision: 239708

URL: https://gcc.gnu.org/viewcvs?rev=239708&root=gcc&view=rev
Log:
    compiler: revamp scheme for ordering calls to import init fcns.
    
    Switch to a new method for determining the order in which import init
    functions are invoked: build an init fcn dependence DAG and walk the DAG
    to rewrite/adjust priorities to account for discrepancies introduced by
    "go test".
    
    This patch includes a change to the export data format generated
    by gccgo. Older versions of gccgo will not be able to read object files
    produced by a newer gccgo, but the new gcc will still be able to read
    old object files.
    
    Fixes golang/go#15738.
    
    Reviewed-on: https://go-review.googlesource.com/25301

Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/gcc/go/gofrontend/export.cc
    trunk/gcc/go/gofrontend/export.h
    trunk/gcc/go/gofrontend/gogo.cc
    trunk/gcc/go/gofrontend/gogo.h
    trunk/gcc/go/gofrontend/import.cc
    trunk/gcc/go/gofrontend/import.h



More information about the Gcc-cvs mailing list