[Patch, fortran] PR20779 and PR20891 - allocation of STAT or specification variables in same call

Erik Schnetter schnetter@cct.lsu.edu
Mon Sep 18 17:28:00 GMT 2006


What about expressions like

	allocate (x(kind(i)), stat=i)
	allocate (x(size(i)), stat=i(1))

where a variable appears in the expression determining the shape to  
be allocated, but where the value of the variable is irrelevant?

I don't think these are important cases, but since I'm not too  
familiar with the gcc internals, I don't know whether your case  
statements examining the expression handle that, or whether kind(i)  
is treated like a function call.

-erik

-- 
Erik Schnetter <schnetter@cct.lsu.edu>

My email is as private as my paper mail.  I therefore support encrypting
and signing email messages.  Get my PGP key from www.keyserver.net.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20060918/a2a1705c/attachment.sig>


More information about the Fortran mailing list