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