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

Issue 66930044: code review 66930044: cmd/gc: fix walkcompare bugs. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by remyoudompheng
Modified:
11 years, 1 month ago
Reviewers:
gobot, rsc
CC:
rsc, iant, khr, golang-codereviews
Visibility:
Public.

Description

cmd/gc: fix walkcompare bugs. Revision c0e0467635ec (cmd/gc: return canonical Node* from temp) exposed original nodes of temporaries, allowing callers to mutate their types. In walkcompare a temporary could be typed as ideal because of this. Additionnally, assignment of a comparison result to a custom boolean type was broken. Fixes issue 7366.

Patch Set 1 #

Patch Set 2 : diff -r 5e1898303c0c https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 5e1898303c0c https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r ba599658e88e https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -17 lines) Patch
M src/cmd/gc/walk.c View 1 4 chunks +17 lines, -17 lines 0 comments Download
M test/cmp.go View 1 1 chunk +17 lines, -0 lines 0 comments Download
A test/fixedbugs/issue7366.go View 1 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 4
remyoudompheng
Hello rsc@golang.org, iant@golang.org, khr@golang.org (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 1 month ago (2014-02-23 22:37:08 UTC) #1
rsc
LGTM thank you very much
11 years, 1 month ago (2014-02-24 16:30:22 UTC) #2
remyoudompheng
*** Submitted as https://code.google.com/p/go/source/detail?r=3ae4607a43ff *** cmd/gc: fix walkcompare bugs. Revision c0e0467635ec (cmd/gc: return canonical Node* ...
11 years, 1 month ago (2014-02-24 18:52:09 UTC) #3
gobot
11 years, 1 month ago (2014-02-24 19:42:16 UTC) #4
Message was sent while issue was closed.
This CL appears to have broken the openbsd-386-rootbsd builder.
Sign in to reply to this message.

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