X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Fldst2.c;h=43f9e373075240e4147aa4cb52ff3a494c38dcf2;hb=4b3b89d08873a30a8b08fe8507d1796257495e42;hp=f5ae3a26965248aba8245bd4836f222cb9b35a02;hpb=fe4a6b587c0766b5c56d3dba7e85be9fb4cfb18c;p=libfirm diff --git a/ir/opt/ldst2.c b/ir/opt/ldst2.c index f5ae3a269..43f9e3730 100644 --- a/ir/opt/ldst2.c +++ b/ir/opt/ldst2.c @@ -27,6 +27,8 @@ #include "config.h" #endif +#include "iroptimize.h" + #include "array.h" #include "debug.h" #include "ircons.h" @@ -37,9 +39,7 @@ #include "irmemory.h" #include "irnode.h" #include "irnodeset.h" -#include "ldst2.h" #include "obst.h" -#include "return.h" #include "irdump.h" #include "irflag_t.h" @@ -559,7 +559,7 @@ static void NormaliseSync(ir_node* node, void* env) AddSyncPreds(&preds, node); count_preds = ir_nodeset_size(&preds); - if (count_preds != get_Sync_n_preds(node)) { + if (count_preds != (unsigned)get_Sync_n_preds(node)) { NEW_ARR_A(ir_node*, in, count_preds); ir_nodeset_iterator_init(&iter, &preds); for (i = 0; i < count_preds; i++) {