https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98476
--- Comment #2 from Ye Luo <xw111luoye at gmail dot com> --- @jakub thanks for the quick reply. However, even if I add map(to: a) which is almost a no-op to satisfy the compiler for 4.5 spec. The printout result is still wrong. It should be 0 and 1 but the fortran case prints 0 and 0.