OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [other/] [cxa-atexit1.C] - Diff between revs 149 and 154

Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
// { 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_" } }
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.