- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 271 for GCCGO (0.05 sec)
-
src/go/internal/gccgoimporter/importer_test.go
runImporterTest(t, imp, initmap, &test) } } // gccgoPath returns a path to gccgo if it is present (either in // path or specified via GCCGO environment variable), or an // empty string if no gccgo is available. func gccgoPath() string { gccgoname := os.Getenv("GCCGO") if gccgoname == "" { gccgoname = "gccgo" } if gpath, gerr := exec.LookPath(gccgoname); gerr == nil { return gpath }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 20:17:57 UTC 2022 - 7.2K bytes - Viewed (0) -
test/fixedbugs/issue11326b.go
// run // Does not work with gccgo, which uses a smaller (but still permitted) // exponent size. //go:build !gccgo // Copyright 2015 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 // Tests for golang.org/issue/11326. func main() { { const n = 1e646456992 const d = 1e646456991 x := n / d if x != 10.0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 821 bytes - Viewed (0) -
src/cmd/internal/pkgpath/pkgpath.go
// Package pkgpath determines the package path used by gccgo/GoLLVM symbols. // This package is not used for the gc compiler. package pkgpath import ( "bytes" "errors" "fmt" "os" "os/exec" "strings" ) // ToSymbolFunc returns a function that may be used to convert a // package path into a string suitable for use as a symbol. // cmd is the gccgo/GoLLVM compiler in use, and tmpdir is a temporary
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 4.2K bytes - Viewed (0) -
src/go/internal/gccgoimporter/gccgoinstallation_test.go
import ( "go/types" "testing" ) // importablePackages is a list of packages that we verify that we can // import. This should be all standard library packages in all relevant // versions of gccgo. Note that since gccgo follows a different release // cycle, and since different systems have different versions installed, // we can't use the last-two-versions rule of the gc toolchain. var importablePackages = [...]string{ "archive/tar",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 21 02:25:41 UTC 2021 - 4K bytes - Viewed (0) -
src/cmd/cgo/internal/testcarchive/testdata/main_unix.c
perror("sigaction"); return 2; } if (osa.sa_handler == SIG_DFL) { fprintf(stderr, "Go runtime did not install signal handler\n"); return 2; } // gccgo does not set SA_ONSTACK for SIGSEGV. if (getenv("GCCGO") == NULL && (osa.sa_flags&SA_ONSTACK) == 0) { fprintf(stderr, "Go runtime did not install signal handler\n"); return 2; } oldHandler = osa.sa_sigaction; return 0; }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.4K bytes - Viewed (0) -
test/deferfin.go
package main import ( "runtime" "sync" "sync/atomic" "time" ) var sink func() func main() { // Does not work with gccgo, due to partially conservative GC. // Try to enable when we have fully precise GC. if runtime.Compiler == "gccgo" { return } N := 10 count := int32(N) var wg sync.WaitGroup wg.Add(N) for i := 0; i < N; i++ { go func() { defer wg.Done()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 05 21:11:31 UTC 2021 - 1.1K bytes - Viewed (0) -
src/runtime/compiler.go
package runtime // Compiler is the name of the compiler toolchain that built the // running binary. Known toolchains are: // // gc Also known as cmd/compile. // gccgo The gccgo front end, part of the GCC compiler suite.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 01 18:18:07 UTC 2022 - 410 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/gccgo_c.c
// license that can be found in the LICENSE file. //go:build gccgo && !aix && !hurd #include <errno.h> #include <stdint.h> #include <unistd.h> #define _STRINGIFY2_(x) #x #define _STRINGIFY_(x) _STRINGIFY2_(x) #define GOSYM_PREFIX _STRINGIFY_(__USER_LABEL_PREFIX__) // Call syscall from C code because the gccgo support for calling from // Go to C does not support varargs functions. struct ret {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 1.5K bytes - Viewed (0) -
src/vendor/golang.org/x/sys/cpu/cpu_gc_x86.go
//go:build (386 || amd64 || amd64p32) && gc package cpu // cpuid is implemented in cpu_x86.s for gc compiler // and in cpu_gccgo.c for gccgo. func cpuid(eaxArg, ecxArg uint32) (eax, ebx, ecx, edx uint32) // xgetbv with ecx = 0 is implemented in cpu_x86.s for gc compiler // and in cpu_gccgo.c for gccgo.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 499 bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_get_commit.txt
go get -x golang.org/x/text/language@14c0d48 ! stderr 'compile|cp|gccgo .*language\.a$' # go get should skip build with no Go files in root go get golang.org/x/text@14c0d48 # dropping -d, we should see a build. [short] skip env GOCACHE=$WORK/gocache # Looking for compile commands, so need a clean cache. go build -x golang.org/x/text/language stderr 'compile|cp|gccgo .*language\.a$'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 21 20:57:57 UTC 2022 - 1.4K bytes - Viewed (0)