Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
8b45c369
Commit
8b45c369
authored
Jul 01, 2008
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- filed a bug
SVN=125596
parent
ceb01373
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
28 deletions
+41
-28
test/bugs/bug062.go
test/bugs/bug062.go
+11
-0
test/golden.out
test/golden.out
+30
-28
No files found.
test/bugs/bug062.go
0 → 100644
View file @
8b45c369
// errchk $G $D/$F.go
// Copyright 2009 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.
package
main
func
main
()
{
var
s
string
=
nil
;
// nil should not be assignment compatible with string
}
test/golden.out
View file @
8b45c369
...
...
@@ -243,34 +243,33 @@ BUG: infinite loop in error reporting
=========== bugs/bug052.go
SIGSEGV: segmentation violation
Faulting address: 0x1
pc: 0x1
52c
pc: 0x1
349
0x152c?zi
main·main(0, 0, 0, ...)
main·main(0x0, 0x0, 0x1, ...)
0x12e5?zi
0x1349?zi
main·main(1, 0, 1606416464, ...)
main·main(0x1, 0x7fff5fbff850, 0x1, ...)
rax 0x1
rbx 0x7
rcx 0x7fff
ffffe8f
8
rcx 0x7fff
5fbff7e
8
rdx 0x3
rdi 0x7fff
ffffe92
0
rsi 0x
5b0
0
rbp 0x
7fffffffe938
rsp 0x7fff
ffffe8f
0
rdi 0x7fff
5fbff81
0
rsi 0x
495
0
rbp 0x
13ffc00
rsp 0x7fff
5fbff7e
0
r8 0x0
r9 0x0
r10 0x
8
r11 0x2
02
r10 0x
0
r11 0x2
16
r12 0x0
r13 0x0
r14 0x0
r15 0x0
rip 0x1
52c
rflags 0x1020
2
cs 0x
33
fs 0x0
gs 0x
0
r15 0x
68f
0
rip 0x1
349
rflags 0x1020
6
cs 0x
27
fs 0x
1
0
gs 0x
48
BUG: incorrect code for division
=========== bugs/bug053.go
...
...
@@ -279,16 +278,16 @@ BUG: len should not be a keyword
=========== bugs/bug054.go
xxx
. CALL u(100) l(
18
8) <Element>I{}
. . NAME-Vector_At G0 a(1) l(
17
5) 111({},{}){}
. . AS u(1) l(
18
8)
. . . INDREG a(1) l(
18
8) v G0 *<Vector>{}
. . . DOTPTR u(1) l(
18
8) *<Vector>{}
. . . . NAME-s G2
24 a(1) g(224) l(18
4) *<TStruct>{}
. . . . NAME-fields G0 a(1) l(
18
1)
. . AS u(1) l(
18
8)
. . . INDREG a(1) l(
188) i G22
5 <int32>INT32
. . . NAME-i G2
25 a(1) g(225) l(18
4) <int32>INT32
. CALL u(100) l(
21
8) <Element>I{}
. . NAME-Vector_At G0 a(1) l(
20
5) 111({},{}){}
. . AS u(1) l(
21
8)
. . . INDREG a(1) l(
21
8) v G0 *<Vector>{}
. . . DOTPTR u(1) l(
21
8) *<Vector>{}
. . . . NAME-s G2
64 a(1) g(264) l(21
4) *<TStruct>{}
. . . . NAME-fields G0 a(1) l(
21
1)
. . AS u(1) l(
21
8)
. . . INDREG a(1) l(
218) i G26
5 <int32>INT32
. . . NAME-i G2
65 a(1) g(265) l(21
4) <int32>INT32
bugs/bug054.go:25: fatal error: agen_inter i2s
BUG: known to fail incorrectly
...
...
@@ -315,6 +314,9 @@ bugs/bug061.go:7: illegal types for operand: AS
(<string>*STRING)
BUG: known to fail incorrectly
=========== bugs/bug062.go
BUG: known to succeed incorrectly
=========== fixedbugs/bug000.go
=========== fixedbugs/bug001.go
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment