20020108-1.c

来自「this is a gcc file, you can download it 」· C语言 代码 · 共 17 行

C
17
字号
/* This testcase failed on i686 because (const_int -1) was changed into   (const_int 0xffff) when storing it into SImode pseudo, but was not   converted back to (const_int -1) when returning from store_expr,   eventhough target was (subreg:HI (reg/v:SI indx)).  But (const_int 0xffff)   is not valid general_operand in HImode.  *//* { dg-do compile } *//* { dg-options "-O2" } *//* { dg-options "-O2 -mcpu=i686" { target i?86-*-* } } */voidfoo (unsigned short *cp){  unsigned short indx;  *cp = indx = 0xFFFF;}

⌨️ 快捷键说明

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