http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59016
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- With the test in comment 1, I get on x86_64-apple-darwin13: TYPE(atomic_kind_type), pointer :: atomic_kind 1 Error: Derived type 'atomic_kind_type' at (1) is being used before it is defined ,:0: Included at _gfortran_dot_product:4096: Included at __convert_h1_i16:4096: Included at __builtin_frexpf:4096: Included at __atomic_fetch_and_16:4096: Included at __builtin_ia32_packssdw:4096: Included at __builtin_ia32_cvtsi2sd:4096: Included at __builtin_ia32_monitor:4096: Included at :4096: \U42C27000\x01/ f951: internal compiler error: Segmentation fault: 11 f951: internal compiler error: Abort trap: 6 gfc: internal compiler error: Abort trap: 6 (program f951) Abort