- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 271 for GCCGO (0.03 sec)
-
test/fixedbugs/issue26340.go
// compile // 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 did not permit omitting the type of a composite literal // element when one of the middle omitted types was a pointer type. package p type S []T type T struct { x int } var _ = map[string]*S{ "a": { { 1 }, }, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 12 05:29:12 UTC 2018 - 426 bytes - Viewed (0) -
src/cmd/compile/internal/types2/gccgosizes.go
// 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 is a copy of the file generated during the gccgo build process. // Last update 2019-01-22. package types2 var gccgoArchSizes = map[string]*StdSizes{ "386": {4, 4}, "alpha": {8, 8}, "amd64": {8, 8}, "amd64p32": {4, 8}, "arm": {4, 8},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:55:06 UTC 2023 - 1K bytes - Viewed (0) -
test/fixedbugs/issue7740.go
func main() { // adjust precision depending on compiler var prec float64 switch runtime.Compiler { case "gc": prec = math.Inf(1) // exact precision using rational arithmetic case "gccgo": prec = 256 default: // unknown compiler return } p := 1 - math.Log(math.Abs(ulp))/math.Log(2) if math.Abs(p-prec) > 1e-10 { fmt.Printf("BUG: got %g; want %g\n", p, prec) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 25 18:53:24 UTC 2021 - 736 bytes - Viewed (0) -
test/fixedbugs/issue15722.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Checks to make sure that the compiler can catch a specific invalid // method type expression. NB: gccgo and gc have slightly different // error messages, hence the generic test for 'method' and not something // more specific. package issue15722 type T int type P *T func (T) t() {} func _(p P) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 23 20:43:59 UTC 2016 - 506 bytes - Viewed (0) -
src/cmd/go/testdata/script/cover_import_main_loop.txt
[compiler:gccgo] skip # gccgo has no cover tool ! go test -n importmain/test stderr 'not an importable package' # check that import main was detected ! go test -n -cover importmain/test stderr 'not an importable package' # check that import main was detected -- go.mod -- module importmain go 1.16 -- ismain/main.go -- package main import _ "importmain/test" func main() {} -- test/test.go -- package test
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 532 bytes - Viewed (0) -
test/fixedbugs/issue33062.go
// run // 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. // Issue 33062: gccgo generates incorrect type equality // functions. package main type simpleStruct struct { int string } type complexStruct struct { int simpleStruct } func main() { x := complexStruct{1, simpleStruct{2, "xxx"}}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 11 22:30:42 UTC 2019 - 568 bytes - Viewed (0) -
src/cmd/go/testdata/script/build_issue6480.txt
# Check errors.test mtime is updated exec $GOBIN/now cp stdout start_time.txt go test -x -c -test.bench=XXX errors ! stderr '[\\/]link|gccgo' # make sure up-to-date test binary is not relinked exec $GOBIN/mtime errors.test$GOEXE cp stdout errors1_mod_time.txt exec $GOBIN/before start_time.txt errors1_mod_time.txt rm start_time.txt errors1_mod_time.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 2.7K bytes - Viewed (0) -
test/fixedbugs/bug501.go
// run // Copyright 2016 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 got a compiler crash compiling the addition of more than five // strings with mixed constants and variables. package main func F(s string) (string, error) { return s, nil } func G(a, b, c string) (string, error) { return F("a" + a + "b" + b + "c" + c) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 07 21:55:00 UTC 2016 - 519 bytes - Viewed (0) -
test/fixedbugs/issue23545.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. // Issue 23545: gccgo didn't lower array comparison to // proper equality function in some case. package main func main() { if a := Get(); a != dummyID(1234) { panic("FAIL") } } func dummyID(x int) [Size]interface{} { var out [Size]interface{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 10 01:20:45 UTC 2018 - 557 bytes - Viewed (0) -
test/fixedbugs/bug494.go
// run // 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. // Gccgo incorrectly executed functions multiple times when they // appeared in a composite literal that required a conversion between // different interface types. package main type MyInt int var c MyInt func (c *MyInt) S(i int) { *c = MyInt(i) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 18 02:45:00 UTC 2014 - 695 bytes - Viewed (0)