ref: af549516e8dc30b0d18b66ab288c18287ce25bb2
parent: 66ec3ad2b63d6640dd6a16dc57ec3178a33c645c
author: Roberto E. Vargas Caballero <[email protected]>
date: Thu Aug 18 09:12:49 EDT 2016
[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().
--- a/cc2/arch/qbe/cgen.c
+++ b/cc2/arch/qbe/cgen.c
@@ -418,7 +418,7 @@
case OOR:
true = newlabel();
false = newlabel();
- phi = label2node(&aux1, newlabel());
+ phi = label2node(&aux1, NULL);
tmpnode(ret, &int32type);
bool(np, true, false);