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/] [tree-ssa/] [pr23848-3.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* PR middle-end/23848 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -fdump-tree-optimized" } */
4
 
5
void bar (int, char *, char *, char *, char *, int);
6
void foo (int size)
7
{
8
  int i;
9
  for (i = 0; i < size; i++)
10
    {
11
      char temp[size];
12
      temp[size-1] = '\0';
13
      {
14
        char temp2[size];
15
        {
16
          char temp3[size];
17
          {
18
            char temp4[size];
19
            bar (i, temp, temp2, temp3, temp4, size);
20
          }
21
        }
22
      }
23
    }
24
}
25
 
26
/* { dg-final { scan-tree-dump-times "__builtin_stack_save" 1 "optimized"} } */
27
/* { dg-final { scan-tree-dump-times "__builtin_stack_restore" 1 "optimized"} } */
28
/* { dg-final { cleanup-tree-dump "optimized" } } */

powered by: WebSVN 2.1.0

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