Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(12)

Issue 13334049: code review 13334049: build: remove various uses of C undefined behavior (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 7 months ago by rsc
Modified:
11 years, 7 months ago
Reviewers:
bradfitz
CC:
golang-dev, bradfitz
Visibility:
Public.

Description

build: remove various uses of C undefined behavior If you thought gcc -ansi -pedantic was pedantic, just wait until you meet clang -fsanitize=undefined. I think this addresses all the reported "errors", but we'll need another run to be sure. all.bash still passes. Update issue 5764 Dave, can you please try again?

Patch Set 1 #

Patch Set 2 : diff -r 6df134a79c64 https://code.google.com/p/go/ #

Patch Set 3 : diff -r ee14a38d17aa https://code.google.com/p/go/ #

Patch Set 4 : diff -r 07e461525486 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -39 lines) Patch
M include/bio.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/cc/com.c View 1 1 chunk +3 lines, -3 lines 0 comments Download
M src/cmd/cc/lex.c View 1 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/cc/lexbody View 1 4 chunks +4 lines, -4 lines 0 comments Download
M src/cmd/gc/bv.c View 1 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/gc/go.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/gc/md5.c View 1 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/gc/mparith2.c View 1 2 chunks +5 lines, -5 lines 0 comments Download
M src/cmd/gc/subr.c View 1 2 chunks +3 lines, -3 lines 0 comments Download
M src/cmd/ld/go.c View 1 1 chunk +1 line, -2 lines 0 comments Download
M src/cmd/ld/lib.c View 1 3 chunks +3 lines, -3 lines 0 comments Download
M src/cmd/pack/ar.c View 1 1 chunk +1 line, -10 lines 0 comments Download
M src/libmach/5obj.c View 1 1 chunk +1 line, -1 line 0 comments Download
M src/libmach/6obj.c View 1 1 chunk +1 line, -1 line 0 comments Download
M src/libmach/8obj.c View 1 1 chunk +1 line, -1 line 0 comments Download
M src/libmach/obj.c View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
11 years, 7 months ago (2013-09-09 16:00:29 UTC) #1
bradfitz
LGTM On Mon, Sep 9, 2013 at 9:00 AM, <rsc@golang.org> wrote: > Reviewers: golang-dev1, > ...
11 years, 7 months ago (2013-09-09 16:37:03 UTC) #2
rsc
11 years, 7 months ago (2013-09-09 19:07:26 UTC) #3
*** Submitted as https://code.google.com/p/go/source/detail?r=6d6901174a41 ***

build: remove various uses of C undefined behavior

If you thought gcc -ansi -pedantic was pedantic, just wait
until you meet clang -fsanitize=undefined.

I think this addresses all the reported "errors", but we'll
need another run to be sure.

all.bash still passes.

Update issue 5764

Dave, can you please try again?

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/13334049
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b