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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr28755.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 689 jeremybenn
/* PR middle-end/28755 */
2
/* { dg-do compile } */
3
/* { dg-require-effective-target ptr32plus } */
4
/* { dg-options "-Os" } */
5
/* { dg-final { scan-assembler-times "2112543726\|7deadbee" 2 } } */
6
 
7
struct S
8
{
9
  void *s1;
10
  unsigned s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14;
11
};
12
 
13
const struct S array[] = {
14
  { (void *) 0, 60, 640, 2112543726, 39682, 48, 16, 33, 10, 96, 2, 0, 0, 4 },
15
  { (void *) 0, 60, 2112543726, 192, 18251, 16, 33, 10, 96, 2, 0, 0, 4, 212 }
16
};
17
 
18
void
19
foo (struct S *x)
20
{
21
  x[0] = array[0];
22
  x[5] = array[1];
23
}

powered by: WebSVN 2.1.0

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