Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 271 for GCCGO (0.05 sec)

  1. test/fixedbugs/issue26248.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 26248: gccgo miscompiles interface field expression.
    // In G().M where G returns an interface, G() is evaluated twice.
    
    package main
    
    type I interface {
    	M()
    }
    
    type T struct{}
    
    func (T) M() {}
    
    var g = 0
    
    //go:noinline
    func G() I {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 10 01:19:37 UTC 2018
    - 567 bytes
    - Viewed (0)
  2. test/fixedbugs/issue23912.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.
    
    // A couple of aliases cases that gccgo incorrectly gave errors for.
    
    package p
    
    func F1() {
    	type E = struct{}
    	type X struct{}
    	var x X
    	var y E = x
    	_ = y
    }
    
    func F2() {
    	type E = struct{}
    	type S []E
    	type T []struct{}
    	type X struct{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 01:57:14 UTC 2018
    - 516 bytes
    - Viewed (0)
  3. test/fixedbugs/bug433.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that initializing struct fields out of order still runs
    // functions in the right order.  This failed with gccgo.
    
    package main
    
    type S struct {
    	i1, i2, i3 int
    }
    
    var G int
    
    func v(i int) int {
    	if i != G {
    		panic(i)
    	}
    	G = i + 1
    	return G
    }
    
    func F() S {
    	return S{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 30 15:42:21 UTC 2012
    - 552 bytes
    - Viewed (0)
  4. src/internal/abi/funcpc.go

    // Copyright 2023 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.
    
    //go:build !gccgo
    
    package abi
    
    // FuncPC* intrinsics.
    //
    // CAREFUL: In programs with plugins, FuncPC* can return different values
    // for the same function (because there are actually multiple copies of
    // the same function in the address space). To be safe, don't use the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 27 21:15:37 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. test/fixedbugs/issue33555.go

    // run
    
    //go:build !nacl && !js && !wasip1 && !gccgo
    
    // 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.
    
    // Test that the linker permits long call sequences.
    package main
    
    import (
    	"bytes"
    	"fmt"
    	"io/ioutil"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"strconv"
    )
    
    const start = `
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. test/fixedbugs/issue33275_run.go

    // run
    
    //go:build !nacl && !js && !wasip1 && !gccgo
    
    // 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.
    
    // Make sure we don't get an index out of bounds error
    // while trying to print a map that is concurrently modified.
    // The runtime might complain (throw) if it detects the modification,
    // so we have to run the test as a subprocess.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 717 bytes
    - Viewed (0)
  7. test/fixedbugs/issue16037_run.go

    // run
    
    //go:build !nacl && !js && !wasip1 && !android && !gccgo
    
    // 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.
    
    package main
    
    import (
    	"bytes"
    	"fmt"
    	"html/template"
    	"io/ioutil"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    )
    
    var tmpl = template.Must(template.New("main").Parse(`
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. test/chan/select8.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.
    
    // Test break statements in a select.
    // Gccgo had a bug in handling this.
    // Test 1,2,3-case selects, so it covers both the general
    // code path and the specialized optimizations for one-
    // and two-case selects.
    
    package main
    
    var ch = make(chan int)
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 10 18:02:11 UTC 2019
    - 826 bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go

    // 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.
    
    //go:build linux && gccgo && 386
    
    package unix
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    func seek(fd int, offset int64, whence int) (int64, syscall.Errno) {
    	var newoffset int64
    	offsetLow := uint32(offset & 0xffffffff)
    	offsetHigh := uint32((offset >> 32) & 0xffffffff)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 986 bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go

    			// path is a resolved package path, not an import path.
    			file, ok := cfg.PackageFile[path]
    			if !ok {
    				if cfg.Compiler == "gccgo" && cfg.Standard[path] {
    					return nil, nil // fall back to default gccgo lookup
    				}
    				return nil, fmt.Errorf("no package file for %q", path)
    			}
    			return os.Open(file)
    		})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top