[Bug fortran/18857] MATMUL failing with ALLOCATED matrices, unless base indices given
Tobias dot Schlueter at physik dot uni-muenchen dot de
gcc-bugzilla@gcc.gnu.org
Mon Apr 25 20:47:00 GMT 2005
------- Additional Comments From Tobias dot Schlueter at physik dot uni-muenchen dot de 2005-04-25 20:47 -------
Subject: Re: MATMUL failing with ALLOCATED matrices, unless
base indices given
paulthomas2 at wanadoo dot fr wrote:
> Does this do it for you? - it works with those assertions eliminated.
It doesn't work for me,
a.out: ../../../gcc-clean/libgfortran/generated/matmul_r4.c:161: matmul_r4:
Assertion `a->base == 0' failed.
Aborted
but I'm not sure if understood your question.
I'm kinda surprised it works with the assertions removed, as I don't see
anything in the implementation which deals with a->base != 0. Does it also
work if you change the lower bound in the second dimension in one of the
pointer assignments?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18857
More information about the Gcc-bugs
mailing list