comdat4.c

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

C
58
字号
// PR c++/16276// { dg-do link }// { dg-additional-sources " comdat4-aux.cc" }// { dg-options "-O2" }extern voidbar (int x);inline voidfoo (int i){  switch (i)    {    case 3:    case 5:    case 6:    case 9:    case 15:      bar (1);      break;    case 2:    case 4:    case 7:    case 10:    case 11:    case 12:      bar (2);      break;    case 0:    case 1:    case 8:    case 13:    case 16:      bar (3);      break;    case 14:      bar (4);      break;    default:      bar (5);      break;    }}void *fooaddr = (void *) foo;voidbar (int x){  __asm __volatile ("" : : "r" (x));}intmain (void){  return 0;}

⌨️ 快捷键说明

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