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

Issue 10785043: code review 10785043: cmd/6g, cmd/8g: prevent constant propagation of non-con... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by DMorsing
Modified:
10 years, 10 months ago
Reviewers:
nigeltao
CC:
golang-dev, dave_cheney.net, rsc, nigeltao
Visibility:
Public.

Description

cmd/6g, cmd/8g: prevent constant propagation of non-constant LEA. Fixes issue 5809.

Patch Set 1 #

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

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

Total comments: 2

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

Total comments: 1

Patch Set 5 : diff -r 0d2b8690d896 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -0 lines) Patch
M src/cmd/6g/peep.c View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/8g/peep.c View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A test/fixedbugs/issue5809.go View 1 2 3 4 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 7
DMorsing
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
10 years, 10 months ago (2013-06-29 13:17:17 UTC) #1
dave_cheney.net
Thanks for fixing this so quickly. Is {6,8}c affected ? On Sat, Jun 29, 2013 ...
10 years, 10 months ago (2013-06-29 13:18:58 UTC) #2
DMorsing
On 2013/06/29 13:18:58, dfc wrote: > Thanks for fixing this so quickly. Is {6,8}c affected ...
10 years, 10 months ago (2013-06-29 13:26:13 UTC) #3
rsc
https://codereview.appspot.com/10785043/diff/6001/src/cmd/6g/peep.c File src/cmd/6g/peep.c (right): https://codereview.appspot.com/10785043/diff/6001/src/cmd/6g/peep.c#newcode157 src/cmd/6g/peep.c:157: if(p->from.index == D_NONE) || p->from.index == D_CONST? https://codereview.appspot.com/10785043/diff/6001/src/cmd/8g/peep.c File ...
10 years, 10 months ago (2013-07-01 21:41:09 UTC) #4
DMorsing
Hello golang-dev@googlegroups.com, dave@cheney.net, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
10 years, 10 months ago (2013-07-04 15:06:52 UTC) #5
nigeltao
LGTM. https://codereview.appspot.com/10785043/diff/14001/test/fixedbugs/issue5809.go File test/fixedbugs/issue5809.go (right): https://codereview.appspot.com/10785043/diff/14001/test/fixedbugs/issue5809.go#newcode7 test/fixedbugs/issue5809.go:7: // issue 5609: 6g and 8g attempted to ...
10 years, 10 months ago (2013-07-05 01:29:44 UTC) #6
DMorsing
10 years, 10 months ago (2013-07-05 14:11:32 UTC) #7
*** Submitted as https://code.google.com/p/go/source/detail?r=cf792c00f410 ***

cmd/6g, cmd/8g: prevent constant propagation of non-constant LEA.

Fixes issue 5809.

R=golang-dev, dave, rsc, nigeltao
CC=golang-dev
https://codereview.appspot.com/10785043
Sign in to reply to this message.

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