http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45586
--- Comment #25 from tkoenig at netcologne dot de <tkoenig at netcologne dot de> 2011-01-16 16:23:29 UTC --- Maybe it would be better to set the "inherited" pointer and target attributes much earlier, in gfc_variable_attr. With a bit of luck, things would then work automatically.