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

Issue 130720043: code review 130720043: cmd/gc: disallow pointer constants (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 8 months ago by mdempsky
Modified:
9 years, 8 months ago
Reviewers:
iant
CC:
iant, remyoudompheng, golang-codereviews
Visibility:
Public.

Description

cmd/gc: disallow pointer constants Fixes issue 7760.

Patch Set 1 #

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

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -2 lines) Patch
M src/cmd/gc/const.c View 1 2 3 4 2 chunks +6 lines, -2 lines 0 comments Download
A test/fixedbugs/issue7760.go View 1 2 3 4 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 6
mdempsky
Hello iant@golang.org (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
9 years, 8 months ago (2014-08-15 07:56:03 UTC) #1
iant
unsafe.Pointer is not the only invalid constant type, so it seems odd to check for ...
9 years, 8 months ago (2014-08-15 13:14:48 UTC) #2
remyoudompheng
On 2014/08/15 13:14:48, iant wrote: > unsafe.Pointer is not the only invalid constant type, so ...
9 years, 8 months ago (2014-08-15 15:13:15 UTC) #3
mdempsky
On 2014/08/15 13:14:48, iant wrote: > unsafe.Pointer is not the only invalid constant type, so ...
9 years, 8 months ago (2014-08-15 16:10:49 UTC) #4
iant
LGTM Thanks.
9 years, 8 months ago (2014-08-15 17:55:06 UTC) #5
iant
9 years, 8 months ago (2014-08-15 18:33:35 UTC) #6
*** Submitted as https://code.google.com/p/go/source/detail?r=4ea7fb0f5747 ***

cmd/gc: disallow pointer constants

Fixes issue 7760.

LGTM=iant
R=iant, remyoudompheng
CC=golang-codereviews
https://codereview.appspot.com/130720043

Committer: Ian Lance Taylor <iant@golang.org>
Sign in to reply to this message.

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