- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 51 for 6g (0.02 sec)
-
test/fixedbugs/bug410.go
// compile // Copyright 2012 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. // Used to run 6g out of registers. Issue 2669. package p type y struct { num int } func zzz () { k := make([]byte, 10) arr := make ([]*y, 0) for s := range arr { x := make([]byte, 10) for i := 0; i < 100 ; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 471 bytes - Viewed (0) -
test/fixedbugs/bug085.go
// license that can be found in the LICENSE file. package P var x int func foo() { print(P.x); // ERROR "undefined" } /* uetli:~/Source/go1/test/bugs gri$ 6g bug085.go bug085.go:6: P: undefined Bus error */ /* expected scope hierarchy (outermost to innermost) universe scope (contains predeclared identifiers int, float32, int32, len, etc.)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 13 23:11:31 UTC 2012 - 633 bytes - Viewed (0) -
test/fixedbugs/bug096.go
// license that can be found in the LICENSE file. package main type A []int; func main() { a := &A{0}; b := &A{0, 1}; _, _ = a, b; } /* uetli:~/Source/go1/test/bugs gri$ 6g bug096.go && 6l bug096.6 && 6.out Trace/BPT trap uetli:~/Source/go1/test/bugs gri$ */ /* It appears that the first assignment changes the size of A from open into a fixed array.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 18 21:15:42 UTC 2012 - 483 bytes - Viewed (0) -
test/fixedbugs/bug109.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package bug109 func f(a float64) float64 { e := 1.0 e = e * a return e } /* 6g bugs/bug109.go bugs/bug109.go:5: illegal types for operand: MUL (<float64>FLOAT64) (<float32>FLOAT32) bugs/bug109.go:5: illegal types for operand: AS (<float64>FLOAT64) bugs/bug109.go:6: illegal types for operand: RETURN
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 18 21:15:42 UTC 2012 - 523 bytes - Viewed (0) -
test/fixedbugs/bug094.go
package main func f0() { const x = 0; } func f1() { x := 0; _ = x; } func main() { f0(); f1(); } /* uetli:~/Source/go1/test/bugs gri$ 6g bug094.go && 6l bug094.6 && 6.out bug094.go:11: left side of := must be a name bad top . LITERAL-I0 l(343) bug094.go:11: fatal error: walktype: top=3 LITERAL uetli:~/Source/go1/test/bugs gri$
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 18 21:15:42 UTC 2012 - 517 bytes - Viewed (0) -
test/fixedbugs/bug274.go
// errorcheck // 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. // 6g accepts the program below even though it is syntactically incorrect: // Each statement in the list of statements for each case clause must be // terminated with a semicolon. No semicolon is present for the labeled // statements and because the last token is a colon ":", no semicolon is
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 888 bytes - Viewed (0) -
test/fixedbugs/issue4518.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Issue 4518. In some circumstances "return F(...)" // where F has multiple returns is miscompiled by 6g due to // bold assumptions in componentgen. package main //go:noinline func F(e interface{}) (int, int) { return 3, 7 } //go:noinline func G() (int, int) { return 3, 7 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 942 bytes - Viewed (0) -
test/fixedbugs/bug453.go
// Copyright 2012 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 4138: bug in floating-point registers numbering. // Makes 6g unable to use more than 11 registers. package main func formula() float32 { mA := [1]float32{1.0} det1 := mA[0] det2 := mA[0] det3 := mA[0] det4 := mA[0] det5 := mA[0] det6 := mA[0]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 703 bytes - Viewed (0) -
test/fixedbugs/bug320.go
// license that can be found in the LICENSE file. package main func main() { c := make(chan int, 1) dummy := make(chan int) v := 0x12345678 for i := 0; i < 10; i++ { // 6g had a bug that caused select to pass &t to // selectrecv before allocating the memory for t, // which caused non-deterministic crashes. // This test looks for the bug by checking that the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 963 bytes - Viewed (0) -
test/fixedbugs/bug097.go
} if a[0][0] != 0 { panic("fail a[0][0]") } if a[1][0] != 1 { panic("fail a[1][0]") } if a[2][0] != 2 { panic("fail a[2][0]") } } /* uetli:~/Source/go1/test/bugs gri$ 6g bug097.go && 6l bug097.6 && 6.out panic on line 342 PC=0x13c2 0x13c2?zi mainĀ·main(1, 0, 1606416416, ...) mainĀ·main(0x1, 0x7fff5fbff820, 0x0, ...) SIGTRAP: trace trap Faulting address: 0x4558 pc: 0x4558
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 18 21:15:42 UTC 2012 - 1.1K bytes - Viewed (0)