https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67451
--- Comment #13 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- The patch fixes the two issues I saw on x86_64-apple-darwin15 (comment 10 and an ICE when compiling the test with -fcoarray=lib).