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/35873] New: problem with gfortran -malign-double


--> discovered error with gcc 4.2.1
--> fetched newest gcc binary (4.4.0): error persists
--> my system: openSuse 10.3 Linux i686 (Pentium 4)
--> gcc -malign-double test.f; a.out # ERROR: Segmentation violation
--> gcc test.f; a.out # OK

--> test.f:
      program test
      character*20 wrkmem
      call getenv("WRKMEM",wrkmem)
      write (0,*)   wrkmem
      read (wrkmem, '(I20)', err=10) lmwrkmem
      write (0,*) lmwrkmem
      stop
   10 continue
      write (0,*) 'err'
      end


-- 
           Summary: problem with gfortran -malign-double
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjj at ifk dot sdu dot dk


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


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