This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH][4.3] Deprecate -ftrapv
In Fortran, integers are used to index arrays. So if you want
integer overflow checking, use -fbounds-check :-)
I know there is a smiley here, but it seems to me that range checking
is quite different from overflow checking.
I think what Toon was alluding to is that "real" Fortran programmers
don't use integers except for array subscripts. Real life is floating-