[committed] Fix for g77 PR/25494.
Toon Moene
toon@moene.indiv.nluug.nl
Tue Dec 27 12:11:00 GMT 2005
L.S.,
I committed the following patch:
2005-12-27 Toon Moene <toon@moene.indiv.nluug.nl>
PR/25494
* g77.texi: Corrected entry about catching
Floating Point Exceptions.
Index: g77.texi
===================================================================
--- g77.texi (revision 109079)
+++ g77.texi (working copy)
@@ -9415,12 +9415,13 @@
@}
@end smallexample
-A convenient trick is to compile this something like:
+Assuming the above source is in file @file{trapfpe.c},
+then compile this routine as follows:
@smallexample
-gcc -o libtrapfpe.a trapfpe.c
+gcc -c trapfpe.c
@end smallexample
-and then use it by adding @option{-trapfpe} to the @command{g77} command line
-when linking.
+and subsequently use it by adding @file{trapfpe.o} to the @command{g77}
+command line when linking.
@node Nonportable Conversions
@subsection Nonportable Conversions
to fix PR 25494. Bubblestrapped on x86_64-unknown-linux-gnu and make dvi.
--
Toon Moene - e-mail: toon@moene.indiv.nluug.nl - phone: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
A maintainer of GNU Fortran 95: http://gcc.gnu.org/fortran/
More information about the Gcc-patches
mailing list