[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#518642: /usr/bin/gfortran: "-malign-double" induces segmentation fault in presence of format string



Package: gfortran
Version: 4:4.3.2-2
Severity: normal
File: /usr/bin/gfortran


The fortran program

write(6,*) 'string1'
write(6,'(A)') 'string2'
end

outputs string1 and issues a segmentation fault before printing string2
when compiled with gfortran and flag -malign-double. Without this flag
the program ends normally.

Best regards,
João


-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pt_PT (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages gfortran depends on:
ii  cpp                           4:4.3.2-2  The GNU C preprocessor (cpp)
ii  gcc                           4:4.3.2-2  The GNU C compiler
ii  gfortran-4.3                  4.3.2-1.1  The GNU Fortran 95 compiler

gfortran recommends no packages.

Versions of packages gfortran suggests:
ii  gfortran-doc                  5:2        documentation for the GNU Fortran 
pn  gfortran-multilib             <none>     (no description available)

-- no debconf information



Reply to: