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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr45071.c] - Rev 689

Compare with Previous | Blame | View Log

/* { dg-do compile } */
/* { dg-options "-O -ftree-vrp -ftree-vectorize" } */
 
struct A
{
  int i;
};
 
struct B
{
  struct A a;
};
 
extern void f4 (void *);
 
inline void
f3 (struct A *a)
{
  f4 (a);
  while (a->i);
}
 
static inline void
f2 (struct B *b)
{
  f3 (&b->a);
}
 
void
f1 ()
{
  struct B *b = 0;
  f2 (b);
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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