[Patch, Fortran] PR 46937 - fix function annotation for derived types with pointer component

Steve Kargl sgk@troutmask.apl.washington.edu
Tue Dec 14 17:35:00 GMT 2010


On Tue, Dec 14, 2010 at 05:13:25PM +0100, Tobias Burnus wrote:
> gfortran 4.6 annotates functions to tell the middle end that certain 
> arguments are not modified.
> 
> Well, the previous patch was too eager by forgetting about pointer 
> components of derived types, as the PR shows. This patch adds a check 
> for  (proc-)pointer components and also takes care of BT_CLASS.
> 
> Build and currently regtesting on x86-64-linux.
> OK for the trunk?
> 

OK.

-- 
Steve



More information about the Gcc-patches mailing list