a.17.3.f90

来自「用于进行gcc测试」· F90 代码 · 共 19 行

F90
19
字号
! { dg-do compile }      SUBROUTINE A17_3_WRONG        INTEGER:: I        REAL:: R        EQUIVALENCE(I,R)!$OMP PARALLEL!$OMP ATOMIC            I=I+1! incorrect because I and R reference the same location! but have different types!$OMP END PARALLEL!$OMP PARALLEL!$OMP ATOMIC            R = R + 1.0! incorrect because I and R reference the same location! but have different types!$OMP END PARALLEL      END SUBROUTINE A17_3_WRONG

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?