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/] [ssa-pre-9.c] - Blame information for rev 823

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 "-O2 -fno-tree-dominator-opts -fdump-tree-fre-stats" } */
3
int
4
foo (unsigned long a)
5
{
6
  int b = __builtin_clzl (a);
7
  int c = __builtin_clzl (a);
8
  if (b == c)
9
    return 1;
10
  return 0;
11
}
12
/* { dg-final { scan-tree-dump-times "Eliminated: 1" 1 "fre"} } */
13
/* { dg-final { cleanup-tree-dump "fre" } } */

powered by: WebSVN 2.1.0

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