0a9adfc Rebuilt for possible GCC 10 bug on power64 and arm

Authored and Committed by tartina 4 years ago
1 file changed. 10 lines added. 1 lines removed.
    Rebuilt for possible GCC 10 bug on power64 and arm
    
    On ppc64le this piece of code in sord.c does not correctly
    evaluate the exit condition when O2 optimization is used.
    It seems that the end of the iterator is never evaluated.
    
        // Free quads
        ZixBTreeIter* t = zix_btree_begin(model->indices[DEFAULT_ORDER]);
        for (; !zix_btree_iter_is_end(t); zix_btree_iter_increment(t)) {
            free(zix_btree_get(t));
        }
        zix_btree_iter_free(t);
    
    See sord.c line 748
    
        
file modified
+10 -1