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

Issue 8663052: code review 8663052: cmd/gc: initialize t->width in dgcsym() if required (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years ago by atom
Modified:
12 years ago
Reviewers:
CC:
golang-dev, DMorsing, iant, r
Visibility:
Public.

Description

cmd/gc: initialize t->width in dgcsym() if required Update issue 5291.

Patch Set 1 #

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

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

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

Total comments: 2

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

Total comments: 8

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

Total comments: 2

Patch Set 7 : diff -r 16aa97d39879 https://code.google.com/p/go/ #

Patch Set 8 : diff -r 16aa97d39879 https://code.google.com/p/go/ #

Patch Set 9 : diff -r 16aa97d39879 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -0 lines) Patch
M src/cmd/gc/reflect.c View 1 2 3 4 3 chunks +8 lines, -0 lines 0 comments Download
A test/fixedbugs/issue5291.go View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
A test/fixedbugs/issue5291.dir/pkg1.go View 1 2 3 4 5 6 1 chunk +34 lines, -0 lines 0 comments Download
A test/fixedbugs/issue5291.dir/prog.go View 1 2 3 4 5 6 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 14
atom
Hello golang-dev@googlegroups.com (cc: iant@golang.org), I'd like you to review this change to https://code.google.com/p/go/
12 years ago (2013-04-24 09:55:49 UTC) #1
DMorsing
Which types are getting through to reflect without valid widths? I think this is a ...
12 years ago (2013-04-24 11:09:28 UTC) #2
atom
On 2013/04/24 11:09:28, DMorsing wrote: > Which types are getting through to reflect without valid ...
12 years ago (2013-04-24 11:47:53 UTC) #3
DMorsing
On 2013/04/24 11:47:53, atom wrote: > On 2013/04/24 11:09:28, DMorsing wrote: > > Which types ...
12 years ago (2013-04-24 12:57:44 UTC) #4
iant
On 2013/04/24 11:09:28, DMorsing wrote: > Which types are getting through to reflect without valid ...
12 years ago (2013-04-24 13:45:19 UTC) #5
iant
On 2013/04/24 13:45:19, iant wrote: > On 2013/04/24 11:09:28, DMorsing wrote: > > Which types ...
12 years ago (2013-04-24 13:45:43 UTC) #6
DMorsing
LGTM when the test has been added. We're not miscompiling things. The problem is that ...
12 years ago (2013-04-24 14:53:20 UTC) #7
atom
https://codereview.appspot.com/8663052/diff/3/src/cmd/gc/reflect.c File src/cmd/gc/reflect.c (right): https://codereview.appspot.com/8663052/diff/3/src/cmd/gc/reflect.c#newcode1147 src/cmd/gc/reflect.c:1147: if(t->width == BADWIDTH) On 2013/04/24 14:53:20, DMorsing wrote: > ...
12 years ago (2013-04-24 16:03:37 UTC) #8
atom
On 2013/04/24 13:45:43, iant wrote: > On 2013/04/24 13:45:19, iant wrote: > > On 2013/04/24 ...
12 years ago (2013-04-24 16:04:03 UTC) #9
iant
Patch looks good, test case needs a bit of cleanup. Thanks. https://codereview.appspot.com/8663052/diff/15001/test/fixedbugs/issue5291.dir/pkg1.go File test/fixedbugs/issue5291.dir/pkg1.go (right): ...
12 years ago (2013-04-25 00:43:12 UTC) #10
atom
https://codereview.appspot.com/8663052/diff/15001/test/fixedbugs/issue5291.dir/pkg1.go File test/fixedbugs/issue5291.dir/pkg1.go (right): https://codereview.appspot.com/8663052/diff/15001/test/fixedbugs/issue5291.dir/pkg1.go#newcode1 test/fixedbugs/issue5291.dir/pkg1.go:1: package pkg1 On 2013/04/25 00:43:12, iant wrote: > Needs ...
12 years ago (2013-04-25 07:29:17 UTC) #11
iant
LGTM Wait for r.
12 years ago (2013-04-25 14:36:37 UTC) #12
r
LGTM https://codereview.appspot.com/8663052/diff/23001/test/fixedbugs/issue5291.dir/pkg1.go File test/fixedbugs/issue5291.dir/pkg1.go (right): https://codereview.appspot.com/8663052/diff/23001/test/fixedbugs/issue5291.dir/pkg1.go#newcode17 test/fixedbugs/issue5291.dir/pkg1.go:17: func Crashcall() (err error) { CrashCall please
12 years ago (2013-04-25 15:10:22 UTC) #13
atom
12 years ago (2013-04-25 16:47:21 UTC) #14
*** Submitted as https://code.google.com/p/go/source/detail?r=1d079908dd84 ***

cmd/gc: initialize t->width in dgcsym() if required

Update issue 5291.

R=golang-dev, daniel.morsing, iant, r
CC=golang-dev
https://codereview.appspot.com/8663052

https://codereview.appspot.com/8663052/diff/23001/test/fixedbugs/issue5291.di...
File test/fixedbugs/issue5291.dir/pkg1.go (right):

https://codereview.appspot.com/8663052/diff/23001/test/fixedbugs/issue5291.di...
test/fixedbugs/issue5291.dir/pkg1.go:17: func Crashcall() (err error) {
On 2013/04/25 15:10:23, r wrote:
> CrashCall please

Done.
Sign in to reply to this message.

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