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.c-torture/] [execute/] [pr43783.c] - Blame information for rev 301

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

Line No. Rev Author Line
1 297 jeremybenn
typedef __attribute__((aligned(16)))
2
struct {
3
  unsigned long long w[3];
4
} UINT192;
5
 
6
UINT192 bid_Kx192[32];
7
 
8
extern void abort (void);
9
 
10
int main()
11
{
12
  int i = 0;
13
  unsigned long x = 0;
14
  for (i = 0; i < 32; ++i)
15
    bid_Kx192[i].w[1] = i == 1;
16
  for (i = 0; i < 32; ++i)
17
    x += bid_Kx192[1].w[1];
18
  if (x != 32)
19
    abort ();
20
  return 0;
21
}

powered by: WebSVN 2.1.0

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