This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/39665] [4.5 Regression] Fortran IO using unaligned accesses to read/write doubles.
- From: "jb at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Apr 2009 20:59:37 -0000
- Subject: [Bug libfortran/39665] [4.5 Regression] Fortran IO using unaligned accesses to read/write doubles.
- References: <bug-39665-3107@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from jb at gcc dot gnu dot org 2009-04-08 20:59 -------
(In reply to comment #5)
> In addition to the alignment problem, check out the case 10 and case 16 entries
> in the convert_real subroutine. After checking to see that strtold exists,
> they actually go and call strtod instead of strtold. This is causing some of
> my failures. Can you roll this change into your patch too.
Huh? At least in my tree (r145761) they call strtold as they should:
#if defined(HAVE_GFC_REAL_10) && defined (HAVE_STRTOLD)
case 10:
*((GFC_REAL_10*) dest) = strtold (buffer, NULL);
break;
#endif
#if defined(HAVE_GFC_REAL_16) && defined (HAVE_STRTOLD)
case 16:
*((GFC_REAL_16*) dest) = strtold (buffer, NULL);
break;
#endif
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39665