- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 64 for 6g (0.02 sec)
-
test/fixedbugs/bug218.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Crashes 6g, 8g // https://golang.org/issue/238 package main func main() { bar := make(chan bool); select { case _ = <-bar: return } } /* 6g bug218.go <epoch>: fatal error: dowidth: unknown type: blank
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jul 11 14:36:33 UTC 2015 - 389 bytes - Viewed (0) -
test/fixedbugs/bug277.go
p = (*S)(p) f = func(x int) int(f) i = (interface { m(x int) int })(s) // this is accepted by 6g i = interface { m(x int) int }(s) // this is not accepted by 6g (but should be) l = []int(l) m = map[string]int(m) c = chan int(c) _ = chan<- int(c) _ = <-(chan int)(c) _ = <-(<-chan int)(c) } /* 6g bug277.go bug277.go:46: syntax error: unexpected (, expecting {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 18 21:15:42 UTC 2012 - 1.4K bytes - Viewed (0) -
test/fixedbugs/bug088.dir/bug1.go
import P "./bug0" func main() { a0 := P.V0(); // works a1 := P.V1(); // works a2, b2 := P.V2(); // doesn't work _, _, _, _ = a0, a1, a2, b2; } /* uetli:~/Source/go1/test/bugs/bug088.dir gri$ 6g bug0.go && 6g bug1.go bug1.go:8: shape error across := bug1.go:8: a2: undefined bug1.go:8: b2: undefined bug1.go:8: illegal types for operand: AS (<(bug0)P.int32>INT32)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 550 bytes - Viewed (0) -
test/fixedbugs/bug159.go
f := func() int { b--; return -b }; // this fails on 6g: apparently it rewrites // the list into // z = f(); // y = f(); // x = f(); // so that the values come out backward. x, y, z = f(), f(), f(); if x != 1 || y != 2 || z != 3 { println("xyz: expected 1 2 3 got", x, y, z); ok = false; } // this fails on 6g too. one of the function calls // happens after assigning to b.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 18 21:15:42 UTC 2012 - 795 bytes - Viewed (0) -
test/fixedbugs/bug256.go
// Copyright 2010 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 type T U // bogus "invalid recursive type T" from 6g type U int const x T = 123
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 316 bytes - Viewed (0) -
test/fixedbugs/bug313.go
// errorcheckdir // Copyright 2010 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 1284 package bug313 /* 6g bug313.dir/[ab].go Before: bug313.dir/b.go:7: internal compiler error: fault Now: bug313.dir/a.go:10: undefined: fmt.DoesNotExist
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 350 bytes - Viewed (0) -
test/fixedbugs/bug061.go
package main func main() { var s string; s = "0000000000000000000000000000000000000000000000000000000000"[0:7]; _ = s; } /* uetli:~/Source/go1/test/bugs gri$ 6g bug061.go Bus error
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:49:30 UTC 2012 - 357 bytes - Viewed (0) -
test/fixedbugs/bug209.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:49:30 UTC 2012 - 339 bytes - Viewed (0) -
test/fixedbugs/bug440_64.go
// run // Test for 6g register move bug. The optimizer gets confused // about 32- vs 64-bit moves during splitContractIndex. // Issue 3918. package main func main() { const c = 0x123400005678 index, offset := splitContractIndex(c) if index != (c&0xffffffff)>>5 || offset != c+1 { println("BUG", index, offset) } } func splitContractIndex(ce uint64) (index uint32, offset uint64) { h := uint32(ce)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 01 14:40:54 UTC 2012 - 435 bytes - Viewed (0) -
test/fixedbugs/bug267.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 28 21:41:07 UTC 2021 - 377 bytes - Viewed (0)