Re: [fortran,patch] Fix Cray pointers in modules

2014-06-09 Thread Paul Richard Thomas
Dear Francois-Xavier, The patch and the logic behind it, including the name dependence, is fine. OK for trunk and, I suggest, 4.9 and 4.8 after a suitable delay. Thanks! Paul On 8 June 2014 18:40, FX wrote: > The attached one-line patch fixes PR45187 > (https://gcc.gnu.org/bugzilla/show_bug.

[fortran,patch] Fix Cray pointers in modules

2014-06-08 Thread FX
The attached one-line patch fixes PR45187 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45187), where we would sometimes try to create the backend_decl of Cray-pointees twice. We should simply bail out early of the procedure, following what is done in the similar situation in gfc_finish_var_dec