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] |
So what you're suggesting is that integer ABS should explicitly compare its argument against -2**31 everytime it's called? I think that's a really bad idea.
b) Implement the switch from my patch, which allows a programmer to explicitly say "ignore the standard" for the sake of interoperability.
If the compiler can detect something like this, have it issue an error. Otherwise, don't hurt the people that don't do such things. If someone thinks that this is an error that should be caught by the library, one can add a compiler flag that makes it link against a library with complete error checking. But this should by no means be the default behavior.
-- Scott Robert Ladd Coyote Gulch Productions (http://www.coyotegulch.com) Software Invention for High-Performance Computing
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |