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/] [phi-opt-4.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O1 -fdump-tree-optimized" } */
3
 
4
_Bool t();
5
_Bool t1();
6
 
7
_Bool f1()
8
{
9
  return t() && t1();
10
}
11
 
12
/* There should be only one if, the outer one; the inner one
13
   should have been changed to straight line code with the
14
   value of b (except that we don't fold ! (b != 0) into b
15
   which means that we miss a sib calling opportunity).  */
16
/* { dg-final { scan-tree-dump-times "if " 1 "optimized"} } */
17
/* { 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.