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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gcc.target/] [i386/] [20000904-1.c] - Blame information for rev 20

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

Line No. Rev Author Line
1 12 jlechner
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2
/* { dg-options "-O0 -fpic" } */
3
 
4
static struct {
5
  unsigned short a, b, c, d;
6
} x[10];
7
 
8
int foo(int i)
9
{
10
  return ((*((char *)&x[i] + i)) | (*((char *)&x[i] + i)));
11
}

powered by: WebSVN 2.1.0

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