public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/61499] New: Internal read of negative integer broken in 4.9.0 on
@ 2014-06-13 14:55 krefson at gmail dot com
  2014-06-13 17:49 ` [Bug libfortran/61499] [4.9/410 Regression] Internal read of negative integer broken jvdelisle at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: krefson at gmail dot com @ 2014-06-13 14:55 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61499

            Bug ID: 61499
           Summary: Internal read of negative integer broken in 4.9.0 on
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: libfortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: krefson at gmail dot com

Created attachment 32933
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32933&action=edit
Source for testcase

The attached file compiles bug gives erroneous results with fortran 4.9.0 and
4.9.1

gfortran -static-libgfortran -o internal2 internal2.f90
/usr/bin/ld: warning: -z ignore ignored.
/usr/bin/ld: warning: -z record ignored.
[kr@kohn gfortran-4.9.1]$ ./internal2
 Error: Bad integer for item 2 in list input

[kr@kohn gfortran-4.9.1]$ gfortran --version
GNU Fortran (GCC) 4.9.1 20140611 (prerelease)

Expected output (4.8.2)

 ./internal2.4.8.2
           1           1          -1           1          -1           1

Note that this is closely related to bug #61173. That bug is fixed in the above
version, but internal reads of integer data are still failing as in this case.


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

end of thread, other threads:[~2014-07-07  3:39 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-13 14:55 [Bug libfortran/61499] New: Internal read of negative integer broken in 4.9.0 on krefson at gmail dot com
2014-06-13 17:49 ` [Bug libfortran/61499] [4.9/410 Regression] Internal read of negative integer broken jvdelisle at gcc dot gnu.org
2014-06-25 11:16 ` rguenth at gcc dot gnu.org
2014-06-25 20:08 ` [Bug libfortran/61499] [4.9/4.10 " pault at gcc dot gnu.org
2014-06-26 12:49 ` rguenth at gcc dot gnu.org
2014-06-27  4:24 ` jvdelisle at gcc dot gnu.org
2014-06-27  4:27 ` jvdelisle at gcc dot gnu.org
2014-06-27 21:12 ` jvdelisle at gcc dot gnu.org
2014-06-27 21:35 ` jvdelisle at gcc dot gnu.org
2014-06-27 21:38 ` jvdelisle at gcc dot gnu.org
2014-07-03 18:51 ` pault at gcc dot gnu.org
2014-07-04 16:24 ` krefson at gmail dot com
2014-07-07  3:39 ` jvdelisle at gcc dot gnu.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).