loop-22.c

来自「用于进行gcc测试」· C语言 代码 · 共 18 行

C
18
字号
/* { dg-options "-O2 -fdump-tree-final_cleanup" } */int a[100];void test (int n){  int i;  for (i = 0; i < n; i += 3)    a[i] = i;}/* We used to replace the exit test "i < n" by "i != ((n-1)/3) * 3 + 1".  Although   correct, this transformation is obviously harmful.  *//* { dg-final { scan-tree-dump-times "/" 0 "final_cleanup" } } *//* { dg-final { cleanup-tree-dump "final_cleanup" } } */

⌨️ 快捷键说明

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