-malign-double failure on i686-pc-linux-gnuaout
Steve Edwards
sgedward@korime.demon.co.uk
Thu May 31 21:28:00 GMT 2007
I am not sure if this is known or not, but I ran into a problem building an old fortran library. Taking as an example:
> cat check.f
program check
write(6,1000)
1000 format('check')
end
and building with:
gfortran -o check check.f
produces:
check
If I add -malign-double I get:
At line 2 of file check.f
Fortran runtime error: Missing initial left parenthesis in format
�f�
$ gfortran --version
GNU Fortran (GCC) 4.3.0 20070530 (experimental)
Copyright (C) 2007 Free Software Foundation, Inc.
The fix is straightforward enough - I just have to take out -malign-double. The library I was building was last built (a long time ago) with g77 3.4.6 and I am certain this flag worked okay (although given the warning in the manual I'm not sure why it was used).
I'm running a Fedora Core #6 system (i686-pc-linux-gnuaout).
Steve
--
----------------------------------------------------------
----------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20070531/5b42a9ec/attachment.sig>
More information about the Fortran
mailing list