This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: Strange error


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


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