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

tobi at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Apr 25 14:13:00 GMT 2005


------- Additional Comments From tobi at gcc dot gnu dot org  2005-04-25 14:13 -------
(In reply to comment #3)
> The question remains: What to do with the offset field?
> Fix it in the front end for static arrays, or remove it
> altogether?

The offset field is used for something like this:
  REAL, POINTER :: a(:), c(:)
  REAL, TARGET :: b(25)
  a => b(5:)
  c => a(3:)
  end

I'm not sure this could be done without it, especially in the multi-dimensional
case.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tobi at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list