This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [4.0] libgfortran/io/read.c:230: error: invalid storage class for function 'eat_leading_spaces'


On Fri, Sep 02, 2005 at 10:03:29AM +0200, Andreas Krebbel wrote:
> I see the same failure on s390 and s390x.
> It is probably caused by one these patches.

This really doesn't look like compiler bug, but typo introduced
in the last change to that file.
Committed as obvious.

2005-09-02  Jakub Jelinek  <jakub@redhat.com>

	PR target/23556
	* io/read.c (convert_real): Fix a typo from last change.

--- libgfortran/io/read.c	1 Sep 2005 16:43:23 -0000	1.8.10.7
+++ libgfortran/io/read.c	2 Sep 2005 08:40:51 -0000
@@ -128,6 +128,7 @@ convert_real (void *dest, const char *bu
 	  (float) strtod (buffer, NULL);
 #endif
 	memcpy (dest, (void *) &tmp, length);
+      }
       break;
     case 8:
       {


	Jakub


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