This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/29562] New: -malign-double breaks formatted IO


The program

   program gftest

     write(*,'(a)') 'Hello World'

   end program gftest

generates the erroneous error report 

   At line 3 of file gftest.f90
   Fortran runtime error: Missing initial left parenthesis in format
   Äø

when compiled with the "-malign-double" flag.  In a larger program
"-malign-double" results in various undefined behaviour including segmentation
faults.


-- 
           Summary: -malign-double breaks formatted IO
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: refson dot temp at ntlworld dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]