plateform
stringclasses
1 value
repo_name
stringclasses
2 values
name
stringlengths
1
78
ext
stringclasses
2 values
path
stringlengths
15
1.11k
size
int64
1
8.55M
source_encoding
stringclasses
11 values
md5
stringlengths
32
32
text
stringlengths
0
8.49M
google
android
20100423-1_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20100423-1_0.C
641
utf_8
2a7a5a7671c4b3a945046f309d83de60
// { dg-lto-do assemble } // { dg-lto-options {{-g -flto}} } namespace llvm { class Function; class MachineCodeInfo; class ExecutionEngine { }; class JIT : public ExecutionEngine { void runJITOnFunction (Function * F, MachineCodeInfo * MCI = 0); }; class JITEventListener { public: ...
google
android
20080908-1_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20080908-1_0.C
520
utf_8
53b2c5e2b842344746a58f63fa6d2e3c
/* { dg-lto-do run } */ extern "C" { extern void *memcpy (void *, const void *, unsigned); } inline int bci (const float &source) { int dest; memcpy (&dest, &source, sizeof (dest)); return dest; } inline float bcf (const int &source) { float dest; memcpy (&dest, &source, sizeof (dest)); return dest; } float F...
google
android
20101010-4_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20101010-4_0.C
242
utf_8
9a71674949fecc4e5eed40d1adc33bc9
// { dg-lto-do link } // { dg-lto-options { { -std=c++0x -flto -r -nostdlib } { -std=c++0x -flto -g -r -nostdlib } } } typedef decltype(nullptr) nullptr_t; class shared_ptr { public: shared_ptr(nullptr_t __p); }; shared_ptr p = nullptr;
google
android
pr51832_1
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr51832_1.C
21
utf_8
0cfea78d345afcb7a26d55fb9f94d052
#include "pr51832.h"
google
android
20091022-1_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20091022-1_0.C
296
utf_8
6e256583bb6b48177771c608182c3b6d
// { dg-lto-do link } // { dg-extra-ld-options "-fwhole-program" } template <int dim> struct AutoDerivativeFunction { virtual void gradient_list (void); }; template <int dim> void AutoDerivativeFunction<dim>::gradient_list (void) { } template class AutoDerivativeFunction<1>; int main() {}
google
android
20081118-1_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20081118-1_0.C
197
utf_8
e32d73cb2418a3865b03cb8eec3120a3
/* { dg-lto-do link } */ class C { public: C(); virtual ~C(); virtual void foo(); }; void bar() { new C(); } C::C() { } C::~C() { } void C::foo() { } int main(void) { return 0; }
google
android
pr45983_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr45983_0.C
379
utf_8
dea28ab6f6b16a4fe65dafffe3df1f3d
// PR c++/45983 template <int N> class T1 { int m[N]; typedef float scalar_type_t; typedef scalar_type_t scalar_array_t[1]; const scalar_array_t &decay(void) const; }; class T2 { public: float vals[1]; float get_value(void) const { return vals[0]; } }; T2 channel_params; float output_audio(void...
google
android
20081127_1
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20081127_1.C
59
utf_8
00a4b3a5f5bba08b5ae29d858c727ea2
struct Foo { Foo(); }; Foo::Foo() { } main() { return 0; }
google
android
pr51992_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr51992_0.C
1,591
utf_8
2b967b6c9cef6eeb0273dce87f53022f
// PR c++/51992 // { dg-lto-do assemble } template<typename Enum> class QFlags { int i; public: inline QFlags(Enum f) : i(f) {} }; class QString {}; class KComponentData; class KConfig { public: enum OpenFlag { IncludeGlobals = 0x01, CascadeConfig = 0x02, FullConfig = IncludeGlobals|CascadeConfig...
google
android
pr45679-2_1
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr45679-2_1.C
4,376
utf_8
eb977e11accaf5ceaed39ff5df8e4abd
extern "C" { typedef struct __locale_struct { } *__locale_t; union wait { }; extern "C" { } typedef struct _IO_FILE FILE; typedef struct { union { } __value; } _G_fpos64_t; struct _IO_marker { } _IO_cookie_io_functions_t; extern struct _IO_FILE *stderr; ...
google
android
20081022_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20081022_0.C
75
utf_8
a590c0ac4d5808adbba47e80431ea783
#include "20081022.h" int f (foo * a) { return a->bar (); } main() { }
google
android
pr52400_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr52400_0.C
222
utf_8
05d66d3b91c45cd54dcaf71c78635301
// { dg-lto-do run } extern "C" { static int f4(int); int f5(int a) { extern int f4(int); return f4(a); } } int f4(int a) { return 4+a; } int main(int argc, char *argv[]) { int a = f4(1); return !(a == 5); }
google
android
20080924_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20080924_0.C
240
utf_8
981216fdf488c75ea6a2463c529cd3fe
// { dg-lto-do assemble } // { dg-lto-options {{-O2 -flto -fno-strict-aliasing}} } namespace ns { template <class> class hash_set { }; } struct Foo { long long f1, f2, f3; }; void func(ns::hash_set<int>) { Foo foo = { 0, 0, 0 }; }
google
android
20081204-2_1
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20081204-2_1.C
90
utf_8
a51a29dfd3ecb8ca173a6c8cd8dc45bd
namespace { class c { public: c () {} virtual ~c() {} }; }; void foo (void) { c x; }
google
android
20081118-1_1
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20081118-1_1.C
113
utf_8
ee6c53515fae9f8cd35761771f0f9e6b
class C { public: C(); virtual ~C(); virtual void foo(); }; class D { ~D(); C lexer_; }; D::~D() { }
google
android
20081204-2_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20081204-2_0.C
142
utf_8
571c7616d2ca33e375adf11be7141e4c
// { dg-lto-do link } // { dg-lto-options {{-flto -flto-partition=1to1 -O3}} } extern void foo (void); int main () { foo (); return 0; }
google
android
20090312_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20090312_0.C
161
utf_8
44d2e8dbcae3642141963580e1caae86
#include "20090312.h" extern "C" { extern enum Values x; extern JSErrorCallback p; }; main() { if ( x == ONE && p == 0) return 0; return 1; }
google
android
20090311_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20090311_0.C
172
utf_8
edded7810c07e02a1b6bd033a9855f16
class C1 { public: virtual ~C1() { } }; class C2 : public C1 { public: C2(void *q); virtual void A(); }; int main(int argc, char **argv) { C2 h(0); return 0; }
google
android
20090303_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20090303_0.C
460
utf_8
5d025a198f0ec34fa1f066c22d120f5c
/* { dg-lto-do run } */ /* { dg-require-effective-target fpic } */ /* { dg-lto-options {{-flto -flto-partition=1to1 -fPIC}} } */ /* { dg-lto-options {{-flto -flto-partition=1to1}} { target sparc*-*-* } } */ /* { dg-suppress-ld-options {-fPIC} } */ void foobar(int *, int* __x) ; int test_ints[30]; int j; void fooba...
google
android
20090221_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20090221_0.C
647
utf_8
22ecab189817e094ba8eaaa343bc616a
// { dg-lto-do assemble } extern void some_function (const char *); extern bool some_other_function (); struct Foo { long long a; int b; }; bool Foo_eq(Foo x, Foo y) { return x.a == y.a && x.b == y.b; } struct Bar { Foo a; int b; }; struct Baz { Bar a; Baz(Bar &a):a(a) { } }; struct Zonk { Baz baz; Bar f...
google
android
pr47333
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr47333.C
23,597
utf_8
8b6ed0febb7b8cb0b71d1abbb9768498
namespace std { typedef unsigned int size_t; typedef int ptrdiff_t; } namespace std __attribute__ ((__visibility__ ("default"))) { template<typename _Alloc> class allocator; template<class _CharT> struct char_traits; template<typename _CharT, typename _Traits = char_traits<_CharT>, typ...
google
android
pr42987_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr42987_0.C
302
utf_8
08a786b250f802e56e458c7d60a358fc
// { dg-lto-do run } // { dg-lto-options { { -flto -g } { -flto -flto-partition=none -g } } } #include <typeinfo> struct B { virtual void b() {} }; static B* f() { struct D : public B { }; return new D; } extern B* g(); int main () { if (typeid (*f()) == typeid (*g())) return 1; }
google
android
20081204-1_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20081204-1_0.C
483
utf_8
e07b4e6132e20d55eb7f629f6c8850f1
/* { dg-lto-do link } */ /* { dg-require-effective-target fpic } */ /* { dg-lto-options {{-flto -flto-partition=1to1 -fPIC -r -nostdlib}} } */ /* Tests for the absence during linking of: lto1: error: type of '_ZTVN10__cxxabiv120__si_class_type_infoE' does not match original declaration */ struct Foo { vi...
google
android
pr53470_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr53470_0.C
575
utf_8
75277aaca640889b23c288c9d8090dc1
// { dg-lto-do link } // { dg-lto-options { { -g -flto } } } class sp_counted_base; class shared_count { sp_counted_base *pi_; public: template<class Y> shared_count(Y) : pi_() {} ~shared_count() {} }; template<class T> struct shared_ptr { T element_type; template<class Y> shared_ptr(Y) : pn(0) {} shared_c...
google
android
20080916_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20080916_0.C
196
utf_8
d90d326db72bc2e718a056490356f263
/* { dg-lto-do assemble } */ enum _Ios_Fmtflags { _S_boolalpha }; class ios_base { static const _Ios_Fmtflags boolalpha = _S_boolalpha; _Ios_Fmtflags _M_flags; }; ios_base& g() { }
google
android
20081217-2_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20081217-2_0.C
204
utf_8
3cb8890c26a8b56dfd2026bd17dc5618
struct A { virtual int foo() {} }; struct B { virtual int f() {return 1; } }; struct C : public A, public B { C(); virtual int f() { return 0; } }; C::C() { } main() { C c; return c.f(); }
google
android
20090311-1_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20090311-1_0.C
363
utf_8
ed3f2f02a90d3e3fbf121d26f40748c9
/* { dg-lto-do run } */ #include "20090311-1.h" bool flag; struct B { int a; enum { ANOTHER, ONE } f2_; float c; }; extern struct B x[]; struct C { int x; struct B *p; float d; }; C c = { 0, 0, 3.4 }; struct A { enum { UNO, DOS, TRES } f1_; int x; }; A a; extern int foo(); main()...
google
android
20081008_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20081008_0.C
374
utf_8
1b67921988c55a80293c9b1fdcf021e7
// { dg-lto-do assemble } // { dg-lto-options {{-flto}} } struct Foo { virtual void func() = 0; }; struct Bar { Foo *field; void func2(); }; struct Baz { Bar &bar(); Baz(); }; struct Zonk { virtual ~Zonk() { } virtual void func3() = 0; }; void Mumble(Zonk *) { } extern "C" { void __attribute__ ((nothrow)...
google
android
20081120-2_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20081120-2_0.C
208
utf_8
83990cb73a74ba0b6a789590cd7c3e55
// { dg-lto-do link } // { dg-lto-options {{-flto -r -nostdlib}} } template < typename > struct Foo { inline void rdstate() { } }; extern template struct Foo<int>; struct Bar:virtual public Foo<int> { };
google
android
20080926_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20080926_0.C
154
utf_8
56555ff718439a233cf8facf89434c06
// { dg-lto-do assemble } // { dg-lto-options {{-O2 -flto -fno-strict-aliasing}} } extern int foo(); void bar() { try { int i = foo(); } catch(int) { } }
google
android
20091004-2_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20091004-2_0.C
689
utf_8
72f07943291a1bb78b519323564469de
// { dg-lto-do link } // { dg-require-effective-target fpic } // { dg-lto-options {{-fPIC -O -flto}} } typedef double Real; class Vector { int dimen; Real* val; public: Vector& operator=(const Vector& vec); Vector(int p_dimen, Real *p_val) : dimen(p_dimen), val(p_val) { } int dim() const; }; cl...
google
android
20080709_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20080709_0.C
93
utf_8
7e2d91b237717acf2d48024593e875e3
// { dg-lto-do run } class Init { }; int f(Init *a) { } int main(void){ return 0; }
google
android
20081119-1_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20081119-1_0.C
295
utf_8
042b304fbcc845fa5922189f415051d1
/* { dg-lto-do link } */ /* { dg-require-effective-target fpic } */ /* { dg-lto-options {{-fPIC -flto -flto-partition=1to1 -r -nostdlib}} } */ #include "20081119-1.h" extern __gnu_cxx::new_allocator<int> X; int f (__gnu_cxx::new_allocator<int> * a) { return a->max_size () + X.max_size(); }
google
android
20091210-1_1
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20091210-1_1.C
105
utf_8
e5e25bc32bb88fc22d2586e2e9ce5ea6
#include "20091210-1_0.h" struct Foo : Base { virtual void g(); }; void Foo::g() {} int main() {}
google
android
20100603-1_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20100603-1_0.C
298
utf_8
d5a740ed1fea61cc2b9d9836fe1c4731
/* { dg-lto-do link } */ extern "C" { typedef struct {} CvImage; extern CvImage* Cv_ImageNew(void); } void __attribute__((noinline,noclone)) _Raytrace(CvImage* LImage) { __asm volatile (""); } int main(int LArgC, char** LArgV) { CvImage* LImage = Cv_ImageNew(); _Raytrace(LImage); }
google
android
pr52605_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr52605_0.C
461
utf_8
0b8cd619eccd9ac6f32d145111bcb551
// { dg-lto-do link } // { dg-lto-options {{-flto -g}} } extern "C" void abort (void); class A { public: virtual int foo (int i); }; int A::foo (int i) { return i + 1; } int __attribute__ ((noinline,noclone)) get_input(void) { return 1; } int main (int argc, char *argv[]) { class B : public A { public...
google
android
pr45621_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr45621_0.C
152
utf_8
73aaf0ac9f0d89731fe141c67cc8b8c2
// { dg-lto-do assemble } // { dg-extra-ld-options "-O2 -fipa-cp-clone -flto -nostdlib -r" } #include "pr45621.h" void foo () { s.v1 (); s.m (); }
google
android
20100721-1_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20100721-1_0.C
248
utf_8
64db11f264fde37296b436ed28032f9d
/* { dg-lto-do assemble } */ static inline int __gthread_active_p (void) { } template <int rank, int dim> class Tensor; template <int dimension> struct G; template <int dim> class T { typedef void A; typedef Tensor<1,dim> F[G<dim>::v]; };
google
android
20081118_1
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20081118_1.C
218
utf_8
22f845269c768ec466d90cf5dca63657
class object { public: virtual ~object() {} }; class bar : public object { static bar *method(void); }; class quxx : public bar { public: static void method(); }; bar* bar::method (void) { quxx::method(); }
google
android
20090311-1_1
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20090311-1_1.C
289
utf_8
4bd241066ec44d418a463b706bee517f
#include "20090311-1.h" struct A { enum { UNO, DOS, TRES } f1_; int x; }; struct B; extern struct B x[]; struct C { int x; struct B *p; float d; }; extern A a; extern B b; extern bool flag; extern C c; int foo() { if (!flag) return a.x - c.x; return 0; }
google
android
pr48042_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr48042_0.C
159
utf_8
fdd5358067d13a78dca149d8fd4055d2
// { dg-lto-do link } // { dg-extra-ld-options "-r -nostdlib -g" } class A { virtual int x() = 0; }; class B:public A { int x(); }; int B::x() { }
google
android
20100423-3_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20100423-3_0.C
148
utf_8
549953447a149f7358b587964c1b47b6
// { dg-lto-do assemble } // { dg-lto-options {{-flto -g}} } inline int foo() { static union { int i; }; return i; } void bar() { foo(); }
google
android
20080829_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20080829_0.C
449
utf_8
c3ea1857c08073dd9cb62c97df1dfc09
// { dg-lto-do assemble } /* The replacement of cos+sin with __builtin_cexpi done by pass_cse_sincos was using a builtin for which we had no attributes. This was causing the operand scanner to materialize a VDEF at the builtin call-site which was not marked for renaming, thus tripping up the SSA verifier. ...
google
android
pr62026
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr62026.C
311
utf_8
58886bc1f7545de2cda92d6ac053db8b
// { dg-lto-do link } // { dg-lto-options {{-flto -O3 -r -nostdlib}} } class C; class F { virtual C m_fn1(); }; class C { public: virtual int *m_fn3(int); }; class G : F, C { int offsets; int *m_fn3(int); }; C *a; int *G::m_fn3(int) { if (offsets) return 0; } void fn1() { for (;;) a->m_fn3(0); }
google
android
20090112_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20090112_0.C
154
utf_8
ea89b08bb23cbd99492773e11d27c75c
// { dg-lto-do run } const char *func(int val) { switch (val) { case 2147483647: return "foo"; default: return ""; } } int main() { return 0; }
google
android
20081209_1
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20081209_1.C
69
utf_8
f7fc820b56efba6c7763744da17a87c9
class foo { public: foo (); virtual ~foo (); }; foo::~foo () { }
google
android
20081120-1_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20081120-1_0.C
269
utf_8
e55c4a40516aef14b13f5607b73d43fa
// { dg-lto-do link } // { dg-lto-options {{-flto -r -nostdlib}} } extern "C" { extern __inline __attribute__((__gnu_inline__)) int pthread_equal(int, int) { } } static __typeof(pthread_equal) __gthrw_pthread_equal __attribute__((__weakref__("pthread_equal")));
google
android
20081125_1
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20081125_1.C
77
utf_8
56d0e04444b7731d273408282100a65b
#include "20081125.h" base * base::factory(void) { return new object (); }
google
android
20090315_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20090315_0.C
212
utf_8
a58810431206d4d69ca9a85560c06a8e
// { dg-lto-do run } struct Foo { bool Mumble() { return true; } static void Bar() { if (foo_->Mumble()) foo_ = 0; } static void Baz() { Bar(); } static Foo *foo_; }; Foo *Foo::foo_; main() { return 0; }
google
android
pr45679-1_1
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr45679-1_1.C
4,089
utf_8
ec5935b10537f3bfc7da8e1c82db2411
extern "C" { typedef struct _IO_FILE FILE; extern struct _IO_FILE *stderr; extern int fprintf (FILE *__restrict __stream, __const char *__restrict __format, ...); } enum { kPOVMSObjectClassID = 'OCLA', kPOVMSMessageClassID = 'MCLA', kPOVMSMessageIdentID = 'MIDE', kPOV...
google
android
20081123_1
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20081123_1.C
309
utf_8
f3245c139a2b28a71403a0061bac1b7b
struct foo { const int* int_array; const void* default_instance; }; struct bar { static const bar& _default_instance; static const foo _internal_foo; }; struct quxx { static int trouble[]; }; int quxx::trouble[] = { }; const foo bar::_internal_foo = { quxx::trouble, &bar::_default_instance };
google
android
20081211-1_1
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20081211-1_1.C
57
utf_8
b7c3e533b1333e670fd330cd8ec53900
#include "20081211-1.h" void foo::key_method (void) { }
google
android
pr48207_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr48207_0.C
166
utf_8
3560e67c101a0719de44ce66e776e884
// { dg-lto-do link } // { dg-lto-options { { -flto -g } } } void bar(int) {} void foo(void) { typedef enum { ABC } DEF; DEF a; bar((int)a); } int main() {}
google
android
pr48207-3_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr48207-3_0.C
153
utf_8
dc37f7a73a48e669903030d4f7f26b07
// { dg-lto-do link } // { dg-lto-options { { -flto -g } } } void bar(void) {} void foo(void) { typedef enum { ABC } DEF; bar(); } int main () {}
google
android
20101010-1_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20101010-1_0.C
2,096
utf_8
45561f27805e169674ba339fa18ebbdf
// { dg-lto-do link } typedef long size_t; template < class, class > struct pair { } ; template < typename > class allocator; template < typename > struct equal_to; template < class > struct hash; template < class, class, class, class, class, class > struct dense_hashtable_iterator; template < class, class, class...
google
android
20081203_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20081203_0.C
158
utf_8
a494295e27dd4c727a300e4487ea09bb
extern void f(); extern void g(); struct Foo { static inline void Bar() { f(); } }; static void Func() { Foo::Bar(); } int main() { g (); Func(); return 0; }
google
android
pr51650-1_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr51650-1_0.C
205
utf_8
b90d6df750f7386ab8b1f1d7e92568b4
// { dg-lto-do link } // { dg-lto-options { { -flto -g } } } struct T; struct C { typedef ::T T; static T *m () { static T *d; return d; } }; int fn () { C::m (); } int main() {}
google
android
20100519-1_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20100519-1_0.C
568
utf_8
e89d3b770980ea2a3f986f29c0a3114f
// { dg-lto-do link } template <typename Ordinal> struct DirectSerializationTraits { static void fromCountToDirectBytes(const Ordinal count) {} }; template<typename Ordinal> class SerializationTraits : public DirectSerializationTraits<Ordinal> { }; template <typename Ordinal> class ConstValueTypeSerializationBuffe...
google
android
20090302_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20090302_0.C
323
utf_8
1fe2897fd208065fcf256067ee7b904d
/* { dg-lto-do link } */ /* { dg-require-effective-target fpic } */ /* { dg-lto-options {{-fPIC -flto -flto-partition=1to1 -r -nostdlib}} } */ struct Foo { bool Mumble(); static void Bar() { if (foo_->Mumble()) foo_ = 0; } static void Baz() { Bar(); } static Foo *foo_; }; void Unused() { Foo::Bar(); Foo::Baz();...
google
android
20080912_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20080912_0.C
108
utf_8
cc8767eb274d922ccc29b3a8613651ba
// { dg-lto-do assemble } class Foo { virtual void f(); }; class Bar:public Foo { }; void func() { Bar(); }
google
android
20081023_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20081023_0.C
135
utf_8
70c8326841e0a44b78d4c90ba0094bc7
// { dg-lto-do link } extern inline void __attribute__ ((__always_inline__)) func (void) { } void f (void) { func (); } main() { }
google
android
20080915_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20080915_0.C
360
utf_8
582ffcc12dfa99424e77bd0fe41a7967
// { dg-lto-do assemble } struct Foo { static const int dummy; int bit_field:1; int dummy2:1; int dummy3:1; }; struct Bar { Foo foo; }; int func(const Bar& b) { return b.foo.bit_field; } struct Baz { Bar& operator*() {} }; void func1(Baz baz, int i, Bar bar) { i || func(bar); *baz = bar; } void func2(Baz...
google
android
20081119-1_1
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20081119-1_1.C
126
utf_8
7a76d161718bc7354e3dbefd0e6e40b4
#include "20081119-1.h" __gnu_cxx::new_allocator<int> X; int f (__gnu_cxx::new_allocator<int> a) { return a.max_size (); }
google
android
20101014-2_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20101014-2_0.C
196
utf_8
17718b8ed778a281742fae07bf632653
// { dg-lto-do assemble } template<class T, unsigned long l> inline unsigned long foo (T (&)[l]) { return l; } struct S { char *s[4]; S (); }; S::S () { typedef int T[foo (s) == 4 ? 1 : -1]; }
google
android
20081109-2_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20081109-2_0.C
166
utf_8
cab047bd2b2a56cdcf29b1021d61d01e
/* { dg-lto-do assemble } */ extern void func(int); struct Foo { void bar() { static int local; func(local); } void baz(); }; void Foo::baz() { bar(); }
google
android
20081219_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20081219_0.C
1,980
utf_8
81f1447d70b83f35d17575707c198126
// { dg-lto-do link } // { dg-require-effective-target fpic } // { dg-lto-options {{-fPIC -flto -flto-partition=1to1 -O2}} } // { dg-extra-ld-options "-O2 -fPIC -flto -flto-partition=1to1 -r -nostdlib" } typedef long int ptrdiff_t; extern "C" { typedef struct { } __mbstate_t; namespace std { class exce...
google
android
20110311-1_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20110311-1_0.C
682
utf_8
28b21fabaf7f23ceee461f8de2c7ac07
/* { dg-lto-do link } */ /* { dg-extra-ld-options "-r -nostdlib" } */ struct NullType {}; template <class T, class U> struct TList { typedef T Head; typedef U Tail; }; template <class T> struct TListLength {}; template <class T, class U> struct TListLength<TList<T,U> > { enum { Ret = 1 + TLi...
google
android
20090302_1
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20090302_1.C
154
utf_8
b695bcee4d477cea4f681d8982db9752
struct Foo { bool Mumble(); static void Bar() { if (foo_->Mumble()) foo_ = 0; } static void Baz() { Bar(); } static Foo *foo_; }; Foo *Foo::foo_;
google
android
20080904_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20080904_0.C
546
utf_8
87ec15bcb9a0ae242a5c3d889670e857
// { dg-lto-do run } /* This test will fail to link if the vtable for Derived is not emitted. */ class Base { public: Base(char *buf, unsigned len) : _buf(buf), _len(len) {} virtual int length () { return _len; } private: char * _buf; unsigned _len; }; class Derived : public Base { public: D...
google
android
20100722-1_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20100722-1_0.C
155
utf_8
31ee0ce50f6ef5bb5a3b66843f18efe5
/* { dg-lto-do assemble } */ template <class T> void void_cast_register(T *) __attribute__ ((used)); template <class T> void void_cast_register(T *) { }
google
android
pr45621_1
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr45621_1.C
76
utf_8
ed2299062ba04c6aedaee44243854103
#include "pr45621.h" void S::v1 () { v2 (); } void S::m () { v1 (); }
google
android
20100723-1_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20100723-1_0.C
230
utf_8
c30a9d6ebf4563d7c09fd20aab038b9c
/* { dg-lto-do link } */ /* { dg-lto-options {{-fcompare-debug -flto -flto-partition=none} {-fcompare-debug -flto -flto-partition=1to1}} } */ struct S { virtual void f() { } }; int main(int, char *[]) { S s; return 0; }
google
android
20081120-1_1
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20081120-1_1.C
202
utf_8
8449a608731447668cddc213c17ecbdb
extern "C" { extern __inline __attribute__((__gnu_inline__)) int pthread_equal(int, int) { } } static __typeof(pthread_equal) __gthrw_pthread_equal __attribute__((__weakref__("pthread_equal")));
google
android
20081119_1
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20081119_1.C
181
utf_8
5e1667c0d0b7c8628e5b3e5b0e6fcb93
class foo { public: foo () {} virtual ~foo() {} virtual void m() {} }; template<typename t> class bar : public foo { public: bar () {} }; void f2 (bar<int> *p) { p->m(); }
google
android
20100724-1_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20100724-1_0.C
290
utf_8
ba53ff01ebd53591af3f6b2df54e404b
/* { dg-lto-do link } */ /* { dg-lto-options {{-ftoplevel-reorder -flto -flto-partition=none} {-ftoplevel-reorder -flto -flto-partition=1to1}} } */ /* { dg-extra-ld-options {-r -nostdlib} } */ struct Foo { virtual ~Foo(); }; struct Bar:public Foo { Bar() { } }; void Func() { new Bar(); }
google
android
pr45679-1_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr45679-1_0.C
1,239
utf_8
aed0ba38a6ea060bc2e3e3202863de86
// { dg-lto-do link } // { dg-lto-options {{-O3 -Wno-multichar}} } // { dg-extra-ld-options "-flto -flto-partition=1to1 -r -nostdlib" } extern "C" { typedef struct __locale_struct { } *__locale_t; } typedef void * POVMSContext; struct POVMSData { }; int POVMS_OpenContext (POVM...
google
android
20081118_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20081118_0.C
333
utf_8
9f78ec143d2a982e1eba29f964737624
/* { dg-lto-do link } */ /* { dg-require-effective-target fpic } */ /* { dg-lto-options {{-fPIC -flto -flto-partition=1to1 -r -nostdlib}} } */ /* We used to ICE because of dangling pointers. */ class object { public: virtual ~object() {} }; class foo : public object { virtual int method(void); }; int foo::meth...
google
android
20081109_1
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20081109_1.C
32
utf_8
5f8f0441a7d158387241c67debd92e81
int foo (int x) { throw 10; }
google
android
pr48508-1_1
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr48508-1_1.C
88
utf_8
842d99a89fb0907e397026223c82662a
static void bar (void) { extern void foo (int); foo (0); } int main() { bar (); }
google
android
20101015-2_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20101015-2_0.C
187
utf_8
7886a4df1d24e9782ca9777ed87f06ac
// { dg-lto-do link } // { dg-lto-options { { -flto } { -g -flto } } } // { dg-extra-ld-options "-r -nostdlib" } struct Base { ~Base (); }; void fun(void) { struct Deriv : Base { } x; }
google
android
pr45679-2_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr45679-2_0.C
2,705
utf_8
588da265a71d0b6c46161075f6392c75
// { dg-lto-do link } // { dg-lto-options {{-O3 -Wno-multichar}} } // { dg-extra-ld-options "-flto -flto-partition=1to1 -r -nostdlib" } extern "C" { typedef struct { union { } __value; } __mbstate_t; struct _IO_marker { }; extern "C" { } }; namespace pov_base { class IOBase { }...
google
android
pr51573-1_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr51573-1_0.C
153
utf_8
e950fc0165d030e19e236b244a45dfb3
// { dg-lto-do link } // { dg-lto-options { { -flto } { -flto -g } } } struct T { virtual void m () { } }; int main () { bool fn (T); return 0; }
google
android
20101020-1_1
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20101020-1_1.C
88
utf_8
1de82ace856e550f4230ec640e6e0acd
#include "20101020-1_0.h" struct D { }; void A::bar (void *) { } void A::foo (Am1) { }
google
android
20100302_1
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20100302_1.C
95
utf_8
bd7e5b360aaa69ca4182436b84c325ff
// { dg-options "-fabi-version=0" } #include "20100302.h" int main() { f(& A<mm128>::t); }
google
android
pr51564-1_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr51564-1_0.C
132
utf_8
eef34d0bac5c827948f50f098287ef82
// { dg-lto-do link } // { dg-lto-options { { -flto -g } } } typedef int T; void foo(void) {} int main() { foo(); using ::T; }
google
android
20081120-2_1
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20081120-2_1.C
141
utf_8
6048e3b37f144550da1d984517f119a4
template < typename > struct Foo { inline void rdstate() { } }; extern template struct Foo<int>; struct Bar:virtual public Foo<int> { };
google
android
20100423-2_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20100423-2_0.C
135
utf_8
8c6118f7930008fecd8850c01a3c9049
// { dg-lto-do assemble } // { dg-lto-options {{-flto -g}} } struct A { virtual ~A(); }; void foo() { struct B : A {}; B b; }
google
android
pr48508-1_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr48508-1_0.C
144
utf_8
7ed4f30df2316b4c3ef339f322475c1c
// { dg-lto-do link } // { dg-lto-options { { -g -O2 -flto -flto-partition=none } } } void __attribute__((externally_visible)) foo (int i) { }
google
android
20080910-1_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20080910-1_0.C
80
utf_8
b4a616fe18097af8a6fa7226d5f333f0
// { dg-lto-do assemble } struct Foo { Foo(int); }; void func() { new Foo(0); }
google
android
20091022-2_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20091022-2_0.C
133
utf_8
dae8d29a4481b18cab90252e7c78ea53
// { dg-lto-do link } // { dg-lto-options {{-O3 -flto -Winline}} } #include <string> int main() { std::string i; i = "abc"; }
google
android
20080909-1_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20080909-1_0.C
80
utf_8
42370e2b0e5ddc6d2f9564966930e73f
// { dg-lto-do assemble } // { dg-lto-options {{-flto}} } int *i = (int[]) {0};
google
android
20101015-1_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20101015-1_0.C
964
utf_8
2c90b3784b24c08d941d2a9ff4d5b2db
// { dg-lto-do assemble } class DOMString { }; class DocumentImpl; class NodeImpl { public: static const DOMString& mapPrefix(const DOMString &prefix, const DOMString &namespaceURI, short nType); static DOMString getXmlnsURIString(); }; class DOM_Node { public: enum NodeType { ATTRIBUTE_NODE = 2 }; }; ...
google
android
pr51650-3_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr51650-3_0.C
227
utf_8
f9f4cc6f74092f14e5ed9b37f1f97e1f
// { dg-lto-do link } // { dg-lto-options { { -flto -g } } } struct T; struct C { typedef ::T T; virtual void E(); static T *m () { static T *d; return d; } }; int fn () { C::m (); } int main() {}
google
android
20091004-2_1
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20091004-2_1.C
672
utf_8
3b6f5df0d72b25e2fcc05fb8b2c91e6c
typedef double Real; class Vector { int dimen; Real* val; public: Vector& operator=(const Vector& vec); Vector(int p_dimen, Real *p_val) : dimen(p_dimen), val(p_val) { } int dim() const; }; class DVector : public Vector { public: void reDim(int newdim); explicit DVector(const Vector& old...
google
android
20091026-1_1
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20091026-1_1.C
293
utf_8
6e690f35c2e004189a00ac0739925176
#include "20091026-1_a.h" extern cHead networks; class cNetworkType; inline cNetworkType *findNetwork(const char *s) { return (cNetworkType *)networks.find(s); } int run(const char *opt_network_name) { cNetworkType *network = findNetwork(opt_network_name); if (!network) throw 1; }
google
android
pr51832_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr51832_0.C
137
utf_8
d8c212e858167f20da34f48ece091836
// PR c++/51832 // { dg-lto-do link } // { dg-lto-options { "-std=c++11 -flto -fabi-version=2" } } #include "pr51832.h" int main() { }
google
android
pr51567-1_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr51567-1_0.C
467
utf_8
ca9da2a3cc94e7a37014116dcaaa6aec
// { dg-lto-do link } // { dg-lto-options { { -flto -g } } } struct _Deque_iterator { int* _M_cur; void foo() {} }; class _Deque_base { public: typedef _Deque_iterator iterator; iterator _M_impl; }; class deque : public _Deque_base { public: typedef _Deque_base::iterator iterator; }; class OutputCo...
google
android
pr54625-2_1
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr54625-2_1.C
284
utf_8
379ba463157e17f963883a2f93daddfd
extern "C" double sin (double); typedef double (*UnaryFunType) (double); class A { public: int hash (); void lookup (UnaryFunType p1) { int a = hash (); p1 (0); } }; A b, c; void math_sin_impl () { b.lookup (sin); } void js_math_sqrt () { c.lookup (0); }
google
android
20091002-2_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/20091002-2_0.C
450
utf_8
39a1486543d8c089f06761365aed1585
// { dg-lto-do link } // { dg-require-effective-target fpic } // { dg-lto-options {{-fPIC}} } // { dg-extra-ld-options "-fPIC -r -nostdlib" } class DataArray { int max() const { } }; template < class HashItem > class DataHashTable { template < class ElemHashItem > class Element { }; typedef Element...
google
android
pr48354-1_0
.C
toolchain/gcc/gcc-4.9/gcc/testsuite/g++.dg/lto/pr48354-1_0.C
295
utf_8
9b45cefa20be62777de0669df22dbd45
// { dg-lto-do link } // { dg-lto-options { { -g -flto } } } // { dg-extra-ld-options "-r -nostdlib" } template<typename T> struct Identity { typedef T type; }; struct S { typedef void (S::*FP)(); FP fp; }; void g(); void f() { typedef Identity<S>::type Dummy; S s; g(); }