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
d12b08d2
Commit
d12b08d2
authored
Dec 12, 2013
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: disable a couple of precise GC tests for gccgo
R=golang-dev, rsc CC=golang-dev
https://golang.org/cl/41610043
parent
e8a1de72
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
test/deferfin.go
test/deferfin.go
+4
-0
test/fixedbugs/issue5493.go
test/fixedbugs/issue5493.go
+3
-2
No files found.
test/deferfin.go
View file @
d12b08d2
...
@@ -23,6 +23,10 @@ func main() {
...
@@ -23,6 +23,10 @@ func main() {
if
runtime
.
GOARCH
!=
"amd64"
{
if
runtime
.
GOARCH
!=
"amd64"
{
return
return
}
}
// Likewise for gccgo.
if
runtime
.
Compiler
==
"gccgo"
{
return
}
N
:=
10
N
:=
10
count
:=
int32
(
N
)
count
:=
int32
(
N
)
var
wg
sync
.
WaitGroup
var
wg
sync
.
WaitGroup
...
...
test/fixedbugs/issue5493.go
View file @
d12b08d2
...
@@ -31,9 +31,10 @@ func run() error {
...
@@ -31,9 +31,10 @@ func run() error {
}
}
func
main
()
{
func
main
()
{
// Does not work on 32-bits due to partially conservative GC.
// Does not work on 32-bits, or with gccgo, due to partially
// conservative GC.
// Try to enable when we have fully precise GC.
// Try to enable when we have fully precise GC.
if
runtime
.
GOARCH
!=
"amd64"
{
if
runtime
.
GOARCH
!=
"amd64"
||
runtime
.
Compiler
==
"gccgo"
{
return
return
}
}
count
=
N
count
=
N
...
...
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