[Patch, fortran] PR35810 - [TR 15581 / F2003] Automatic reallocation on assignment to allocatable variables

Paul Richard Thomas paul.richard.thomas@gmail.com
Tue Nov 30 17:04:00 GMT 2010


Dear Tobias,


> And as "xwrkt =invima (...)" only sets one element, all other elements are
> undefined according to the Fortran standard.  But, using SUM, one accesses
> all elements.

Absolutely right - that's the point, isn't it?

Thus, your patch is correct.

Thanks

Paul



More information about the Fortran mailing list