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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [20050128-1.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 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.