------- Comment #1 from rguenth at gcc dot gnu dot org 2007-06-08 10:11 ------- Confirmed. Instead of calls to _gfortran_pow_r4_i4, gfortran should use __builtin_powi in this case. __builtin_powi is either expanded inline or implemented by the libgcc powi function which looks like
TYPE NAME (TYPE x, int m) { unsigned int n = m < 0 ? -m : m; TYPE y = n % 2 ? x : 1; while (n >>= 1) { x = x * x; if (n % 2) y = y * x; } return m < 0 ? 1/y : y; } -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2007-06-08 10:11:40 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32239