1. 20 Oct, 2019 3 commits
    • Giovanni Bajo's avatar
      cmd/compile: in prove, give a different name to each poset · b16463c9
      Giovanni Bajo authored
      Instead of using a two-slot array and having to remember which
      index is the signed poset, and which is the unsigned one, just
      use two different variables.
      
      Change-Id: Ic7f7676436c51bf43a182e999a926f8b7f69434b
      Reviewed-on: https://go-review.googlesource.com/c/go/+/196678Reviewed-by: default avatarKeith Randall <khr@golang.org>
      b16463c9
    • Alex Brainman's avatar
      cmd/link: use libmsvcrt.a during internal link · e4c39259
      Alex Brainman authored
      When using recent versions of gcc with cgo, internal link fails with
      
      c:\>go test debug/pe
      --- FAIL: TestInternalLinkerDWARF (0.94s)
          file_test.go:394: building test executable for linktype 2 failed: exit status 2 # command-line-arguments
              runtime/cgo(.text): relocation target __acrt_iob_func not defined for ABI0 (but is defined for ABI0)
              runtime/cgo(.text): relocation target __acrt_iob_func not defined for ABI0 (but is defined for ABI0)
              runtime/cgo(.text): relocation target __acrt_iob_func not defined for ABI0 (but is defined for ABI0)
      FAIL
      FAIL    debug/pe        4.572s
      FAIL
      
      It appears that __acrt_iob_func is defined in libmsvcrt.a. And this
      change adds libmsvcrt.a to the list of libraries always used byi
      internal linker.
      
      libmsvcrt.a also implements __imp___acrt_iob_func. So this change
      also prevents rewriting __imp___acrt_iob_func name into
      __acrt_iob_func, otherwise we end up with duplicate __acrt_iob_func
      symbol error.
      
      Fixes #23649
      
      Change-Id: Ie9864cd17e907501e9a8a3672bbc33e02ca20e5c
      Reviewed-on: https://go-review.googlesource.com/c/go/+/197977
      Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
      e4c39259
    • Luke Young's avatar
      net/http: make Transport.roundTrip close body on invalid method · 39cfb760
      Luke Young authored
      Updates #35015
      
      Change-Id: Ibfe8f72ed3887ca88ce9c1d8a29dacda72f3fe17
      GitHub-Last-Rev: 4bfc56e71660ad9624ac5eb594b3afd0d221c99d
      GitHub-Pull-Request: golang/go#35014
      Reviewed-on: https://go-review.googlesource.com/c/go/+/202237Reviewed-by: default avatarEmmanuel Odeke <emm.odeke@gmail.com>
      Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      39cfb760
  2. 19 Oct, 2019 2 commits
  3. 18 Oct, 2019 10 commits
  4. 17 Oct, 2019 20 commits
  5. 16 Oct, 2019 5 commits