代码搜索:Scan
找到约 10,000 项符合「Scan」的源代码
代码结果 10,000
www.eeworm.com/read/162614/5530378
c loop-5.c
/* A test for induction variable merging. */
/* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-vars" } */
void foo(long);
void xxx(void)
{
long iter, jter;
for (iter = 0, jter = 2; ite
www.eeworm.com/read/162614/5530531
c stdarg-5.c
/* This test has architecture specific function passing details. */
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-stdarg" } */
#include
extern void foo (int, va_list);
extern
www.eeworm.com/read/162614/5530567
c bool-1.c
/* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-optimized" } */
int f(_Bool x)
{
if (x != 0)
return 1;
return 0;
}
/* There should be no != 0 which is produced by the front-end as
www.eeworm.com/read/162614/5530568
c bool-5.c
/* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-optimized" } */
int f(_Bool x)
{
if (x == 1)
return 1;
return 0;
}
/* There should be no == 1 which is produced by the front-end as
www.eeworm.com/read/162614/5530585
c phi-opt-5.c
/* { dg-do compile } */
/* { dg-options "-O1 -ffinite-math-only -fdump-tree-phiopt1" } */
float repl1 (float varx)
{
if (varx < 0.0)
return 0.0;
else if (varx > 1.0)
return 1.0;
else
www.eeworm.com/read/162614/5530594
c pr18133-1.c
/* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-optimized-blocks" } */
void foo (void)
{
void *p;
p = &&L0;
goto *p;
L0:
return;
}
/* The goto &L0 should have been optimized away during CFG
www.eeworm.com/read/162614/5530597
c vrp09.c
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-vrp" } */
foo (int *p)
{
int x = baz ();
if (p == 0)
goto L78;
else
{
x = *p;
/* This should be folded to if (1).
www.eeworm.com/read/162614/5530602
c bool-9.c
/* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-optimized" } */
_Bool f1(_Bool x)
{
return !!x;
}
/* There should be no != 0 which is produced by the front-end as
bool_var != 0 is the
www.eeworm.com/read/162614/5530616
c builtin-vfprintf-chk-1.c
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-fab" } */
#include
typedef struct { int i; } FILE;
FILE *fp;
extern int __vfprintf_chk (FILE *, int, const char *, va_list);
volat
www.eeworm.com/read/162614/5531068
c cmdlne-di-c.c
/* Copyright (C) 2005 Free Software Foundation, Inc. */
/* PR 13726 */
/* { dg-do preprocess } */
/* { dg-options "-dI -C" } */
#include "cmdlne-dI-C.h" /* #include comment */
/* comment 2 */
/* {