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/] [dwarf2/] [pr43237.c] - Blame information for rev 316

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* PR debug/43237 */
2
/* { dg-do compile } */
3
/* { dg-options "-g -O2 -dA -fno-merge-debug-strings" } */
4
 
5
struct S
6
{
7
  int *a;
8
  int b;
9
  int **c;
10
  int d;
11
};
12
 
13
void foo (struct S *);
14
void bar (struct S *);
15
 
16
int
17
baz (void)
18
{
19
  struct S s;
20
  foo (&s);
21
  {
22
    int a[s.b];
23
    int *c[s.d];
24
    s.a = a;
25
    s.c = c;
26
    bar (&s);
27
  }
28
  return 0;
29
}
30
 
31
/* { dg-final { scan-assembler-not "LLST\[^\\r\\n\]*DW_AT_upper_bound" } } */

powered by: WebSVN 2.1.0

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