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

Issue 137020043: code review 137020043: cmd/cc: generate error if #pragma pack off does anything (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 6 months ago by rsc
Modified:
10 years, 6 months ago
Reviewers:
r, gobot, brainman
CC:
golang-codereviews, r, dvyukov, iant
Visibility:
Public.

Description

cmd/cc: generate error if #pragma pack off does anything We can't translate misaligned things to Go, so start rejecting them in C. The only one in any build appears to be EpollEvent on linux/amd64. Fix that.

Patch Set 1 #

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -11 lines) Patch
M src/cmd/5c/swt.c View 1 2 4 chunks +6 lines, -3 lines 0 comments Download
M src/cmd/6c/swt.c View 1 2 4 chunks +6 lines, -3 lines 0 comments Download
M src/cmd/8c/swt.c View 1 2 4 chunks +6 lines, -3 lines 0 comments Download
M src/pkg/runtime/defs_linux_amd64.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/netpoll_epoll.c View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10
rsc
Hello golang-codereviews@googlegroups.com (cc: dvyukov, iant, r), I'd like you to review this change to https://code.google.com/p/go/
10 years, 6 months ago (2014-08-30 18:13:07 UTC) #1
r
LGTM so long, hjdicks
10 years, 6 months ago (2014-08-30 18:19:55 UTC) #2
dvyukov
waiting for this to update netpoll patch
10 years, 6 months ago (2014-08-30 18:40:40 UTC) #3
rsc
*** Submitted as https://code.google.com/p/go/source/detail?r=c31e69cab80b *** cmd/cc: generate error if #pragma pack off does anything We ...
10 years, 6 months ago (2014-08-30 18:54:07 UTC) #4
gobot
This CL appears to have broken the android-arm-crawshaw builder. See http://build.golang.org/log/f34fec6ca8f4c8e356d2224fc0a9d44f12ae9402
10 years, 6 months ago (2014-08-30 19:03:27 UTC) #5
brainman
On 2014/08/30 19:03:27, gobot wrote: > This CL appears to have broken the android-arm-crawshaw builder. ...
10 years, 6 months ago (2014-09-01 02:11:03 UTC) #6
rsc
On Sun, Aug 31, 2014 at 10:11 PM, <alex.brainman@gmail.com> wrote: > This also fails on ...
10 years, 6 months ago (2014-09-01 04:03:32 UTC) #7
dvyukov
On Mon, Sep 1, 2014 at 6:11 AM, <alex.brainman@gmail.com> wrote: > On 2014/08/30 19:03:27, gobot ...
10 years, 6 months ago (2014-09-01 07:33:06 UTC) #8
brainman
On 2014/09/01 07:33:06, dvyukov wrote: > Alex, if you can figure out what constants in ...
10 years, 6 months ago (2014-09-01 07:38:12 UTC) #9
brainman
10 years, 6 months ago (2014-09-01 11:36:42 UTC) #10
Message was sent while issue was closed.
https://codereview.appspot.com/140110043/

Alex
Sign in to reply to this message.

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