------- Additional Comments From Thomas dot Koenig at online dot de 2005-02-10 10:17 ------- It appears the problem is caused by one of the optimization options that cannot be controlled with flags.
One suspect is this code snippet from gcc/config/ia64.c : static bool ia64_rtx_costs (rtx x, int code, int outer_code, int *total) { switch (code) ... case DIV: case UDIV: case MOD: case UMOD: /* We make divide expensive, so that divide-by-constant will be optimized to a multiply. */ *total = COSTS_N_INSNS (60); return true; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5900