📄 a.17.1.c
字号:
/* { dg-do compile } */voida17_1_wrong (){ union { int n; float x; } u;#pragma omp parallel {#pragma omp atomic u.n++;#pragma omp atomic u.x += 1.0;/* Incorrect because the atomic constructs reference the same location through incompatible types */ }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -