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

Issue 88360043: code review 88360043: cmd/gc: fix segfault in isgoconst. (Closed)

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

Description

cmd/gc: fix segfault in isgoconst. Not all literal nodes have sym->def. Fixes issue 7794.

Patch Set 1 #

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -1 line) Patch
M src/cmd/gc/const.c View 1 1 chunk +1 line, -1 line 0 comments Download
A test/fixedbugs/issue7794.go View 1 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 5
minux1
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
11 years, 1 month ago (2014-04-16 04:51:26 UTC) #1
bradfitz
R=rsc On Tue, Apr 15, 2014 at 9:51 PM, <minux.ma@gmail.com> wrote: > Reviewers: golang-codereviews, > ...
11 years, 1 month ago (2014-04-16 15:22:50 UTC) #2
rsc
LGTM It's not the literal node that's missing the def; it seems to be the ...
11 years, 1 month ago (2014-04-16 15:37:32 UTC) #3
rsc
I confirmed this and will update the CL description while submitting.
11 years, 1 month ago (2014-04-17 03:11:56 UTC) #4
rsc
11 years, 1 month ago (2014-04-17 03:12:11 UTC) #5
*** Submitted as https://code.google.com/p/go/source/detail?r=b60e0f4c348e ***

cmd/gc: fix segfault in isgoconst.

Variables declared with 'var' have no sym->def.

Fixes issue 7794.

LGTM=rsc
R=golang-codereviews, bradfitz, rsc
CC=golang-codereviews
https://codereview.appspot.com/88360043

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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