20020122-3.c

来自「this is a gcc file, you can download it 」· C语言 代码 · 共 16 行

C
16
字号
/* Check that the combination of -Os and -fprefetch-loop-arrays does not   cause the compiler to crash, which it originally did on i?86.   Warnings are turned off because not all targets support prefetch.  *//* { dg-do compile } *//* { dg-options "-Os -fprefetch-loop-arrays -w" } *//* { dg-options "-Os -fprefetch-loop-arrays -mcpu=pentium3 -w" { target i?86-*-* } } */int foo (int *p, int n){  int i, r;  for (i = 0; i < n; i++)    r += p[i];  return r;}

⌨️ 快捷键说明

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