代码搜索结果
找到约 10,000 项符合
Layout 的代码
layout3.c
// { dg-do run { target i?86-*-* x86_64-*-* } }
// { dg-require-effective-target ilp32 }
// { dg-options "-fabi-version=0 -w" }
struct S {
virtual void f() {}
};
struct T : virtual public S { };
layout4.c
// { dg-do run { target i?86-*-* x86_64-*-* } }
// { dg-require-effective-target ilp32 }
// { dg-options "-fabi-version=1" }
struct C4
{
int b:30;
C4(){};
};
struct C1: virtual C4
{
int i;
layout2.c
// Red Hat bugzilla 65210
// { dg-do run }
struct A {
int a;
};
struct B : public virtual A {};
struct C {
long double c;
};
struct D : public virtual C {
int d;
};
struct E : public B,
layout1.c
// Red Hat bugzilla 64535
// Bug: We are allocationg stuff into the tail padding of POD class "A".
// { dg-do run }
struct A
{
int x;
char y;
};
struct B : public A {
virtual void f () {}
ch
layout1.c
// { dg-do run }
// Origin: Mark Mitchell
#if defined (__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100
struct R
{
virtual void r ();
};
struct S
{
virtual void f ();
};
layout-1.mm
/* Ensure that we do not get bizarre warnings referring to
__attribute__((packed)) or some such. */
/* { dg-do compile } */
/* { dg-options "-Wpadded -Wpacked -Wabi" } */
#include
layout-1.m
/* Ensure that we do not get bizarre warnings referring to
__attribute__((packed)) or some such. */
/* { dg-do compile } */
/* { dg-options "-Wpadded -Wpacked" } */
#include
@int
strct-layout.c
typedef struct
{
char a;
int b;
char c;
short d;
double e;
char f;
} T;
#if COMPILER != 1
f (T *x)
{
x[0].a = 'a';
x[0].b = 47114711;
x[0].c = 'c';
x[0].d = 1234;
x[0].e = 3.141
zimage_layout.txt
Information about the Linux/PPC kernel images
=====================================================================
Please mail me me (Cort Dougan, cort@cs.nmt.edu) if you have questions,
c