[Bug fortran/31563] Arithmetic overflow and BOZ
dir at lanl dot gov
gcc-bugzilla@gcc.gnu.org
Fri Apr 13 14:28:00 GMT 2007
------- Comment #3 from dir at lanl dot gov 2007-04-13 15:28 -------
I do not see why you say the numbers over flow - g95 gives exactly the correct
answer when I print them out
[dranta:~/junk] dir% g95 -o mask mask.f90
[dranta:~/junk] dir% mask
80000000
FF000000
[dranta:~/junk] dir% cat mask.f90
INTEGER *4 msk1, msk4
data msk1/x'80000000'/
data msk4/o'37700000000'/
msk1=x'80000000'
msk4=o'37700000000'
PRINT '(Z8)', msk1
PRINT '(Z8)', msk4
end
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31563
More information about the Gcc-bugs
mailing list