Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 271 for GCCGO (0.03 sec)

  1. test/fixedbugs/bug482.go

    // license that can be found in the LICENSE file.
    
    // Using the same name for a field in a composite literal and for a
    // global variable that depends on the variable being initialized
    // caused gccgo to erroneously report "variable initializer refers to
    // itself".
    
    package p
    
    type S struct {
    	F int
    }
    
    var V = S{F: 1}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 455 bytes
    - Viewed (0)
  2. 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)
  3. .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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top