📄 ppc-ldstruct.c
字号:
/* { 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -