http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47601
--- Comment #15 from Kris <kristopher.kuhlman at gmail dot com> 2011-05-27 03:33:15 UTC --- (In reply to comment #14) > *) The error is triggered by USEing a module in which a 'bad' procedure is > defined. > *) A 'bad' procedure is one having > b) a dummy argument 'foo' which is an extended derived type > a) another dummy argument 'bar', whose dimension(s) depends on a component > of > 'foo' I had this bug, but it went away when I verbatim copied the procedure I was USEing and removed the USE statement (not optimal, but ok). I still have lots of other extended types and no other problems with gfortran -- based on my limited experience, whatever triggers this bug is pretty subtle.