public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/31696]  New: -malign-double trashes fortran format
@ 2007-04-25  9:33 KnowlesPJ at Cardiff dot ac dot uk
  2007-04-25 15:34 ` [Bug fortran/31696] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: KnowlesPJ at Cardiff dot ac dot uk @ 2007-04-25  9:33 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1259 bytes --]

The following code goes wrong with gfortran -malign-double (but is OK without
malign-double)

PROGRAM test
 CHARACTER(80) :: buffer
 READ (*,1) buffer
1 FORMAT(a)
END PROGRAM test

$ gfortran -v
Using built-in specs.
Target: i386-apple-darwin8.9.1
Configured with: ../gcc-4.3-20070316/configure --enable-languages=fortran,c++
Thread model: posix
gcc version 4.3.0 20070316 (experimental)
$ uname -a
Darwin m038.chem.cf.ac.uk 8.9.1 Darwin Kernel Version 8.9.1: Thu Feb 22
20:55:00 PST 2007; root:xnu-792.18.15~1/RELEASE_I386 i386 i386
$ gfortran -malign-double format.f90
$ echo xxx | ./a.out
At line 3 of file format.f90
Fortran runtime error: Missing initial left parenthesis in format
H       å? 
$ gfortran  format.f90
$ echo xxx | ./a.out


-- 
           Summary: -malign-double trashes fortran format
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: KnowlesPJ at Cardiff dot ac dot uk
 GCC build triplet: i386-apple-darwin8.9.1
  GCC host triplet: i386-apple-darwin8.9.1
GCC target triplet: i386-apple-darwin8.9.1


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


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

end of thread, other threads:[~2012-10-31  3:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-31696-4@http.gcc.gnu.org/bugzilla/>
2012-10-14  4:35 ` [Bug fortran/31696] -malign-double trashes fortran format dominiq at lps dot ens.fr
2012-10-31  3:55 ` gnu.0kn at gishpuppy dot com
2007-04-25  9:33 [Bug fortran/31696] New: " KnowlesPJ at Cardiff dot ac dot uk
2007-04-25 15:34 ` [Bug fortran/31696] " pinskia at gcc dot gnu dot org
2007-04-25 15:47 ` KnowlesPJ at Cardiff dot ac dot uk
2007-04-25 17:12 ` pinskia at gcc dot gnu dot org
2007-04-25 18:58 ` burnus at gcc dot gnu dot org
2007-04-25 21:46 ` KnowlesPJ at Cardiff dot ac dot uk
2007-04-25 21:58 ` 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).