https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125354

--- Comment #2 from Harald Anlauf <anlauf at gcc dot gnu.org> ---
For reference: for the code

implicit none
print *, num_images()
end

both NAG and ifx print 1 without any option (equivalent to -fcoarray=single),
and a number > 1 (times number) when -coarray is given.

So the least surprising choice is -fcoarray=single, which also avoids
unexpected overhead.

(We would need to audit the testsuite anyway for compile-only cases where
we have to add -fcoarray=none).

Unfortunately I do no longer have access to crayftn, which used to enable
coarrays by default.

Reply via email to