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

[Bug fortran/18857] MATMUL failing with ALLOCATED matrices, unless base indices given


------- 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


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