Re: [Patch, Fortran] CLASS handling for assumed-rank arrays

2012-07-05 Thread Mikael Morin
On 26.06.2012 19:12, Tobias Burnus wrote: Build and regtested on x86-64-linux. OK for the trunk? Tobias OK once the preliminary patch gets approved. Mikael

Re: [Patch, Fortran] CLASS handling for assumed-rank arrays

2012-06-26 Thread Tobias Burnus
On 06/26/2012 07:12 PM, Tobias Burnus wrote: +i = 1 That should be i = 0, sorry for attaching an old version of the patch. Tobias +call foo(ac) +call foo(at) +call bar(ac) +call bar(at) +if (i /= 12) call abort() +

[Patch, Fortran] CLASS handling for assumed-rank arrays

2012-06-26 Thread Tobias Burnus
This patch assumes that the basic assumed-rank support is included, http://gcc.gnu.org/ml/fortran/2012-06/msg00144.html The attached patch implements the support of passing non-assumed-rank type/class arrays to assumed-rank class/type dummy arguments (type was working before). And passing assu