X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbecopyilp2.c;h=2d8320c8ab20a1a6381af0d63c06e45a7ae082c7;hb=6e3e499d6c68aee0c6a9ada6a99f16c4f6f8445b;hp=946322dd6b7166eca05f4e0a526c1305104a3032;hpb=4794cb5f95f18ed6afee5c1cc33aaf5f39d3e4a2;p=libfirm diff --git a/ir/be/becopyilp2.c b/ir/be/becopyilp2.c index 946322dd6..2d8320c8a 100644 --- a/ir/be/becopyilp2.c +++ b/ir/be/becopyilp2.c @@ -30,6 +30,8 @@ #include "config.h" #endif /* HAVE_CONFIG_H */ +#ifdef WITH_ILP + #include #include "pdeq.h" @@ -377,7 +379,7 @@ static void extend_path(ilp_env_t *ienv, pdeq *path, ir_node *irn) { /* check for forbidden interferences */ len = pdeq_len(path); curr_path = alloca(len * sizeof(*curr_path)); - pdeq_copyl(path, curr_path); + pdeq_copyl(path, (const void **)curr_path); for (i=1; i