loop-29.c

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

C
22
字号
/* PR 31885 *//* { dg-do compile } *//* { dg-options "-O1 -fdump-tree-empty" } */struct s {    int *blah;};static struct s array[] = { { 0 } };voidfoo (struct s *p){  struct s *q = &array[1];  while (p < q)    p++;}/* { dg-final { scan-tree-dump-times "Removing empty loop" 1 "empty" } } *//* { dg-final { cleanup-tree-dump "empty" } } */

⌨️ 快捷键说明

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