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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [20030807-2.c] - Blame information for rev 154

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

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O1 -ftree-vrp -fdump-tree-dom3" } */
3
 
4
extern void abort (void);
5
 
6
oof ()
7
{
8
  int live_head;
9
  int * live = &live_head;
10
 
11
  if (live)
12
   bitmap_clear (live);
13
}
14
 
15
foo(int n)
16
{
17
  int *space = (int *)__builtin_alloca (n);
18
 
19
  if (space == 0)
20
    abort ();
21
  else
22
    bar (space);
23
}
24
 
25
 
26
/* There should be no IF conditionals.  */
27
/* { dg-final { scan-tree-dump-times "if " 0 "dom3" } } */
28
/* { dg-final { cleanup-tree-dump "dom3" } } */

powered by: WebSVN 2.1.0

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