re PR libfortran/17143 (2**63 prints garbage)
authorBud Davis <bdavis9659@comcast.net>
Wed, 25 Aug 2004 00:31:33 +0000 (00:31 +0000)
committerBud Davis <bdavis@gcc.gnu.org>
Wed, 25 Aug 2004 00:31:33 +0000 (00:31 +0000)
commit5352bda03ee91af3e4592d0f62178fae15daab40
tree8fea482f4eead23b6036f3b25416d71571d83c8c
parent0d9f6a32e752c86c85053d46262e9bf901399a68
re PR libfortran/17143 (2**63 prints garbage)

2004-08-24  Bud Davis  <bdavis9659@comcast.net>

        PR fortran/17143
        * runtime/error.c (itoa): keep from overflowing during
        mod operation by using unsigned variable.

        * gfortran.dg/pr17143.f90: New test.

From-SVN: r86532
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr17143.f90 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/runtime/error.c