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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr50161.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
/* PR middle-end/50161 */
2
/* { dg-do run } */
3
/* { dg-options "-O2 -fno-tree-ter -funroll-loops" } */
4
 
5
extern void abort (void);
6
 
7
int
8
main ()
9
{
10
  unsigned i;
11
  unsigned long a[16];
12
 
13
  for (i = 0; i < 16; i++)
14
    a[i] = ~0UL;
15
 
16
  for (i = 0; i < 16; i++)
17
    if (__builtin_popcountl (a[i]) != sizeof (a[i]) * 8)
18
      abort ();
19
 
20
  return 0;
21
}

powered by: WebSVN 2.1.0

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