https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64578
--- Comment #18 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > It seems that this has been fixed for gfortran 5 and all test cases > are handled properly now. Can we close the PR? This is true for the gcc-5 branch. However compiling the test in comment 6 gives and ICE pr64578_1.f90:1:0: print *, associated(return_pointer()) ! ICE internal compiler error: Segmentation fault: 11 The change occurred between revisions r224160 (2015-06-05, compiles) and r224647 (2015-06-19, ICE). IMO this PR can be closed provided a new one is filed for the regression.