| delorie.com/archives/browse.cgi | search |
| From: | Martin Ambuhl <mambuhl AT earthlink DOT net> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: DJGPP tools and utilities SIGFPE'ng after Floating Exception |
| Date: | Wed, 11 Nov 1998 13:14:24 -0500 |
| References: | <3 DOT 0 DOT 3 DOT 32 DOT 19981111084939 DOT 006b14d0 AT dce03 DOT ipt DOT br> |
| Organization: | Nocturnal Aviation |
| X-Posted-Path-Was: | not-for-mail |
| X-Accept-Language: | en |
| Mime-Version: | 1.0 |
| Lines: | 25 |
| NNTP-Posting-Host: | 1cust56.tnt12.nyc3.da.uu.net |
| X-ELN-Date: | Wed Nov 11 10:25:03 1998 |
| X-Mailer: | Mozilla 4.5 [en] (Win95; I) |
| Message-ID: | <3649D400.C0411794@earthlink.net> |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Cesar Scarpini Rabak wrote:
>
> I noticed make version 3.77 and rm from fileutils 3.16 exit with a SIGFPE
> just after a fortran (g77 version 0.5.23) program had aborted with a
> "Floating Exception".
>
> Below is the minimum I managed to reproduce the problem. My environment is
> a Pentium 200 S with 128 Meg of RAM:
I can't reproduce your problem, but your program is in error. Note the
change that I have made below (the line with the comment):
program buggy
integer quadrado ! *** otherwise implicitly real ***
print *, 'O quadrado de ', 5, ' eh ', quadrado(5)
end program buggy
integer function quadrado(x)
integer x
quadrado=x*x
end function quadrado
--
Martin Ambuhl (mambuhl AT earthlink DOT net)
Note: mambuhl AT tiac DOT net will soon be inactive
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |