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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [reassoc-25.c] - Blame information for rev 749

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 --param tree-reassoc-width=3 -fdump-tree-reassoc1-details" } */
3
 
4
unsigned int
5
foo (int a, int b, int c, int d)
6
{
7
  unsigned int s = 0;
8
 
9
  s += a;
10
  s += b;
11
  s += c;
12
  s += d;
13
 
14
  return s;
15
}
16
 
17
/* Verify reassociation width was chosen to be 2.  */
18
/* { dg-final { scan-tree-dump-times "Width = 2" 1 "reassoc1"} } */
19
/* { dg-final { cleanup-tree-dump "reassoc1" } } */

powered by: WebSVN 2.1.0

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