Skip to content

cmd/gc: clang 3.3 complains about undefined behavior #5764

Closed
@davecheney

Description

@davecheney
What steps will reproduce the problem?

1. Download clang 3.3 or later, http://llvm.org/releases/download.html#3.3
2. export CC=clang
3. apply CL https://golang.org/cl/10488044
4. ./make.bash

What is the expected output? What do you see instead?

Expected, clean build

Actual, quite a few warnings, some trivial, others not.
https://gist.github.com/davecheney/5847237

Please use labels and text to provide additional information.

See also the discussion here
https://groups.google.com/forum/#!topic/golang-dev/SlTKGOfHjtU

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions