alias-1.c

来自「linux下编程用 编译软件」· C语言 代码 · 共 18 行

C
18
字号
/* { dg-options "-O2 -fargument-noalias-global -fdump-tree-optimized" } */int f;void link_error ();void g(int *i){  *i = 0;  f = 1;  if (*i != 0)    link_error ();}/* We should have removed the link_error on the tree level as we told GCC   that *i cannot point to f via the option -fargument-noalias-global. *//* { dg-final { scan-tree-dump-times "link_error" 0 "optimized"} } *//* { dg-final { cleanup-tree-dump "optimized" } } */

⌨️ 快捷键说明

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