X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbecopyilp2.c;h=773decd47a8df2cd7a3f877e516ea528873baf0b;hb=42cfb577eeec7068df400b4b6b5a65eb02c78e84;hp=3dbc92387dd590b579961ed0705a45f3e703ddf3;hpb=011d0c933eda9fb0eaaa48c930bd82df86572d20;p=libfirm diff --git a/ir/be/becopyilp2.c b/ir/be/becopyilp2.c index 3dbc92387..773decd47 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" @@ -42,10 +44,10 @@ #define DEBUG_LVL 1 typedef struct _local_env_t { - firm_dbg_module_t *dbg; double time_limit; int first_x_var, last_x_var; pmap *nr_2_irn; + DEBUG_ONLY(firm_dbg_module_t *dbg;) } local_env_t; static void build_coloring_cstr(ilp_env_t *ienv) { @@ -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