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