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/] [20050128-1.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 "-O2 -fdump-tree-gimple" } */
3
 
4
int
5
foo (int align)
6
{
7
  int off = 0 % align;
8
  return off ? align - off : 0;
9
}
10
 
11
/* We should have optimized away the mod operator before we gimpleized
12
   the code.  */
13
/* { dg-final { scan-tree-dump-times "%" 0 "gimple"} } */
14
/* { 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.