[patch, fortran] Load scalar intent-in variables at the beginning of procedures
Tobias Burnus
tobias@codesourcery.com
Fri Nov 22 10:17:00 GMT 2019
I have now filled https://gcc.gnu.org/PR92628 as ME bug to track this
(i.e. honor TYPE_RESTRICT for pointer-escape analysis).
Cheers,
Tobias
On 11/21/19 3:36 PM, Tobias Burnus wrote:
> On 11/21/19 3:09 PM, Richard Biener wrote:
>> So I think what you'd need to do is make 'i' marked as TYPE_RESTRICT
>> then. I think we don't yet handle it but it means that bar() may not
>> modify 'i' but via 'i' (but it doesn't get 'i' as a parameter).
> Okay, that would be then the attached patch. â I can confirm that it
> does not work.
More information about the Fortran
mailing list