OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [20030807-2.c] - Blame information for rev 300

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

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O1 -ftree-vrp -fdump-tree-dom2" } */
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 "dom2" } } */
28
/* { dg-final { cleanup-tree-dump "dom2" } } */

powered by: WebSVN 2.1.0

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