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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20011217-1.c] - Rev 816

Compare with Previous | Blame | View Log

/* Test that the initializer of a compound literal is properly walked
   when tree inlining.  */
/* Origin: PR c/5105 from <aj@suse.de>.  */
 
typedef struct { long p; } pt;
 
inline pt f (pt _p)
{
  long p = _p.p;
 
  return (pt) { (p) };
}
 
static int mmap_mem (void)
{
  pt p;
  p = f (p);
 
  return 0;
}
 

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.