⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ssa-ccp-10.c

📁 用于进行gcc测试
💻 C
字号:
/* { dg-do compile } *//* { dg-options "-O1 -fdump-tree-fab" } *//* Check that we fold strlen of equally long strings, and that we do not   fail to terminate when there is a nontrivial cycle in the corresponding   ssa graph.  */extern __SIZE_TYPE__ strlen (const char *);void foo(int i){  char *s = "abcde";  if (i)    {      s = "defgh";      goto middle;    }start:  bla ();middle:  if (bla ())    goto start;  bar (strlen (s));}/* There should be no calls to strlen.  *//* { dg-final { scan-tree-dump-times "strlen" 0 "fab"} } *//* { dg-final { cleanup-tree-dump "fab" } } */

⌨️ 快捷键说明

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