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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [debug/] [20050907-1.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* PR 23190 */
2
/* Well, collateral damage from a proposed patch fixing 23190.  We'd emit
3
   debug info for multilib_exclusions_raw without emitting the variable
4
   itself, leading to link errors.  This reduced form is filed as PR 23777,
5
   for not eliminating things soon enough.  */
6
/* { dg-do link } */
7
 
8
static const char *const multilib_exclusions_raw[] = { 0 };
9
 
10
void __attribute__((noinline)) f(char *const *p)
11
{
12
  __asm__ ("" : : "g"(p) : "memory");
13
}
14
 
15
void g (char **o)
16
{
17
  const char *const *q = multilib_exclusions_raw;
18
 
19
  f (o);
20
  while (*q++)
21
    f (o);
22
}
23
 
24
int main() { return 0; }

powered by: WebSVN 2.1.0

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