This is the mail archive of the gcc-patches@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]

Re: [Patch, Fortran] assumed-rank some bound intrinsics support, fix failures and improve diagnostcs


Mikael Morin wrote:
On 20/07/2012 12:19, Tobias Burnus wrote:
Build and regtested on x86-64-linux.
OK for the trunk?

OK.

Thanks! Committed as Rev. 189743.


Mikael: I wouldn't mind if you could have a look at the scalarizer - you
seem to have an idea how one can implement it with minimal effort/code
cluttering.
This is exaggerated. I just said that the scalarizer can't generate a variable number of loops. I can have a look next week. Could you post what is left from your initial {l,u}bound patch? It has been raining assumed rank patches and I'm lost now.

Well, the good news is that the just approved/committed patch contains everything which I had before. It turned out that I don't need the scalarizer change for the current implementation.


Thus, lbound(x, dim=i) works now; as do ubound(x, dim=i) and size(x)/size(x,dim=i).

Only failing are:
  lbound(x) / ubound(x) / shape(x)

Thanks for offering to take a look!


In terms of pending patches, I currently only have one: The just posted C_PTRDIFF_T patch.


Tobias


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