20020122-3.c

来自「Mac OS X 10.4.9 for x86 Source Code gcc」· C语言 代码 · 共 17 行

C
17
字号
/* 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 -mtune=pentium3 -w" { target i?86-*-* } } *//* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */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 + -
显示快捷键?