代码搜索:empty
找到约 10,000 项符合「empty」的源代码
代码结果 10,000
www.eeworm.com/read/240162/4580682
c empty2.c
// { dg-do assemble }
// Origin: Mark Mitchell
struct E {};
void f () {
E e1, e2;
e1 = e2; // We should not warn about this statement, even though no
// code
www.eeworm.com/read/233448/4671727
h empty6.h
struct A {};
struct B {
A a;
virtual void f () {}
int i;
};
www.eeworm.com/read/233448/4671837
c empty1.c
// { dg-do run }
// Copyright (C) 2001 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 3 Sept 2001
// Bug 4203. We were bit copying empty bases including th
www.eeworm.com/read/233448/4672135
c empty-1.c
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
struct S {};
S bar (const S &a)
{
S s;
s = a;
return s;
}
/* Test whether memcpy call has been optimized out. */
/* {
www.eeworm.com/read/233448/4672160
c empty7.c
// { dg-do run { target i?86-*-* } }
// { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } }
// { dg-options "-fabi-version=0" }
struct S1 {};
struct S2 { virtual void f () {} S1 s1[4]; };
struct S3 : vi
www.eeworm.com/read/233448/4672163
c empty6.c
// { dg-options "-Wabi" }
struct A {};
struct B {
A a; // { dg-warning "empty" "" { xfail mmix-*-* } }
virtual void f () {}
} __attribute__((aligned(8)));
/* The preceding attribute is necessary
www.eeworm.com/read/233448/4672182
c empty8.c
// { dg-do run }
// { dg-options "-fabi-version=0" }
struct E1 {};
struct E2 : public E1 {};
struct S1 { int i; };
struct S2 : public S1, E2 {};
S2 s2;
int main () {
if ((char *)(E2*) &s2 != (cha
www.eeworm.com/read/233448/4672202
c empty4.c
// { dg-do run }
// Copyright (C) 2001 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 31 Jul 2001
// Bug 3820. We were bit copying empty bases including th
www.eeworm.com/read/233448/4672208
c empty9.c
// { dg-do run { target i?86-*-* } }
// { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } }
// { dg-options "-w -fabi-version=0" }
struct E1 {};
struct E2 : public E1 {
virtual void f ();
};
struct E3
www.eeworm.com/read/233448/4672232
c empty11.c
// { dg-do run }
// { dg-options "-w -fabi-version=0" }
struct E {};
struct E2 : public E {};
struct E3 : public E, public E2 {};
struct E4 : public E, public E2, public E3 { };
struct E5 : public E,