inline-mcpy.c

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

C
12
字号
/* Test if we inline memcpy even with -Os, when the user requested it.  *//* Don't name this test with memcpy in its name, otherwise the scan-assembler   would be confused.  *//* { dg-do compile { target *-*-linux* } } *//* { dg-options "-Os -minline-all-stringops" } *//* { dg-final { scan-assembler-not "memcpy" } } */char f(int i){  char *ram_split[] = { "5:3", "3:1", "1:1", "3:5" };  return ram_split[i][0];}

⌨️ 快捷键说明

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