Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 96 for GCCGO (0.03 sec)

  1. test/fixedbugs/bug515.go

    // compile
    
    // Copyright 2022 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.
    
    // Caused a gofrontend crash.
    
    //go:build gccgo
    
    package p
    
    //go:notinheap
    type S1 struct{}
    
    type S2 struct {
    	r      interface{ Read([]byte) (int, error) }
    	s1, s2 []byte
    	p      *S1
    	n      uintptr
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 06:22:23 UTC 2022
    - 392 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/gcc68255/a.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that it's OK to have C code that does nothing other than
    // initialize a global variable.  This used to fail with gccgo.
    
    package gcc68255
    
    /*
    #include "c.h"
    */
    import "C"
    
    func F() bool {
    	return C.v != nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 378 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/cover_asm.txt

    [short] skip
    [compiler:gccgo] skip # gccgo has no cover tool
    
    # Test cover for a package that has an assembly function.
    
    go test -outputdir=$WORK -coverprofile=cover.out coverasm
    go tool cover -func=$WORK/cover.out
    stdout '\tg\t*100.0%' # Check g is 100% covered.
    ! stdout '\tf\t*[0-9]' # Check for no coverage on the assembly function
    
    -- go.mod --
    module coverasm
    
    go 1.16
    -- p.go --
    package p
    
    func f()
    
    func g() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 604 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/cover_modes.txt

    env GO111MODULE=off
    
    # Coverage analysis should use 'set' mode by default,
    # and should merge coverage profiles correctly.
    
    [short] skip
    [compiler:gccgo] skip # gccgo has no cover tool
    
    go test -short -cover encoding/binary errors -coverprofile=$WORK/cover.out
    ! stderr '[^0-9]0\.0%'
    ! stdout '[^0-9]0\.0%'
    
    grep -count=1 '^mode: set$' $WORK/cover.out
    grep 'errors\.go' $WORK/cover.out
    grep 'binary\.go' $WORK/cover.out
    
    [!race] stop
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 678 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/callback_c_gccgo.c

    // Copyright 2013 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
    
    #include "_cgo_export.h"
    #include <stdint.h>
    #include <stdio.h>
    #include <stdlib.h>
    
    /* Test calling panic from C.  This is what SWIG does.  */
    
    extern void _cgo_panic(const char *);
    extern void *_cgo_allocate(size_t);
    
    void
    callPanic(void)
    {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 452 bytes
    - Viewed (0)
  6. 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)
  7. .github/ISSUE_TEMPLATE/00-bug.yml

            GOROOT="/usr/local/go"
            GOSUMDB="sum.golang.org"
            GOTMPDIR=""
            GOTOOLDIR="/usr/local/go/pkg/tool/darwin_arm64"
            GOVCS=""
            GOVERSION="go1.20.7"
            GCCGO="gccgo"
            AR="ar"
            CC="clang"
            CXX="clang++"
            CGO_ENABLED="1"
            GOMOD="/dev/null"
            GOWORK=""
            CGO_CFLAGS="-O2 -g"
            CGO_CPPFLAGS=""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/go/types/gotype.go

    Imports are processed by importing directly from the source of
    imported packages (default), or by importing from compiled and
    installed packages (by setting -c to the respective compiler).
    
    The -c flag must be set to a compiler ("gc", "gccgo") when type-
    checking packages containing imports with relative import paths
    (import "./mypkg") because the source importer cannot know which
    files to include for such packages.
    
    Usage:
    
    	gotype [flags] [path...]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 8.3K bytes
    - Viewed (0)
Back to top