commit 273618dcaa13b6b1933f09c73ff9caeb5ab87bc2
Author:     Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Thu Aug 18 13:12:49 2016 +0200
Commit:     Roberto E. Vargas Caballero <[email protected]>
CommitDate: Thu Aug 18 13:12:49 2016 +0200

    [cc2-qbe] Don't call to newlabel() as parameter of label2node()
    
    A NULL parameter to label2node() is considered as a request to
    allocate a new symbol in label2node().

diff --git a/cc2/arch/qbe/cgen.c b/cc2/arch/qbe/cgen.c
index 43a6020..6b16c2c 100644
--- a/cc2/arch/qbe/cgen.c
+++ b/cc2/arch/qbe/cgen.c
@@ -418,7 +418,7 @@ rhs(Node *np, Node *ret)
        case OOR:
                true = newlabel();
                false = newlabel();
-               phi = label2node(&aux1, newlabel());
+               phi = label2node(&aux1, NULL);
                tmpnode(ret, &int32type);
 
                bool(np, true, false);

Reply via email to