libI77 fmt uncleanliness

Richard Henderson rth@cygnus.com
Fri Sep 5 12:50:00 GMT 1997


> Maybe dmg@bell-labs.com will provide a real fix; though
> he's sometimes away for a week or two at a time, he does fix
> libf2c things pretty quickly, which sure has helped us
> out on the g77 front!

In the mean time, I can confirm that the following patch resolves
the unaligned accesses I'd been seeing, and runs what Fortran I
have laying about -- mostly spec92.


r~



Index: fmt.h
===================================================================
RCS file: /cvs/cvsfiles/egcs/gcc/f/runtime/libI77/fmt.h,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 fmt.h
--- fmt.h	1997/08/12 07:47:53	1.1.1.1
+++ fmt.h	1997/09/05 19:47:43
@@ -1,5 +1,6 @@
+typedef int syl_int __attribute__((mode(pointer)));
 struct syl
-{	int op,p1,p2,p3;
+{	syl_int op,p1,p2,p3;
 };
 #define RET1 1
 #define REVERT 2



More information about the Gcc mailing list