URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 301 |
Rev 384 |
// { dg-do compile }
|
// { dg-do compile }
|
// { dg-options "-O2 -fuse-cxa-atexit" }
|
// { dg-options "-O2 -fuse-cxa-atexit" }
|
|
|
# 1 "cxa-atexit1.C"
|
# 1 "cxa-atexit1.C"
|
struct A
|
struct A
|
{
|
{
|
struct B
|
struct B
|
{
|
{
|
B ();
|
B ();
|
~B ();
|
~B ();
|
};
|
};
|
};
|
};
|
static A::B b;
|
static A::B b;
|
# 1 "cxa-atexit1.h" 1
|
# 1 "cxa-atexit1.h" 1
|
#pragma interface
|
#pragma interface
|
template struct C
|
template struct C
|
{
|
{
|
~C (void);
|
~C (void);
|
};
|
};
|
struct D : public C
|
struct D : public C
|
{
|
{
|
D (void) : C () { }
|
D (void) : C () { }
|
};
|
};
|
# 55 "cxa-atexit1.C" 2
|
# 55 "cxa-atexit1.C" 2
|
|
|
// { dg-final { scan-assembler-not ".gnu.linkonce.t.__tcf_" } }
|
// { dg-final { scan-assembler-not ".gnu.linkonce.t.__tcf_" } }
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.