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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [branch-cost3.c] - Blame information for rev 704

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

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-gimple -mbranch-cost=2" } */
3
 
4
extern int doo (void);
5
 
6
int
7
foo (_Bool a, _Bool b)
8
{
9
  if (a && b)
10
   return doo ();
11
  return 0;
12
}
13
 
14
/* { dg-final { scan-tree-dump-times "if " 1 "gimple" } } */
15
/* { dg-final { scan-tree-dump-times " & " 1 "gimple" } } */
16
/* { dg-final { cleanup-tree-dump "gimple" } } */

powered by: WebSVN 2.1.0

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