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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [stack-layout-1.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -fno-strict-aliasing -fdump-rtl-expand" } */
3
union U {
4
  int a;
5
  float b;
6
};
7
struct A {
8
  union U u1;
9
  char a[100];
10
};
11
void bar (struct A *);
12
void foo ()
13
  {
14
    {
15
      struct A a;
16
      bar (&a);
17
    }
18
    {
19
      struct A a;
20
      bar (&a);
21
    }
22
  }
23
 
24
/* { dg-final { scan-rtl-dump-times "Partition" 1 "expand" } } */
25
/* { dg-final { cleanup-rtl-dump "expand" } } */

powered by: WebSVN 2.1.0

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