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/] [tree-ssa/] [pr22404.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" } */
/* { dg-options "-O2" } */
/* We were not getting the offset of a in B and a in C::B correct,
/* We were not getting the offset of a in B and a in C::B correct,
   causing an abort.  */
   causing an abort.  */
struct A { A(); };
struct A { A(); };
struct B : A
struct B : A
{
{
    A a;
    A a;
};
};
struct C : B { };
struct C : B { };
C c;
C c;
 
 

powered by: WebSVN 2.1.0

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