mirror of
https://github.com/golang/go
synced 2024-09-05 16:04:50 +00:00
![Martin Möhrmann](/assets/img/avatar_default.png)
Add a type conversion to uintptr for untyped constants before the conversion to unsafe.Pointer. Fixes #16317 Change-Id: Ib85feccad1019e687e7eb6135890b64b82fb87fb Reviewed-on: https://go-review.googlesource.com/27441 Reviewed-by: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Robert Griesemer <gri@golang.org> Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
11 lines
296 B
Go
11 lines
296 B
Go
// compiledir
|
|
|
|
// Copyright 2016 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// Issue 16317: cmd/compile: internal compiler error:
|
|
// unhandled OCONV INT -> TUNSAFEPTR
|
|
|
|
package ignored
|