https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68676
--- Comment #2 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- On Thu, Dec 03, 2015 at 01:02:02PM +0000, dominiq at lps dot ens.fr wrote: > --- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > See the thread starting at > https://gcc.gnu.org/ml/fortran/2015-12/msg00030.html. > > Note that I don't see these failures on x86_64-apple-darwin14 (no valgrind > error). > Note, I see the problem on i386-*-freebsd, and I do not see the problem on x86_64-*-freebsd. So, it appears to a 32-bit vs 64-bit pointer issue (ie., someone is stomping on someone else's memory). Paul's code may in fact be correct, but it may be exposing a latent bug. :(