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

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [debug/] [20050907-1.c] - Rev 298

Compare with Previous | Blame | View Log

/* PR 23190 */
/* Well, collateral damage from a proposed patch fixing 23190.  We'd emit
   debug info for multilib_exclusions_raw without emitting the variable
   itself, leading to link errors.  This reduced form is filed as PR 23777,
   for not eliminating things soon enough.  */
/* { dg-do link } */
 
static const char *const multilib_exclusions_raw[] = { 0 };
 
void __attribute__((noinline)) f(char *const *p)
{
  __asm__ ("" : : "g"(p) : "memory");
}
 
void g (char **o)
{
  const char *const *q = multilib_exclusions_raw;
 
  f (o);
  while (*q++)
    f (o);
}
 
int main() { 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.