This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Possible explaination why large_real_kind_form_io_2.f90 is failing on PPC/OSX


On Sun, Jan 14, 2007 at 10:35:13PM +0100, Dominique Dhumieres wrote:
> > What is the output of -fdump-tree-original?
> 
>     {
>       static real16 C.948 = 1.0e+0;
 
(snip)

> 
> It seems the problem is coming from the gfortran/mpfr side.
> 

Yes, seems to be a possible bug.  Can you add

  mpfr_out_str (stderr, 10, 0, result->value.real, GFC_RND_MODE);
  fprintf (stderr, "\n");

At the end of gfc_simplify_nearest() in simplify.c and rebuild 
gfortran (near line 2575).  Compile your program and report 
what the output is.

-- 
Steve


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]