https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64578
--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- I don't see the segmentation fault on x86_64-apple-darwin14 and 4.9.(2|3) or trunk (5.0 with or without patches). However I get the ICE if I remove the comment. Note that with 4.8.(4|5) I get the following error for the test in comment 0: ptr => return_pointer(f) ! runtime segmentation fault 1 Error: Different ranks in pointer assignment at (1)