pr21829.c
来自「用于进行gcc测试」· C语言 代码 · 共 22 行
C
22 行
/* { dg-do compile } *//* { dg-options "-O2 -fdump-tree-phicprop-details" } */int test(int v){ int x = 0; int u; for (u=0;u<2;u++) { if (u>v) { if (u%2==1) x++; } } return x;}/* { dg-final { scan-tree-dump-times "Original statement:.*% 2\[ \t\n]*Updated statement.*=1" 0 "phicprop3" } } *//* { dg-final { cleanup-tree-dump "phicprop\[1-3\]" } } */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?