Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/goPublic

cmd/gc: Optimizer bug involving constants, bit shifts and []byte literals #5809

Closed
Milestone
@gopherbot

Description

@gopherbot

bymicah.stetson:

What steps will reproduce the problem?Run this program in the playground:http://play.golang.org/p/cWZcknG23DWhat is the expected output?1234234What do you see instead?1111222Which compiler are you using (5g, 6g, 8g, gccgo)?6gWhich operating system are you using?Mac OS X 10.7.5 and also the Go PlaygroundWhich version are you using?  (run 'go version')Tried with go 1.1 and go 1.1.1Please provide any additional information below.Disabling optimization with go build -gcflags -N makes the problem go away. So do anynumber of source-level changes.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp