[Patch, Fortran] Fix coarray's num_images()/this_image() variables

Jerry DeLisle jvdelisle@frontier.com
Sat May 7 00:08:00 GMT 2011


On 05/03/2011 11:31 PM, Tobias Burnus wrote:
> The global variables generated to store this_image/num_images were wrong in
> several ways:
>
> - translation-unit (TU) dependent name (could be same or different)
> - variable generated in every TU - and not only in one
> - not pushed - which could cause already failures with one TU
>
> Now, the variable is generated for the TU of the main program - and in the
> others declared as DECL_EXTERNAL, additionally the variable is pushed to make
> sure it is generated. Thanks to Jakub for the suggestions!
>
> Build and currently regtesting.
> OK for the trunk?
>


Yes, I think so, considering.  ;)

Jerry



More information about the Gcc-patches mailing list