ssa-fre-3.c

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

C
23
字号
/* This test requires:      TRULY_NOOP_TRUNCATION (sizeof (int) * CHAR_BIT,			     sizeof (long long) * CHAR_BIT)   When the condition is true, we distribute "(int) (a + b)" as   "(int) a + (int) b", otherwise we keep the original.  *//* { dg-do compile { target { { ! mips64 } && { ! spu-*-* } } } } *//* { dg-options "-O -fwrapv -fdump-tree-fre-details" } *//* From PR14844.  */intfoo (int a, int b){  long long aa = a;  long long bb = b;  return aa + bb;}/* { dg-final { scan-tree-dump "Replaced \\\(int\\\) aa_.*with a_" "fre" } } *//* { dg-final { cleanup-tree-dump "fre" } } */

⌨️ 快捷键说明

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