Commit 9008da16 authored by jakub's avatar jakub
Browse files

* gcc.dg/20000904-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36130 138bc75d-0d04-0410-961f-82ee72b054a4
parent 95732cd4
2000-09-04 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20000904-1.c: New test.
2000-09-04 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/cpp/paste8.c: New test.
......
/* { dg-do compile { target i?86-*-* } } */
/* { dg-options "-O0 -fpic" } */
static struct {
unsigned short a, b, c, d;
} x[10];
int foo(int i)
{
return ((*((char *)&x[i] + i)) | (*((char *)&x[i] + i)));
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment