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" } */
|
/* { dg-options "-O2" } */
|
|
|
/* This code ends up taking the address of part of the structure that is padding,
|
/* This code ends up taking the address of part of the structure that is padding,
|
and because there is no real field there, the structure alias analyzer would
|
and because there is no real field there, the structure alias analyzer would
|
abort. */
|
abort. */
|
struct empty_class {};
|
struct empty_class {};
|
struct class1 : empty_class
|
struct class1 : empty_class
|
{
|
{
|
class1() {}
|
class1() {}
|
empty_class value_;
|
empty_class value_;
|
};
|
};
|
struct lambda : class1 { };
|
struct lambda : class1 { };
|
lambda _1;
|
lambda _1;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.