pr20739.c

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

C
25
字号
/* PR middle-end/20739 *//* dg-do compile *//* dg-options "-O" *//* We used to fail to compile this because gimplification dropped the   conversion that added the const qualifier to the sub-expression   involving baz, and then immediately noticed and reported its   absence.  */typedef struct {     char chars[5]; } baz_t;  extern baz_t * baz;  extern void foo (baz_t); int bar (const baz_t * ls) {     foo (ls == 0 ? *(&baz[0]) : *ls); }

⌨️ 快捷键说明

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