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 paulthomas2 at wanadoo dot fr  2005-04-25 15:35 -------
Subject: Re:  MATMUL failing with ALLOCATED matrices, unless base indices given

>> 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
>
Nonetheless, matmul is the only case where this assertion is imposed in the 
m4 functions.  It doesn't do anything, except assert the "pathological 
case".

I was going to consider all the variants tonight, including your example. 
Your message has spurred me on.

Paul 




-- 


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]