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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [abi/] [packed1.C] - Diff between revs 301 and 399

Show entire file | Details | Blame | View Log

Rev 301 Rev 399
Line 2... Line 2...
// { dg-options "-Wpacked" }
// { dg-options "-Wpacked" }
// { dg-do run }
// { dg-do run }
 
 
extern "C" void abort ();
extern "C" void abort ();
 
 
struct INNER { // { dg-warning "inefficient.*vptr" "" { target alpha*-*-* ia64-*-* hppa*-*-* sparc*-*-* sh*-*-* } }
struct INNER { // { dg-warning "inefficient.*vptr" "" { target alpha*-*-* ia64-*-* hppa*-*-* sparc*-*-* sh*-*-* or32-*-* } }
  virtual int foo() const { return 1; }
  virtual int foo() const { return 1; }
} __attribute__ ((packed));
} __attribute__ ((packed));
 
 
struct OUTER {
struct OUTER {
  char c;
  char c;

powered by: WebSVN 2.1.0

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