cmd/go: don't lose last flag from _cgo_flags
commitbfb87d5c0c901cdee614b0930ae7df63bbdc48ff
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Feb 2018 01:38:34 +0000 (5 01:38 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Feb 2018 01:38:34 +0000 (5 01:38 +0000)
tree6ec8b83dfacb7196cfc08401ace4fa0a2def9067
parent32f6be3f5571eebc04a8b1ff40f84ce6887115b2
cmd/go: don't lose last flag from _cgo_flags

    The quoting code that read _cgo_flags, currently only in the gccgo
    version of cmd/go, was losing the last flag read from the file.

    Fixes golang/go#23666

    Reviewed-on: https://go-review.googlesource.com/91655

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257373 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
libgo/go/cmd/go/internal/work/gccgo.go