This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]