[Patch, Fortran] Subsections of assumed-size arrays have a known shape (PR30882)

Tobias Burnus burnus@net-b.de
Fri Mar 2 08:56:00 GMT 2007

:ADDPATCH fortran:

The shape/size for the assumed-size array dummy argument "integer ::
a(*)" is unkown. However, if one passes it as actual argument "a(1:10)"
to a procedure then its shape/size is known.

Found by Joost VandeVondele

Bootstrapped and regression tested on x86_64-unknown-linux-gnu.
Ok for the trunk, 4.2 and 4.1?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: size.diff
Type: text/x-patch
Size: 1364 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070302/c97e48bd/attachment.bin>

More information about the Gcc-patches mailing list