It turns out i forgot to do the new iv creation/computation in the same type of the old iv. This fixes that, and adds the missing compute_immediate_uses. ltrans-2 still fails to decide it wants to interchange, but the rest succesfully pass. Bootstrapped and regtested on powerpc-darwin. 2004-10-12 Daniel Belin * lambda-code.c (gcc_loopnest_to_lambda_loopnest): Print out message to dump_file when we convert to perfect nest. (lbv_to_gcc_expression): Add type argument, and use it for type of arithmetic. (lle_to_gcc_expression): Ditto. (lambda_loopnest_to_gcc_loopnest): Pass type of old induction variable to lbv/lle_to_gcc_expression. * tree-loop-linear.c (linear_transform_loops): Compute immediate uses. Print out message when we transform loops.