]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/gc: Missing break in esc switch.
authorLuuk van Dijk <lvd@golang.org>
Mon, 1 Oct 2012 14:33:06 +0000 (16:33 +0200)
committerLuuk van Dijk <lvd@golang.org>
Mon, 1 Oct 2012 14:33:06 +0000 (16:33 +0200)
R=rsc
CC=golang-dev
https://golang.org/cl/6594053

src/cmd/gc/esc.c

index c5faa041c8c3d464502ad976ceea578f9af6b378..20a77c2b1e2332e0ab1ffc91bc57487589f6fcc7 100644 (file)
@@ -416,6 +416,7 @@ esc(EscState *e, Node *n)
                //      fatal("escape anaylysis missed or messed up a label: %+N", n);
 
                n->left->sym->label = nil;
+               break;
 
        case ORANGE:
                // Everything but fixed array is a dereference.