------- Additional Comments From ro at techfak dot uni-bielefeld dot de 2005-06-13 15:08 ------- Subject: Re: All gfortran execution tests fail on Tru64 UNIX V4.0F: scalbn unresolved > is very portable). What about the naïve implementation: > > double scalbn (double x, int n) { return x * pow(FLT_RADIX,n); } I haven't checked if this handles the corner cases (overflow, NaN or Inf as input) correctly. > Is FLT_RADIX available on Tru64 UNIX V4.0F and IRIX? That would at least allow > gfortran to build, even if we could enhance this code afterwards. It is, on all of Tru64 UNIX V4.0F, IRIX 5.3 and 6.5. > The fix is: add a check for scalbn in the configure.ac, add the fallback > function to c99_functions.c and the prototype to c99_protos.h. I can write that > and submit the patch for review if someone can test it on Tru64 UNIX and IRIX. I can easily perform the testing. Rainer -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21950