ppc-ldstruct.c
来自「this is a gcc file, you can download it 」· C语言 代码 · 共 20 行
C
20 行
/* { dg-do run { target powerpc*-*-eabi* powerpc*-*-elf* powerpc*-*-linux* } } *//* { dg-options "-O -mlong-double-128" } *//* SVR4 and EABI both specify that 'long double' is aligned to a 128-bit boundary in structures. */struct { int x; long double d;} s;int main(void){ if (sizeof (s) != 32) abort (); if ((char *)&s.d - (char *)&s != 16) abort (); exit (0);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?