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/] [pr34027-1.c] - Blame information for rev 328

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

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-Os -fdump-tree-optimized" } */
3
 
4
unsigned long foobar(unsigned long ns)
5
{
6
  while(ns >= 10000L)
7
    ns -= 10000L;
8
  return ns;
9
}
10
 
11
/* This test was originally introduced to test that we transform
12
   to ns % 10000.  See the discussion of PR 32044 why we do not do
13
   that anymore.  */
14
/* { dg-final { scan-tree-dump-times "%" 0 "optimized" } } */
15
/* { dg-final { scan-tree-dump-times "/" 0 "optimized" } } */
16
/* { 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.