摘要: 用gcc 8.2.0不同的优化参数编译下面这段代码,运行结果是完全不一样的: 1 #include <stdio.h> 2 #include <pthread.h> 3 #include <unistd.h> 4 5 int a = 0; 6 int b = 1; 7 8 void doA(){ 9 阅读全文
posted @ 2020-08-16 12:12 小明583 阅读(183) 评论(0) 推荐(0)