[Patch,Fortran] PR 45756 Fix muliple-decl issue with PARAMETER
Jerry DeLisle
jvdelisle@frontier.com
Tue Sep 28 14:06:00 GMT 2010
On 09/28/2010 06:03 AM, Tobias Burnus wrote:
> For PARAMETERs in MODULEs which are of derived type or array-valued gfortran
> creates a static variable. This patch ensures that no extra declaration is
> generated for use associated parameters.
>
> If one runs the testcase (see PR) without patch, the result of
> -fdump-tree-original-uid is:
>
> iD.1554 = paraD.1556[0];
> jD.1559 = paraD.1561[0];
>
> with the patch, the result is:
> iD.1513 = paraD.1510[0];
> jD.1516 = paraD.1510[0];
>
>
> Build on x86-64-linux and currently regtesting; if it succeeds:
> OK for the trunk?
>
Yes, OK for trunk, Thanks for patch!
Jerry
More information about the Fortran
mailing list