You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
GOPATH=`pwd` go test -compiler=gccgo -v iconv
What is the expected output?
GOPATH=`pwd` go test -v iconv
=== RUN TestIconv
--- PASS: TestIconv (0.00 seconds)
=== RUN TestIconvReverse
--- PASS: TestIconvReverse (0.00 seconds)
=== RUN TestError
--- PASS: TestError (0.00 seconds)
=== RUN TestConvertToUTF8
--- PASS: TestConvertToUTF8 (0.00 seconds)
=== RUN TestConvertBytesToUTF8
--- PASS: TestConvertBytesToUTF8 (0.00 seconds)
=== RUN TestBytes2
--- PASS: TestBytes2 (0.00 seconds)
=== RUN TestHang
--- PASS: TestHang (0.00 seconds)
=== RUN TestLong
--- PASS: TestLong (0.00 seconds)
PASS
ok iconv 0.010s
What do you see instead?
GOPATH=`pwd` go test -compiler=gccgo -v iconv
=== RUN TestIconv-16
--- FAIL: TestIconv-16 (0.01 seconds)
:0: Error on opening: Success
=== RUN TestIconvReverse-16
--- FAIL: TestIconvReverse-16 (0.00 seconds)
:0: Error on opening: Success
=== RUN TestError-16
--- PASS: TestError-16 (0.00 seconds)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
exit status 2
FAIL iconv 0.031s
Which compiler are you using (5g, 6g, 8g, gccgo)?
gccgo
Which operating system are you using?
linux amd64
Which revision are you using? (hg identify)
go version weekly.2012-03-13 +a303acb0a5f2
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185451
138bc75d-0d04-0410-961f-82ee72b054a4
Please provide any additional information below.
There seems to be a bug with returning the value of errno and another bug causing a
segfault.
Attachments:
The text was updated successfully, but these errors were encountered: