Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/gc: inlining and 6g -u interact badly #2795

Closed
dsymonds opened this issue Jan 27, 2012 · 5 comments
Closed

cmd/gc: inlining and 6g -u interact badly #2795

dsymonds opened this issue Jan 27, 2012 · 5 comments
Milestone

Comments

@dsymonds
Copy link
Contributor

When packages are being built with the safe bit, and functions are flagged for inlining,
you can get failures on the import lines.

make[1]: Entering directory `xxx/src/pkg/strconv'
6g -u   -p strconv -o _go_.6 atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go
itoa.go quote.go
atof.go:15: cannot use unsafe.Pointer
make[1]: *** [_go_.6] Error 1
@rsc
Copy link
Contributor

rsc commented Jan 30, 2012

Comment 1:

Labels changed: added priority-go1, removed priority-asap.

@rsc
Copy link
Contributor

rsc commented Jan 30, 2012

Comment 2:

Labels changed: added go1-must.

@lvdlvd
Copy link

lvdlvd commented Feb 1, 2012

Comment 3:

Owner changed to @lvdlvd.

@lvdlvd
Copy link

lvdlvd commented Feb 3, 2012

Comment 4:

Status changed to Started.

@rsc
Copy link
Contributor

rsc commented Feb 11, 2012

Comment 5:

Fixed by CL 5652057

Status changed to Fixed.

@rsc rsc added this to the Go1 milestone Apr 10, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants