- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 271 for GCCGO (0.04 sec)
-
test/fixedbugs/gcc61248.go
// Copyright 2014 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. // PR61248: Transformations to recover calls made them fail typechecking in gccgo. package main func main() { var f func(int, interface{}) go f(0, recover())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 336 bytes - Viewed (0) -
test/fixedbugs/issue32922.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This directory contains a pair of packages that triggers a compiler // error in gccgo (problem with the way inlinable call expressions are // imported). See issue 32922 for details.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 08 13:20:23 UTC 2019 - 377 bytes - Viewed (0) -
test/fixedbugs/issue26335.go
// run // Copyright 2018 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. // gccgo mishandled passing a struct with an empty field through // reflect.Value.Call. package main import ( "reflect" ) type Empty struct { f1, f2 *byte empty struct{} } func F(e Empty, s []string) { if len(s) != 1 || s[0] != "hi" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 11 18:14:35 UTC 2018 - 563 bytes - Viewed (0) -
test/fixedbugs/bug437.dir/x.go
// license that can be found in the LICENSE file. // Test converting a type defined in a different package to an // interface defined in a third package, where the interface has a // hidden method. This used to cause a link error with gccgo. package main import ( "./one" "./two" ) func F(i1 one.I1) { switch v := i1.(type) { case two.S2: one.F1(v) } } func main() { F(nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 499 bytes - Viewed (0) -
test/fixedbugs/issue31412a.go
// compile // Copyright 2019 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. // This code was incorrectly flagged as erroneous by gccgo. package main type Name string type EFunc func(int) int func Register(f EFunc, names ...Name) int { return f(len(names)) } const ( B Name = "B" ) func RegisterIt() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:17:26 UTC 2019 - 531 bytes - Viewed (0) -
test/fixedbugs/issue38125.go
// compile // Copyright 2020 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. // gccgo mishandled embedded methods of type aliases. package p type I int func (I) M() {} type T = struct { I } func F() { _ = T.M _ = struct { I }.M
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 28 23:43:22 UTC 2020 - 333 bytes - Viewed (0) -
test/fixedbugs/gcc61253.go
// compile // Copyright 2014 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. // PR61253: gccgo incorrectly parsed the // `RecvStmt = ExpressionList "=" RecvExpr` production. package main func main() { c := make(chan int) v := new(int) b := new(bool) select { case (*v), (*b) = <-c: }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 390 bytes - Viewed (0) -
test/fixedbugs/bug439.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. // Gccgo used to crash compiling this. package p type E int func (e E) P() *E { return &e } const ( C1 E = 0 C2 = C1 ) func F() *E { return C2.P()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 15 20:29:46 UTC 2012 - 329 bytes - Viewed (0) -
test/fixedbugs/bug307.go
// compile // 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. // Valid program, gccgo reported an error. // bug307.go:14:6: error: complex arguments must have identical types package main func main() { var f float64 _ = complex(1/f, 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:49:59 UTC 2012 - 352 bytes - Viewed (0) -
test/fixedbugs/bug421.go
// errorcheck // 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 1927. // gccgo failed to issue the first error below. package main func main() { println(int(1) == uint(1)) // ERROR "types" var x int = 1 var y uint = 1 println(x == y) // ERROR "types"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 18 01:52:05 UTC 2012 - 381 bytes - Viewed (0)