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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [pr51015.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
 
3
typedef unsigned long long __u64;
4
static __u64 ext2_max_sizes[16 - 10 + 1];
5
 
6
void e2fsck_pass1()
7
{
8
 int i;
9
 __u64 max_sizes;
10
 
11
 for (i = 10; i <= 16; i++) {
12
  max_sizes = 12 + (1ULL << ((i) - 2));
13
  max_sizes = max_sizes + (1ULL << ((i) - 2)) * (1ULL << ((i) - 2));
14
  max_sizes = max_sizes + (1ULL << ((i) - 2)) * (1ULL << ((i) - 2)) * (1ULL <<((i) - 2));
15
  ext2_max_sizes[i - 10] = max_sizes;
16
 }
17
}
18
 
19
/* { dg-final { cleanup-tree-dump "vect" } } */

powered by: WebSVN 2.1.0

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