public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/17143] New: 2**63 prints garbage
@ 2004-08-23  4:33 epc8 at juno dot com
  2004-08-23  4:43 ` [Bug libfortran/17143] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: epc8 at juno dot com @ 2004-08-23  4:33 UTC (permalink / raw)
  To: gcc-bugs

integer*8 i
j=0
i=1
5 print *,j,i
  j=j+1
  i=i+i
  if (i.ne.0) goto 5
end

prints....
          62  4611686018427387904
          63 -'..--).0-*(+,))+(0(

Using built-in specs.
Configured with: ../gcc-3.5-20040815/configure --with-gmp=/gmp --with-mpfr=/gmp
--prefix=/irun --enable-languages=c,c++,f95
Thread model: single
gcc version 3.5.0 20040815 (experimental)

i686-pc-cygwin

-- 
           Summary: 2**63 prints garbage
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: epc8 at juno dot com
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17143


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libfortran/17143] 2**63 prints garbage
  2004-08-23  4:33 [Bug fortran/17143] New: 2**63 prints garbage epc8 at juno dot com
@ 2004-08-23  4:43 ` pinskia at gcc dot gnu dot org
  2004-08-24  3:16 ` bdavis at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-23  4:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-23 04:43 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|fortran                     |libfortran
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-08-23 04:43:49
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17143


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libfortran/17143] 2**63 prints garbage
  2004-08-23  4:33 [Bug fortran/17143] New: 2**63 prints garbage epc8 at juno dot com
  2004-08-23  4:43 ` [Bug libfortran/17143] " pinskia at gcc dot gnu dot org
@ 2004-08-24  3:16 ` bdavis at gcc dot gnu dot org
  2004-08-25  0:31 ` cvs-commit at gcc dot gnu dot org
  2004-08-25  0:34 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: bdavis at gcc dot gnu dot org @ 2004-08-24  3:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bdavis at gcc dot gnu dot org  2004-08-24 03:16 -------
proposed patch here:

http://gcc.gnu.org/ml/fortran/2004-08/msg00189.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17143


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libfortran/17143] 2**63 prints garbage
  2004-08-23  4:33 [Bug fortran/17143] New: 2**63 prints garbage epc8 at juno dot com
  2004-08-23  4:43 ` [Bug libfortran/17143] " pinskia at gcc dot gnu dot org
  2004-08-24  3:16 ` bdavis at gcc dot gnu dot org
@ 2004-08-25  0:31 ` cvs-commit at gcc dot gnu dot org
  2004-08-25  0:34 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-08-25  0:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-08-25 00:31 -------
Subject: Bug 17143

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	bdavis@gcc.gnu.org	2004-08-25 00:31:33

Modified files:
	gcc/testsuite  : ChangeLog 
	libgfortran/runtime: error.c 
	libgfortran    : ChangeLog 
Added files:
	gcc/testsuite/gfortran.dg: pr17143.f90 

Log message:
	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.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/pr17143.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4187&r2=1.4188
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/runtime/error.c.diff?cvsroot=gcc&r1=1.2&r2=1.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&r1=1.65&r2=1.66



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17143


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libfortran/17143] 2**63 prints garbage
  2004-08-23  4:33 [Bug fortran/17143] New: 2**63 prints garbage epc8 at juno dot com
                   ` (2 preceding siblings ...)
  2004-08-25  0:31 ` cvs-commit at gcc dot gnu dot org
@ 2004-08-25  0:34 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-25  0:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-25 00:34 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |3.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17143


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-08-25  0:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-23  4:33 [Bug fortran/17143] New: 2**63 prints garbage epc8 at juno dot com
2004-08-23  4:43 ` [Bug libfortran/17143] " pinskia at gcc dot gnu dot org
2004-08-24  3:16 ` bdavis at gcc dot gnu dot org
2004-08-25  0:31 ` cvs-commit at gcc dot gnu dot org
2004-08-25  0:34 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).