sparc-trap-1.c
来自「用于进行gcc测试」· C语言 代码 · 共 22 行
C
22 行
/* PR target/15693 *//* { dg-do compile } *//* { dg-options "-O2" } *//* This used to fail on SPARC at -O2 because the combiner produces a compare insn that was not rematched by the compare expander. */static __inline__ __attribute__ ((always_inline))int page_mapping (unsigned flags){ if (1u & (flags >> 16)) return 1; return 0;}void install_page (unsigned flags){ if (__builtin_expect (!page_mapping (flags), 0)) __builtin_trap ();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?