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

paulthomas2 at wanadoo dot fr gcc-bugzilla@gcc.gnu.org
Tue Apr 26 12:56:00 GMT 2005


------- Additional Comments From paulthomas2 at wanadoo dot fr  2005-04-26 12:53 -------
Tobi,

The component base is almost completely redundant - especially, where C indices 
are used, such as in matmul.  It can always be calculated from the bounds and 
the stride, in any case.  Most of the operations where speed is of the essence 
will do the indexing in the same way as matmul.

I think that I would be inclined to do away with it.

As to changing the range of the second index: it works fine with the insertions 
removed.

Paul T

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18857



More information about the Gcc-bugs mailing list