This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Strange error
- From: Thomas Koenig <tkoenig at netcologne dot de>
- To: "giacomo \"giotti\" mariani" <giacomomariani at yahoo dot it>
- Cc: fortran at gcc dot gnu dot org
- Date: Mon, 27 Jul 2009 15:07:16 +0200
- Subject: Re: Strange error
- References: <4A6D759A.90309@yahoo.it>
giacomo "giotti" mariani wrote:
> maglincont.exe: ../../../libgfortran/generated/matmul_r8.c:96:
> matmul_r8: Assertion `((a)->dtype & 0x07) == 2 || ((b)->dtype & 0x07)
> ==
> 2' failed
Apart from the advice of the others on this list (that this is probably
due to memory corruption) I would specifically recommend that you
upgrade to 4.4.1 or to the latest trunk and use -fbounds-check.
There are significant improvements to bounds checking of array
intrinsics in 4.4. For example, bounds checking was only added to
matmul in 4.4.
Thomas