r268153 - in /trunk: gcc/go/gofrontend/MERGE li...

ian@gcc.gnu.org ian@gcc.gnu.org
Tue Jan 22 15:43:00 GMT 2019


Author: ian
Date: Tue Jan 22 15:43:40 2019
New Revision: 268153

URL: https://gcc.gnu.org/viewcvs?rev=268153&root=gcc&view=rev
Log:
    golang.org/x/tools/go/analysis: pass "gccgo" to types.SizesFor
    
    For the gofrontend copy, change calls to types.SizesFor to pass
    "gccgo" rather than "gc".  Leave the asmdecl pass unchanged since that
    pass is gc-specific anyhow.
    
    This has been fixed in a better way in the external repo by
    https://golang.org/cl/158317 and friends, but that is not in 1.12, so
    use this approach for now.
    
    Reviewed-on: https://go-review.googlesource.com/c/158842

Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/libgo/go/golang.org/x/tools/go/analysis/passes/cgocall/cgocall.go
    trunk/libgo/go/golang.org/x/tools/go/analysis/passes/printf/types.go
    trunk/libgo/go/golang.org/x/tools/go/analysis/passes/shift/shift.go
    trunk/libgo/go/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go



More information about the Gcc-cvs mailing list