OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr39394.c] - Diff between revs 297 and 384

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 297 Rev 384
/* PR tree-optimization/39394 */
/* PR tree-optimization/39394 */
 
 
char *p;
char *p;
int x;
int x;
 
 
static inline void
static inline void
f1 (int n)
f1 (int n)
{
{
  asm volatile ("" : "=m" (*(struct { char x[n]; } *) p));
  asm volatile ("" : "=m" (*(struct { char x[n]; } *) p));
}
}
 
 
static inline void
static inline void
f2 (void)
f2 (void)
{
{
  x ? f1 (1) : f1 (2);
  x ? f1 (1) : f1 (2);
}
}
 
 
static inline void
static inline void
f3 (void)
f3 (void)
{
{
  f2 ();
  f2 ();
}
}
 
 
void
void
f4 (void)
f4 (void)
{
{
  f3 ();
  f3 ();
}
}
 
 

powered by: WebSVN 2.1.0

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