This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/18857] MATMUL failing with ALLOCATED matrices, unless base indices given
- From: "Tobias dot Schlueter at physik dot uni-muenchen dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Apr 2005 20:47:19 -0000
- Subject: [Bug fortran/18857] MATMUL failing with ALLOCATED matrices, unless base indices given
- References: <20041206185831.18857.paulthomas2@wanadoo.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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