From 3e0adc9ffbcd5873e254b2940aadc94da1d63753 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 18 Jan 2011 16:28:21 -0500 Subject: [PATCH] cc: fix vlong condition Fixes #1032. R=ken2 CC=golang-dev https://golang.org/cl/4025043 --- src/cmd/cc/pgen.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cmd/cc/pgen.c b/src/cmd/cc/pgen.c index a9d7f1ef4cc..5d17cafc92f 100644 --- a/src/cmd/cc/pgen.c +++ b/src/cmd/cc/pgen.c @@ -586,8 +586,7 @@ bcomplex(Node *n, Node *c) *b->right = *nodconst(0); b->right->type = n->type; b->type = types[TLONG]; - cgen(b, Z); - return 0; + n = b; } bool64(n); boolgen(n, 1, Z);