ssa-chrec-15.c

来自「Mac OS X 10.4.9 for x86 Source Code gcc」· C语言 代码 · 共 25 行

C
25
字号
/* APPLE LOCAL file lno *//* { dg-do compile } */ /* { dg-options "-O1 -floop-test -fdump-tree-lptest-details" } */int main (void){  int a;  int b;  int c;    /* Exercises the MINUS_EXPR.  loop_1 runs 50 times.  */  for (a = 100; a > 50; a--)    {          }}/* The analyzer has to detect the following evolution function:   a  ->  {100, +, -1}_1*//* { dg-final { scan-tree-dump-times "set_nb_iterations_in_loop = 50" 1 "lptest"} } */

⌨️ 快捷键说明

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