https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68778
--- Comment #2 from Bálint Aradi <baradi09 at gmail dot com> --- For me on x86_64-linux, with GNU Fortran (GCC) 5.2.0 it produces: TEST2: ASSOCIATED? (EXPECT: F) T Since, it is an uninitialized c-pointer, it probably depends pretty much on the environment whether the test fails or not.