Mail Archives: djgpp/1998/11/11/14:00:44
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
- Raw text -