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

--- Comment #12 from Arjen Markus <arjen.markus895 at gmail dot com> ---
Hi Dominique,

that is the sort of output I would expect indeed. The memory leak is
to be expected: the program does not explicitly release the allocated
array/matrix.

It inspired me to check the same program with Cygwin - it works fine
under Cygwin (details of gfortran below), so it might be a
MinGW-specific problem, as Jerry suggested - ugh.

Regards,

Arjen

----
gfortran under Cygwin:
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/4.8.3/lto-wrapper.exe
Target: x86_64-pc-cygwin
Configured with:
/cygdrive/i/szsz/tmpp/cygwin64/gcc/gcc-4.8.3-2/src/gcc-4.8.3/configure
--srcdir=/cygdrive/i/szsz/tmpp/cygwin64/gcc/gcc-4.8.3-2/src/gcc-4.8.3
--prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--libexecdir=/usr/libexec --datadir=/usr/share --localstatedir=/var
--sysconfdir=/etc --libdir=/usr/lib --datarootdir=/usr/share
--docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C
--build=x86_64-pc-cygwin --host=x86_64-pc-cygwin
--target=x86_64-pc-cygwin --without-libiconv-prefix
--without-libintl-prefix --enable-shared --enable-shared-libgcc
--enable-static --enable-version-specific-runtime-libs
--enable-bootstrap --disable-__cxa_atexit --with-dwarf2
--with-tune=generic
--enable-languages=ada,c,c++,fortran,lto,objc,obj-c++
--enable-graphite --enable-threads=posix --enable-libatomic
--enable-libgomp --disable-libitm --enable-libquadmath
--enable-libquadmath-support --enable-libssp --enable-libada
--enable-libgcj-sublibs --disable-java-awt --disable-symvers
--with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as
--with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix
--without-libintl-prefix --with-system-zlib --libexecdir=/usr/lib
Thread model: posix
gcc version 4.8.3 (GCC)

2014-07-01 12:59 GMT+02:00 dominiq at lps dot ens.fr
<gcc-bugzi...@gcc.gnu.org>:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61628
>
> --- Comment #11 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Created attachment 33038
>   --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33038&action=edit
> gzipped output of the executable on x86_64-apple-darwin13 r212179
>
> --
> You are receiving this mail because:
> You reported the bug.

Reply via email to