[Bug fortran/31563] Arithmetic overflow and BOZ
kargl at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Apr 13 17:38:00 GMT 2007
------- Comment #5 from kargl at gcc dot gnu dot org 2007-04-13 18:38 -------
(In reply to comment #4)
> With Hex and octal numbers - there is no overflow as long as there are enough
> bits - that is why g95 and Absoft do not complain.
>
g95 and absoft do not complain because these compilers either
do not correctly implement the F2003 behavior of BOZ literal
constants in a data statement and do not check for overflow
or these compilers silently assume twos compliment wrap
around semantics.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31563
More information about the Gcc-bugs
mailing list