http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53778
--- Comment #2 from Thomas Orgis <thomas.orgis at awi dot de> 2012-06-27 08:58:57 UTC --- Created attachment 27710 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27710 tarball with complete source to reproduce the issue Ok, then, I feared as much. After taking too much time off the work I get actually paid for (did I say that scientific programming sucks?) ... here is a tarball that reproduces the issue for me and is hopefully small enough to serve as a starting point. It is a set of modules, most of which should not be relevant, just tedious to eliminate. The important sources are datafield.f90, bottomwind.f90 and perturb.f90 ... well just start from dat_init_wind(), which exhibits the bug when called just after dat_init_density() (with inside call to pert_perturb()).