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
repo2
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/template/repo2.C
438
utf_8
5126d45ee77f7897ba034d0dea05e3dc
// PR c++/17163 // { dg-options "-frepo" } // { dg-require-host-local "" } // { dg-skip-if "dkms are not final links" { vxworks_kernel } } template <int __inst> struct __Atomicity_lock { static unsigned char _S_atomicity_lock; }; template <int __inst> unsigned char __Atomicity_lock<__inst>::_S_atomicity_lock = 0; te...
google
android
partial9
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/template/partial9.C
93
utf_8
38d6a93d39574f0fe432f5e41591e968
// PR c++/36435 template <class T> T f(); template <class T> T* f() { } template int* f();
google
android
local3
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/template/local3.C
157
utf_8
e254df20b082728d0e04a8e1b3b18557
template<class T> void f(const T&) { struct B { void g (T); }; B b; } void g() { f(42); }
google
android
error-recovery2
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/template/error-recovery2.C
131
utf_8
b3e2bbd8608c9f9206f9850201803c3c
// PR c++/43621 template <typename T> class A { template <typename> A<T> A<T>::f(); // { dg-error "extra qualification" } };
google
android
call5
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/template/call5.C
256
utf_8
36a3f07072e917bab86270ea2e45099e
// PR c++/36631 // { dg-options "-O0" } template <typename T> struct B { struct C { __attribute__ ((always_inline)) C (C const &c) {} }; void __attribute__ ((always_inline)) g (C c) {} }; void trigger (B <int> b, B <int>::C c) { }
google
android
access20
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/template/access20.C
295
utf_8
97435ae64eee527d6ffaaa5dcc63f78e
// PR c++/29470 template <typename T> struct B { protected: T v; // { dg-error "protected" } }; template <typename T> struct D : B<T> { protected: using B<T>::v; }; int main() { D<int> d; d.v = 0; // { dg-error "context" } return 0; }
google
android
bitfield1
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/template/bitfield1.C
146
utf_8
2f3399aac63bff69580e94f66f716e0b
// PR c++/50280 struct S { int bf : 3; }; template<class _T1> void make_pair(_T1& __x) {} void foo() { const S s = S(); make_pair(s.bf); }
google
android
using22
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/template/using22.C
661
utf_8
15875b358b7888d3afb1bb2d41b1be7f
// PR c++/52126 // { dg-do compile } template <class T> struct Z {}; template<typename T> struct A { struct B; struct C; struct D; struct E; struct F; }; template <class T> struct A<T>::B : A<T> { using A::nonexist; // { dg-error "no members matching" } }; template <class T> struct A<T>::C : A { using...
google
android
partial1
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/template/partial1.C
636
utf_8
bb04475dfd1abb6699b6daee337bc7ef
// { dg-do run } // PR c++/6620 // Partial specialization involving expression of non-type template // parameter causes ICE. extern "C" void abort(); template <int N> struct HoldInt { }; template <class A, class B> struct Add { }; template <int N> struct Add<HoldInt<N>, HoldInt<-N> > { typedef int type; int f() { r...
google
android
array25
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/template/array25.C
261
utf_8
8f0a4c4adf2f5e777a6dcc6b13f8fc46
// PR c++/55249 template <typename _Tp> struct A { _Tp _M_instance[1]; }; template <class> struct inner_type { inner_type () {} inner_type (inner_type &); inner_type (const inner_type &) {} }; int main () { A <inner_type <int> > a, b = a; }
google
android
typename15
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/template/typename15.C
287
utf_8
6b4d640645eea393c4b9454635e1b913
// PR37314 ice-on-valid-code, from w.doeringer template <typename T> class Cdeque { typedef T *pointer; class iterator { typedef typename Cdeque<T>::pointer pointer; pointer operator->(); }; }; template <typename T> T* Cdeque<T>::iterator::operator->() { }
google
android
using12
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/template/using12.C
113
utf_8
d401bee05fb2dd315aae324d855a8f7a
struct A { }; template <typename T> struct S : public A { using A::operator(); // { dg-error "no member" } };
google
android
defarg5
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/template/defarg5.C
512
utf_8
84d085b3ed907df1747cc523efd8d714
// { dg-do compile } // PR c++/17344: Substitution failure is not an error // for default template argument template <class> struct intTraits; template<> struct intTraits<int> { static const int i = 0; }; template<typename E, E i = intTraits<E>::i> struct A {}; struct S { template <template <typenam...
google
android
void11
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/template/void11.C
189
utf_8
334f2b6dd7bbf1694010e0f30e5058f9
// PR c++/31446 template<void> struct A // { dg-error "valid type" } { template<int> friend void foo(); }; void bar() { foo<0>(); // { dg-error "not declared|primary-expression" } }
google
android
nontype20
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/template/nontype20.C
214
utf_8
3d747fedb6daaf7d52479222a69439ee
// PR c++/48003 // { dg-options "-fpermissive -w" } // Test that we allow integer overflow in constant exprs with -fpermissive template<int N> struct test { typedef test<N - 1> prior; }; test<-2147483647-1> f;
google
android
spec26
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/template/spec26.C
762
utf_8
db213be2f1542903882424960efec00b
// dg-do run struct A { template<class T> int operator+(T&) { return 1;} }; template<class T> struct B { int operator-(A&) {return 2;} template<typename R> int operator*(R&) {return 3;} }; template <typename T, typename R> int operator-(B<T>, R&) {return 4;} template<class T> int operator+(A&, B<T>&) { return 5...
google
android
operator6
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/template/operator6.C
94
utf_8
b5bc56bf214d4c012ea8de74a6dea853
// PR c++/27315 // { dg-do compile } template void operator+; // { dg-error "non-function" }
google
android
static7
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/template/static7.C
207
utf_8
eb951aea121806ff5e87bd2848d57e98
// PR c++/17530 // { dg-do link } typedef void (*Func) (); void f (Func) {} struct B { static void staticfunc () {} }; template <int> void C(){ f (B::staticfunc); } int main () { C<0>(); return 0; }
google
android
redeclaration1
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/guality/redeclaration1.C
385
utf_8
8773744d52f1fedc9192c4b6b54678d9
// { dg-do run } // { dg-options "-g" } // { dg-skip-if "" { *-*-* } { "-flto" } { "" } } volatile int l; namespace S { int i = 24; void __attribute__((noinline)) f() { int i = 42; l = i; // { dg-final { gdb-test 14 "i" "42" } } { extern int i; l = i; // { dg-final { gdb-test 17 "i" ...
google
android
pr46815
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/guality/pr46815.C
308
utf_8
9f6bd16255ea79978f41ff1fd8300ddc
// PR debug/46815 // { dg-do run } // { dg-options "-g" } // { dg-skip-if "" { *-*-* } { "*" } { "-O0" } } struct S { int i; S () { i = 42; } virtual void foo (void) {} }; S bar () { S s; return s; // { dg-final { gdb-test 17 "s.i" "42" } } } int main () { S s = bar (); return s.i - 42; }
google
android
pr55665
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/guality/pr55665.C
453
utf_8
09c7cb75ec3ba3ba9c29f5a1956f9e7c
// PR debug/55655 // { dg-do run } // { dg-options "-g" } extern "C" void abort (); struct A { A (int); int a; }; __attribute__((noinline, noclone)) int bar (void) { return 40; } __attribute__((noinline, noclone)) void foo (int x) { __asm volatile ("" : : "r" (x) : "memory"); } A::A (int x) { static int p = b...
google
android
mangle36
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle36.C
266
utf_8
cce4c67a841bd521be785fa4162dbefb
// PR c++/41959 // { dg-do compile { target i?86-*-* x86_64-*-* } } // { dg-options "-mavx -fabi-version=4" } // { dg-final { scan-assembler "_Z1fDv4_f" } } // { dg-final { scan-assembler "_Z1fDv8_f" } } #include <x86intrin.h> void f(__m128) { } void f(__m256) { }
google
android
mangle7
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle7.C
144
utf_8
3ca84e7c044b9a2c08f1b773db1d5f4f
/* { dg-do compile } */ typedef void *const t1[2]; float const f1(t1 (&)[79], ...) {} /* { dg-final { scan-assembler _Z2f1RA79_A2_KPvz } } */
google
android
mangle23
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle23.C
209
utf_8
e9b6e0cbb0fdfc7c2d759709e120ac89
// PR c++/16240 // { dg-options "-fabi-version=2 -Wno-abi" } void foo(char); template<void (&)(char)> struct CB {}; void g(CB<foo> i) {} // { dg-final { scan-assembler "\n_?_Z1g2CBILZ3foocEE\[: \t\n\]" } }
google
android
macro1
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/macro1.C
119
utf_8
5a7979aab90c38484879bf5742d1bfae
// { dg-options "-fabi-version=1" } #if __GXX_ABI_VERSION != 102 #error "Incorrect value of __GXX_ABI_VERSION" #endif
google
android
bitfield6
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/bitfield6.C
207
utf_8
9c87e70c80da00c75493118cabefc7f7
// { dg-do run } // { dg-options "-w -fabi-version=0" } #include <limits> union U { int i: 4096; }; int main () { if (sizeof (U) * std::numeric_limits<unsigned char>::digits != 4096) return 1; }
google
android
pr39188-3b
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/pr39188-3b.C
168
utf_8
98c00465484f65e4b1d1c30fbbb31e23
#include "pr39188-3.h" extern "C" void abort (); extern int x (int); int main (void) { if (x (1) != 0) abort (); if (f (1) != 0) abort (); return 0; }
google
android
covariant6
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/covariant6.C
991
utf_8
6a1a75e32b0bce4b89b1e513bd694466
struct A { virtual A* f(); }; struct B: virtual A { virtual A* f(); }; struct C: B { virtual C* f(); }; C* C::f() { return 0; } // When we emit C::f, we should emit both thunks: one for B and one for A. // { dg-final { scan-assembler "_ZTch0_v0_n16_N1C1fEv" { target { ilp32 && { ! { ia64-*-hpux* } } } } } } ...
google
android
bitfield5
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/bitfield5.C
312
utf_8
7a715981fdef3b0ea85d77633f3443e9
// { dg-do compile } // { dg-options "-Wabi -fabi-version=1" } // { dg-options "-Wabi -fabi-version=1 -mno-ms-bitfields" { target i?86-*-* x86_64-*-* } } struct A { virtual void f(); int f1 : 1; }; struct B : public A { int f2 : 1; // { dg-warning "ABI" } int : 0; int f3 : 4; int f4 : 3; };
google
android
mangle3-2
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle3-2.C
486
utf_8
73ee071879e9accfaf646cc5377ca52b
// Test mangling of type casts // { dg-options "-fabi-version=0" } // { dg-do compile } template<int i> class A {}; template<bool b> class B {}; template<int i> void f(A<i> &, B<bool(i)> &) {} template<int i> void g(A<i> &, B<static_cast<bool>(i)> &) {} int main() { A<1> a; B<true> b; f(a, b); g(a, b); } //...
google
android
pr39188-3a
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/pr39188-3a.C
160
utf_8
afd0ff2e30705970415e4aa6ca6e1468
// PR c++/39188 // { dg-do run } // { dg-options "-O2" } // { dg-additional-sources "pr39188-3b.C" } #include "pr39188-3.h" int x (int i) { return f (i); }
google
android
packed1
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/packed1.C
448
utf_8
ed79cf5bf3c45230ee9187c4cf51338e
// PR c++/41788 // { dg-do run } // { dg-options "-Wpacked -Wno-attributes" } extern "C" void abort (); struct INNER { virtual int foo() const { return 1; } } __attribute__ ((packed)); struct OUTER { char c; INNER inner; } __attribute__ ((packed)); int main() { OUTER outer; int s = sizeof(outer); int o ...
google
android
align1
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/align1.C
417
utf_8
c7c251f16058a4d4f1db8e0df28385ff
// This was failuring on powerpc-darwin and powerpc-aix as // we were taking the embeded type as the first field decl. // This was PR target/18761. // { dg-do run } union A { double d; }; union B { enum E { e }; double d; }; struct AlignA { char c; A a; }; struct AlignB { char c; B b; }; extern "C" vo...
google
android
mangle-neon-aarch64
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle-neon-aarch64.C
2,033
utf_8
ecf5700a710bad96b40d69e1e85ef44d
// Test that AArch64 AdvSIMD (NEON) vector types have their names mangled // correctly. // { dg-do compile { target { aarch64*-*-* } } } #include <arm_neon.h> void f0 (int8x8_t a) {} void f1 (int16x4_t a) {} void f2 (int32x2_t a) {} void f3 (uint8x8_t a) {} void f4 (uint16x4_t a) {} void f5 (uint32x2_t a) {} void f6...
google
android
mangle39
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle39.C
465
utf_8
f57f07637ad084cc2e713f00ba3f05bd
// PR c++/42338 // { dg-options "-std=c++0x -fabi-version=5" } // { dg-final { scan-assembler "_Z1fIPiEDTcmppfp_Li0EET_" } } // { dg-final { scan-assembler "_Z1gIiEvRK1AIT_EDTixfL0p_Li0EE" } } template<typename T> auto f(T t) -> decltype(++t, 0) { ++t; return 0; } template <class T> struct A { T operator[](int)...
google
android
guard1
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/guard1.C
159
utf_8
81d54a8ce0f88af87b94623f3b24e0b5
// PR c++/41611 // { dg-final { scan-assembler-not "_ZGVZN1A1fEvE1i" } } struct A { static int f() { static int &i = *new int(); return i; } };
google
android
mangle11
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle11.C
206
utf_8
bfce53319fad93afe4efb49117dd02dc
// { dg-options "-Wabi -fabi-version=1" } template <typename Q> void f (typename Q::X) {} // { dg-warning "mangle" } struct S { typedef int X; }; template void f<S> (int); // { dg-message "required" }
google
android
mangle53
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle53.C
347
utf_8
62525c952a6e4ef4d94e2245fae62264
// { dg-options "-std=c++0x" } bool b; // { dg-final { scan-assembler "_Z1fIiEDTquL_Z1bEfp_twLi42EET_" } } template <class T> auto f (T t) -> decltype(b?t:throw 42) { return 0; } // { dg-final { scan-assembler "_Z2f2IiEDTquL_Z1bEfp_trET_" } } template <class T> auto f2 (T t) -> decltype(b?t:throw) { return 0; } int m...
google
android
covariant5
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/covariant5.C
851
utf_8
488e3869493233b0552a676aa01a7912
struct A { virtual void One (); }; struct B { virtual B *Two (); virtual B &Three (); }; struct C : A, B { virtual C *Two (); virtual C &Three (); }; void A::One () {} B *B::Two() {return this;} B &B::Three() {return *this;} C *C::Two () {return 0;} C &C::Three () {return *(C *)0;} B *Foo (B *b)...
google
android
mangle31
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle31.C
297
utf_8
13633dcf96cb50988a92cf548dff31cb
// PR c++/39095 // { dg-do compile } struct B { int b; }; struct A { B *operator->(); A (); B b; }; A::A () { } B * A::operator->() { return &b; } A a; int foo () { return a->b; } // { dg-final { scan-assembler "_ZN1AptEv" } } // { dg-final { scan-assembler-not "_ZN1AdtEv" } }
google
android
mangle6
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle6.C
618
utf_8
91c28df1b9796be812f1b833d650c6b1
/* Check that __int128 types are mangled. */ /* { dg-do compile { target mips*-*-* } } */ #ifdef __mips64 typedef int int128 __attribute__ ((mode(TI))); typedef unsigned int uint128 __attribute__ ((mode(TI))); struct S { int128 i; int128 func1 (int128) const { return i; } uint128 func2 (uint128) const { return...
google
android
covariant2
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/covariant2.C
478
utf_8
dad843e79ded2bf5c0fd0c65f41b64f8
// { dg-do compile } // PR c++/12881. ICE in thunk generation struct c1 {}; struct c3 : virtual c1 { virtual c1* f6() {} int i; }; struct c6 : virtual c3 { }; struct c7 : c3 { virtual c3* f6() {} }; struct c24 : virtual c7 { virtual c6* f6(); }; c6* c24::f6() { return 0; } struct c31 : c24 {};
google
android
vbase12
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/vbase12.C
268
utf_8
90c43a38beef1adc9c358d0c1f470c6f
// { dg-do run } // { dg-options "-fabi-version=0" } struct A {}; struct B { A a; virtual void f () {} }; struct C : public B, virtual public A {}; struct D : public C, virtual public A {}; D d; int main () { if (((char*)(A*)&d - (char*)&d) != 0) return 1; }
google
android
abi-tag4
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/abi-tag4.C
176
utf_8
410434cfa6f4bc7cea5a8ff392cf819a
// { dg-options "-Wabi-tag" } struct __attribute ((abi_tag ("X"))) A { }; struct B // { dg-warning "abi tag" } { virtual void f(A); // { dg-message "declared here" } };
google
android
arm_cxa_vec2
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/arm_cxa_vec2.C
920
utf_8
cb4ad686f7564a8666256212398d911d
// Check that ARM vector delete functions accept NULL pointers as // inputs. // { dg-do run { target arm*-*-* } } #ifdef __ARM_EABI__ #include <cxxabi.h> typedef void *(dtor_type)(void *); extern "C" { void abort(); void *__aeabi_vec_dtor_cookie(void *, dtor_type); void __aeabi_vec_delete(void *, dtor_type); ...
google
android
mangle58
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle58.C
805
utf_8
38ea740e323acca8591e838ac368f26a
// { dg-options "-std=c++0x -fabi-version=0" } template<typename T, int (*cmp)(T, T)> struct A { }; struct B { template<typename T> static int cmp1(T a, T b); static int cmp2(char a, char b); // { dg-final { scan-assembler "_ZN1B1fIcEEvR1AIT_X4cmp1EE" } } template <typename T> static void f (A<T,cmp1> &); //...
google
android
mangle20-1
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle20-1.C
566
utf_8
dc5e5444adf348136bebba2aeea75a56
// { dg-do compile } // { dg-options "-fabi-version=2" } // PR 9043 // mangled array types in templates template <int I> void f(int (*)[2]) {} template <int I> void g(int (*)[I+2]) {} static const int I=1; static const int J=2; template void f<1>(int (*)[2]); // { dg-final { scan-assembler "\n_?_Z1fILi1EEvPA2_i\[: \t\...
google
android
mangle22
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle22.C
201
utf_8
f27a51ea9de5c032fc80016778dbe5ec
// PR c++/16240 // { dg-options "-fabi-version=3" } void foo(char); template<void (&)(char)> struct CB {}; void g(CB<foo> i) {} // { dg-final { scan-assembler "\n_?_Z1g2CBIL_Z3foocEE\[: \t\n\]" } }
google
android
rtti3
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/rtti3.C
646
utf_8
110e35f6493423610f0bc7a38d5a62a9
// PR 20647, we must emit the typeinfo's string as weak, but not the // necessarily the type info object // { dg-require-weak "" } // { dg-skip-if "Linkonce not weak" { *-*-mingw* *-*-cygwin } { "*" } { "" } } // { dg-final { scan-assembler ".weak\[ \t\]_?_ZTSPP1A" { target { ! { *-*-darwin* } } } } } // { dg-final { ...
google
android
layout1
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/layout1.C
340
utf_8
44d0f298ab4a8fb8dcb8f4930bac5fd0
// 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 () {} char z; }; A a = { 21, 42 }; B b; int main (void) { b.x = 12; b.y = 24; b.z = 36; A *ap = &b; *ap = a; re...
google
android
arm_rtti1
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/arm_rtti1.C
375
utf_8
1f9e050ee7f8c952e5a9e739fdf898c6
// { dg-do compile { target arm*-*-eabi* arm*-*-symbianelf* } } // { dg-options "-O2" } // Check that, even when optimizing, we emit an out-of-line call to // the type-info comparison function. // { dg-final { scan-assembler _ZNKSt9type_infoeqERKS_ } } #include <typeinfo> extern const std::type_info& t1; extern cons...
google
android
rtti1
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/rtti1.C
226
utf_8
d90943e976dded1f4182aeb500d1f2c7
// Test that we don't emit the type_info for a polymorphic class other than // with the vtable. struct A { virtual ~A(); }; void f () { throw A(); } // { dg-final { scan-assembler-dem-not {\ntypeinfo for A[: \t\n]} } }
google
android
cookie2
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/cookie2.C
263
utf_8
3bd4bb420676c4310003c9fffe83abe9
// { dg-options "-fabi-version=1" } void *operator new[](__SIZE_TYPE__, void *); struct A { ~A(){} }; int main() { A * a = (A*) new char[20]; A * b = new(a) A[3]; // In the 3.2 ABI, a cookie was allocated in this case. if (a == b) return 1; }
google
android
mangle60
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle60.C
462
utf_8
ec63081e18506c793d02c80cc21c1a2a
// PR c++/51854 // { dg-options "" } template <unsigned N> struct A; template <typename U, typename V> char foo(U, V); // { dg-final { scan-assembler "_Z3barIiEvP1AIXszcl3foocvT__ELCi0_42EEEE" } } template <typename U> void bar(A<sizeof(foo(U(), 42i))> *); // { dg-final { scan-assembler "_Z3bazIiEvP1AIXszcl3foocvT_...
google
android
mangle24
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle24.C
645
utf_8
af8a23e436afd93b61c9bc9551fac99b
// Test mangling of __float80. // The C++ ABI document says __float80 is mangled as "e". It // also says that "long double" is mangled as "e", so these conflict on // ia64-hpux where "long double" is "e" and __float80 is "u9__float80". // { dg-do compile { target i?86-*-* x86_64-*-* ia64-*-* } } // { dg-options "" } /...
google
android
mangle13
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle13.C
864
utf_8
bcf6566eabf2af39caacb3af143f90c8
// { dg-options "-fabi-version=0" } struct A { template <typename T> int f (); int operator+(); operator int (); template <typename T> int operator-(); }; typedef int (A::*P)(); template <P> struct S {}; template <typename T> void g (S<&T::template f<int> >) {} template <typename T> void g (S<&T::operato...
google
android
mangle1
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle1.C
1,057
utf_8
2e043f4f1db73efd7ba04afe8375a72e
// Test for mangling of simple testcase involving construction vtables. // { dg-do compile } // { dg-options "-fno-inline" } struct A { virtual void f () { } }; struct B: public virtual A { }; struct C: public B { }; C c; // { dg-final { scan-assembler "\n_?_ZN1A1fEv\[: \t\n\]" } } // { dg-final { scan-assembler...
google
android
mangle5
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle5.C
170
utf_8
8d713f873b380f7cb5bf13fe8019b486
// Test mangling of pointers to cv-qualified member functions struct A; void f (void (A::*)() const) {} // { dg-final { scan-assembler "\n_?_Z1fM1AKFvvE\[: \t\n\]" } }
google
android
empty8
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/empty8.C
225
utf_8
c5566cc05c36a22382128eb694f66bc5
// { 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 != (char *)&s2) return 1; }
google
android
bitfield9
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/bitfield9.C
197
utf_8
14697006c1045d90c0f505dbfc8c5072
// { dg-do run { target i?86-*-* x86_64-*-* } } // { dg-require-effective-target ilp32 } // { dg-options -w } struct X { char : 45; }; int main () { if (__alignof__ (X) != 4) return 1; }
google
android
layout2
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/layout2.C
548
utf_8
629ced02f7a4d9d57a9b120d8c7bbbde
// 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, public D { int e; }; E e; /* The layout of E should begin with the B-in-E vtable pointer, followed by the D-in...
google
android
offsetof
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/offsetof.C
578
utf_8
a6fb1aab1fbc0b1d04911a6330e496f1
// Test that we can refer to the address of a base member of a null pointer // to get its offset. The standard says that offsetof shall not be used on // non-POD classes, but there seems to be no such restriction on the common // implementation thereof. // Yes, this is bad, naughty, evil code. But it seems to be wel...
google
android
mangle43
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle43.C
1,123
utf_8
87d68b4c27a09a6b273d53fd1ac67be2
// { dg-do compile { target int128 } } // { dg-options "" } struct S { S(void) { m_i128 = 0; m_u128 = 0; } ~S(void) { } __int128 get1 (void) { return m_i128; } unsigned __int128 get2 (void) { return m_u128; } void set1 (__int128 i) { m_i128 = i; } void set2 (unsigned int i) { m_u128 = 1; } __int128 m_i12...
google
android
mangle45
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle45.C
932
utf_8
fb8237ebd0446df7e1ec0f92d5b21005
// Testcase for mangling of parameters used other than in a trailing return type // { dg-options "-std=c++0x -fabi-version=5" } template<class T> void f(T p, decltype(p)) { } // L = 1 template<class T> void g(T p, decltype(p) (*)()) { } // L = 1 // G++ incorrectly rejects these currently. // te...
google
android
arm_cxa_vec1
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/arm_cxa_vec1.C
570
utf_8
770a1857da6a05380e26eabb7f0ecb92
// Check that __cxa_vec_[c]ctor returns a pointer to the array // { dg-do run { target arm*-*-* } } #include <cxxabi.h> #ifdef __ARM_EABI__ using namespace __cxxabiv1; static __cxa_cdtor_return_type cctor (void * a, void * b) { *(char *) a = *(char *) b; return a; } int main() { char data; char data2; char...
google
android
mangle50
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle50.C
500
utf_8
fd72df561a46f72c12edeea3df85493f
// DR 342, PR c++/48582 // { dg-options -std=c++0x } struct A; template < void * = nullptr > void f() { } template < void (A::*)() = nullptr > void g() { } template < int A::* = nullptr > void h() { } int main() { // { dg-final { scan-assembler "_Z1fILPv0EEvv" } } f(); f<nullptr>(); // { dg-final { scan-asse...
google
android
vthunk3
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/vthunk3.C
432
utf_8
6881f6a907aed22e3604db9a81d71753
// { dg-do compile { target i?86-*-* x86_64-*-* } } // { dg-require-effective-target ilp32 } // { dg-options "-fabi-version=0" } struct A { virtual void a (); }; struct B : virtual public A { virtual void b (); virtual void a (); }; struct C { virtual void c (); }; struct D : public C, public B { }; struct...
google
android
vbase8-22
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/vbase8-22.C
1,222
utf_8
cf73a61c2f7a372a6e32d4bbc343cd44
// { dg-options -w } // { dg-do run } // Bug 3145 case 22. Horribly complicated class hierarchy class C0 {}; class C1 : public C0 {}; class C2 : public C1 , virtual public C0 {}; class C3 : virtual public C0 , virtual public C2 , virtual public C1 {}; class C4 : virtual public C2 , public C1 , virtual...
google
android
mangle44
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle44.C
260
utf_8
9c988f84715431366d71a7c072196e1b
// PR c++/45008 template <typename T> struct A { void fn1 () { struct Nested { static void fn2 () { } }; Nested::fn2(); } }; void fn3 () { A<double> a; a.fn1(); } // { dg-final { scan-assembler-not "_ZZN1AIT_E3fn1EvEN6Nested3fn2Ev" } }
google
android
mangle20-2
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle20-2.C
593
utf_8
23877e65bd741b7e4f2597ba8403293d
// { dg-do compile } // { dg-options "-fabi-version=1 -Wabi" } // PR 9043 // mangled array types in templates template <int I> void f(int (*)[2]) {} // { dg-warning "mangled name" } template <int I> void g(int (*)[I+2]) {} template void f<1>(int (*)[2]); // { dg-message "required" } // { dg-final { scan-assembler "\n...
google
android
mangle27
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle27.C
385
utf_8
044232763276597f7d67befd1bd50a9d
// Test of std::basic_iostream<char, std::char_traits<char> > mangling // { dg-do compile } // { dg-options "-fno-inline" } namespace std { template<typename> struct char_traits; template<typename, typename> struct basic_iostream { basic_iostream(){} }; } std::basic_iostream<char,std::char_traits<char> > s1; /...
google
android
vthunk2
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/vthunk2.C
306
utf_8
a3ef49aa5fa035e0eaa1fb23c589fe61
// { dg-do compile { target i?86-*-* x86_64-*-*} } // { dg-require-effective-target ilp32 } struct c0 { virtual void f (); }; struct c1 : virtual public c0 { }; struct c2 : virtual public c0, public c1 { virtual void f (); }; void c2::f () {} // { dg-final { scan-assembler _ZTv0_n12_N2c21fEv } }
google
android
guard2
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/guard2.C
267
utf_8
3eec2b181cfb238503543d9d81b99eb2
// PR c++/41611 // Test that the guard gets its own COMDAT group. // { dg-final { scan-assembler "_ZGVZN1A1fEvE1i,comdat" { target *-*-linux* } } } struct A { static int f() { static int &i = *new int(); return i; } }; int main() { return A::f(); }
google
android
covariant1
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/covariant1.C
776
utf_8
06ad90a0554de61d87d60dab2a30bf3e
// { dg-do compile } // { dg-options "-w" } // If a covariant thunk is overriding a virtual primary base, we have to // use the vcall offset even though we know it will be 0. struct c4 {}; struct c6 : c4 { virtual c4* f17(); }; c4* c6::f17() { return 0; } struct c11 : virtual c6 { int i; }; struct c12 : c11 { }; ...
google
android
mangle46
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle46.C
349
utf_8
e2fc150d746b05b2efcbaf25872d2c83
// PR c++/48008 // { dg-options -fabi-version=5 } // Test that we retain function-cv-quals in template argument mangling. template <class T> struct A { }; typedef void cfn(int) const; typedef void fn(int); // { dg-final { scan-assembler "_Z1f1AIFviEE" } } void f(A<fn>) { } // { dg-final { scan-assembler "_Z1f1AIKF...
google
android
regparm1
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/regparm1.C
1,042
utf_8
1ed81d7e7edebea54ec04f2234fe6cec
// PR c++/29911 (9381) // { dg-options -std=c++0x } // { dg-do run { target i?86-*-* x86_64-*-* } } extern "C" int printf(const char *, ...); void *save_this; int *save_addr1, *save_addr2; int fail; struct Base { __attribute((regparm(3))) void set(int *addr1, int *addr2) { if (this != save_this) { ...
google
android
vthunk1
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/vthunk1.C
883
utf_8
5acd6755c279afd8abbf0ca970932bf8
// { dg-do link } // Bug 3631. We mis-calculated the non-virtual part of a virtual // thunk. Leading to a link failure, in this case. struct A { virtual ~A () {} }; struct B : virtual public A { virtual void destroy() {} }; class C : virtual public B {}; class D : virtual public C {}; class E : public virtual A {}; s...
google
android
abi-tag3
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/abi-tag3.C
575
utf_8
31dce1a2658f26b755e0282032cad733
// An explicit specialization doesn't get the tag from its template unless // it is specified there, too. // { dg-final { scan-assembler "_ZN3FooB5cxx11IcE1fEv" } } template<typename T> struct __attribute ((abi_tag("cxx11"))) Foo { int f(); }; // { dg-final { scan-assembler "_ZN3FooB5cxx11IiE1fEv" } } template<> st...
google
android
mangle54
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle54.C
589
utf_8
d0fd945e4ec1c043257f75441d681bb0
// { dg-options "-std=c++0x -fabi-version=0" } int i; // { dg-final { scan-assembler "_Z2f1IiEDTppfp_ET_" } } template <class T> auto f1 (T t) -> decltype(t++) { return i; } // { dg-final { scan-assembler "_Z2f2IiEDTpp_fp_ET_" } } template <class T> auto f2 (T t) -> decltype(++t) { return i; } // { dg-final { scan-ass...
google
android
mangle51
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle51.C
1,135
utf_8
75c50cea5504fa8ba0f4b6bc63abf1a9
// { dg-options "-std=c++0x -fabi-version=0" } void* operator new (__SIZE_TYPE__, void *p) { return p; } int i; template <unsigned int> struct helper {}; // { dg-final { scan-assembler "_Z6check1IiEvP6helperIXsznw_T_EEE" } } template <class T> void check1( helper<sizeof(new T)> * ) { } // { dg-final { scan-assembler ...
google
android
mangle28
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle28.C
381
utf_8
8a0d615dc9ec8202a830aeb08e5dcb92
// Test of std::basic_istream<char, std::char_traits<char> > mangling // { dg-do compile } // { dg-options "-fno-inline" } namespace std { template<typename> struct char_traits; template<typename, typename> struct basic_istream { basic_istream(){} }; } std::basic_istream<char,std::char_traits<char> > s1; // { ...
google
android
inline1
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/inline1.C
94
utf_8
111786b8402b8dd840adfb9a53cf3aac
struct S { S() {} virtual void g() {} }; // { dg-final { scan-assembler-not "_ZTV1S" } }
google
android
vbase9
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/vbase9.C
475
utf_8
aa7850bb832428b452c702abac4c2357
// { dg-do compile } // PR 5681. ICE in build_secondary_vtable struct A { virtual int f1 (); }; struct B : virtual A {}; struct C { virtual int f2 (); }; struct E : A {}; struct D : E, B {}; struct F : virtual D {}; struct G : virtual F, C {}; struct H : virtual F {}; struct I : G, H {};
google
android
mangle8
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle8.C
338
utf_8
cc6afae4c242d6e5a9083cec1a9a9907
// Red Hat bugzilla 65035 // Bug: We were encoding the name of the instantiation as 'operator int' // rather than 'operator T'. // { dg-do compile } struct C { template <class T> operator T (); }; template <class T> C::operator T () { return 0; } template C::operator int (); // { dg-final { scan-assembler _...
google
android
bitfield4
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/bitfield4.C
1,002
utf_8
b8aaec32a77e9927231c6c5f3237432f
/* { dg-do run { target { pcc_bitfield_type_matters || default_packed } } } */ /* Check bitfields and non-bitfields are aligned & sized similarly. */ #include <limits.h> #include <stdio.h> static int fail; #define CHECK1(N, T) do { \ typedef struct Field_##N { char c; T f; } Field_##N; \ typedef struct BitField_##N...
google
android
key2
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/key2.C
628
utf_8
566b277074549a74732c7ed51a289742
// On Darwin, key methods that are inline result in comdat style things. */ // PR darwin/25908 // { dg-do compile { target *-*-darwin* } } // { dg-final { scan-assembler ".globl __ZTV1f\\n .weak_definition __ZTV1f(\\n .section __DATA,__const_coal,coalesced)?\\n .align" } } // { dg-final { scan-assembler ".globl __ZTS...
google
android
mangle19-2
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle19-2.C
435
utf_8
af9f8cddd1244dd9ba598cbf9f64adf5
// { dg-do compile } // { dg-options "-fabi-version=1 -Wabi" } // PR 13242 // mangled template arguments that are external objects incorrectly extern int N; template <int &> struct S {}; void n (S<N>) {} // { dg-warning "mangled name" } // { dg-final { scan-assembler "\n_?_Z1n1SIXadL_Z1NEEE\[: \t\n\]" } }
google
android
mangle-neon
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle-neon.C
1,909
utf_8
44d57b897a74d13309a44df2ea14e326
// Test that ARM NEON vector types have their names mangled correctly. // { dg-do compile } // { dg-require-effective-target arm_neon_ok } // { dg-add-options arm_neon } #include <arm_neon.h> void f0 (int8x8_t a) {} void f1 (int16x4_t a) {} void f2 (int32x2_t a) {} void f3 (uint8x8_t a) {} void f4 (uint16x4_t a) {}...
google
android
pr39188-1b
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/pr39188-1b.C
168
utf_8
c96cb62975d4855a114a03ac254e17ce
#include "pr39188-1.h" extern "C" void abort (); extern int x (int); int main (void) { if (x (1) != 0) abort (); if (f (1) != 1) abort (); return 0; }
google
android
mangle18-1
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle18-1.C
577
utf_8
bfbdcf19399c74a6691d65ef0ba49cd3
// { dg-do compile } // { dg-options "-fabi-version=2" } // PR 13241 // mangled template arguments that are external objects incorrectly extern "C" void Foo (); namespace NMS { extern "C" int V; } template <void (*)()> struct S {}; template <int *> struct T {}; void f (S<Foo>){} // { dg-final { scan-assembler "\n_?_...
google
android
abi-tag2
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/abi-tag2.C
173
utf_8
064eba36c22e1b67e37a8c95a5698520
void f(int); void f(int) __attribute ((abi_tag ("foo"))); // { dg-error "adds abi tag" } struct C; struct __attribute ((abi_tag ("foo"))) C; // { dg-error "adds abi tag" }
google
android
mangle9
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle9.C
196
utf_8
7e14b0353ae53e5a5a8bcf850c4fcbc9
// { dg-options "-fabi-version=0" } template <typename Q> void f (typename Q::X) {} struct S { typedef int X; }; template void f<S> (int); // { dg-final { scan-assembler _Z1fI1SEvNT_1XE } }
google
android
mangle3
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle3.C
486
utf_8
875f0665ab8213637c103b2199b87379
// Test mangling of type casts // { dg-options "-fabi-version=2" } // { dg-do compile } template<int i> class A {}; template<bool b> class B {}; template<int i> void f(A<i> &, B<bool(i)> &) {} template<int i> void g(A<i> &, B<static_cast<bool>(i)> &) {} int main() { A<1> a; B<true> b; f(a, b); g(a, b); } //...
google
android
guard3
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/guard3.C
117
utf_8
aeaf70ac2113165664ca8c8208320777
// PR c++/45603 extern "C" int __cxa_guard_acquire(); struct A { ~A(); }; A* f() { static A a; return &a; }
google
android
vbase11
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/vbase11.C
293
utf_8
144d7001c1ac9ab9c89d8f5c56de4e09
// { dg-do run { target i?86-*-* x86_64-*-* } } // { dg-require-effective-target ilp32 } // { dg-options "-fabi-version=0" } struct A { virtual void f(); char c1; }; struct B { B(); char c2; }; struct C : public A, public virtual B { }; int main () { return 1; }
google
android
anon1
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/anon1.C
110
utf_8
73057836297242b12d6b3c97ce7c525a
// PR c++/54883 namespace { enum E { E1 }; } void f(E e) { } // { dg-final { scan-assembler-not "globl" } }
google
android
cookie1
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/cookie1.C
205
utf_8
b587f170bbc6f95ef287e408bcafe1e3
// { dg-options "-fabi-version=0" } void *operator new[](__SIZE_TYPE__, void *); struct A { ~A(){} }; int main() { A * a = (A*) new char[20]; A * b = new(a) A[3]; if (a != b) return 1; }
google
android
layout3
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/layout3.C
418
utf_8
6372326d116dead9b369290e7a9ccb46
// { 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 { }; struct U : public S, virtual public T { char c[100]; }; struct V : public U, virtual public S {}; struct W : public...
google
android
vague1
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/vague1.C
357
utf_8
9266f22cfbaad15702320f26c3b6c146
// instantiations. // Disable debug info so we don't get confused by the symbol name there. // { dg-options "-g0" } template <class T> struct A { static const T t = 0; }; template <class T> const T A<T>::t; int i; int main () { i = A<int>::t; // Should just use the value }
google
android
mangle57
.C
toolchain/gcc/gcc-4.8.3/gcc/testsuite/g++.dg/abi/mangle57.C
447
utf_8
52a83626e4a4857fd409286b439b877e
// { dg-options "-std=c++0x -fabi-version=0" } template<typename T> int cmp1(T a, T b); int cmp2(char a, char b); template<typename T, int (*cmp)(T, T)> struct A { }; // { dg-final { scan-assembler "_Z1fIcEvR1AIT_X4cmp1EE" } } template <typename T> void f (A<T,cmp1> &); // { dg-final { scan-assembler "_Z1fIcEvR1AIT_L_...