X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=ir%2Fbe%2Fbecopyilp2.c;h=584fa159cd46abe4694ba25754c59065050634e7;hb=30cd701b908f9b6fd0c6216d5fe7ef54a80da107;hp=3dbc92387dd590b579961ed0705a45f3e703ddf3;hpb=011d0c933eda9fb0eaaa48c930bd82df86572d20;p=libfirm diff --git a/ir/be/becopyilp2.c b/ir/be/becopyilp2.c index 3dbc92387..584fa159c 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