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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [arm/] [pr51915.c] - Blame information for rev 751

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

Line No. Rev Author Line
1 691 jeremybenn
/* PR target/51915 */
2
/* { dg-do compile } */
3
/* { dg-options "-march=armv7-a -mfloat-abi=hard -O2" } */
4
 
5
struct S { int s1; void *s2; };
6
struct T { struct S t1; unsigned long long t2; };
7
struct S *foo (unsigned long long);
8
 
9
struct S *
10
bar (struct S *x)
11
{
12
  return foo (((struct T *) x)->t2);
13
}

powered by: WebSVN 2.1.0

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