This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is there a way to abort a run on exception?


Steve Kargl wrote:
On Sun, Feb 25, 2007 at 05:01:10PM +0100, Dominique Dhumieres wrote:
See -ffpe-trap. Not sure if it works on your OS.
Unforunately you are right:

[karma] lin/source% gfc -O1 -ffpe-trap fatigue.f90
f951: error: unrecognized command line option "-ffpe-trap"

You need to RTFM.


laptop:kargl[208] gfc4x -o z -fopenmp -ffpe-trap o.f90
f951: error: unrecognized command line option "-ffpe-trap"
laptop:kargl[209] gfc4x -o z -fopenmp -ffpe-trap='invalid' o.f90

We really could stand to improve the error messages in these cases....


- Brooks


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]