URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* PR c/14092
|
/* PR c/14092
|
* Origin: bonzini@gnu.org
|
* Origin: bonzini@gnu.org
|
* rejects-valid
|
* rejects-valid
|
*/
|
*/
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
|
|
/* Define this so that we are more portable. The testcase in the
|
/* Define this so that we are more portable. The testcase in the
|
PR failed on 64-bit hosts. */
|
PR failed on 64-bit hosts. */
|
typedef int __attribute__ ((mode (__pointer__))) intptr_t;
|
typedef int __attribute__ ((mode (__pointer__))) intptr_t;
|
|
|
typedef struct _PLCI {
|
typedef struct _PLCI {
|
unsigned char x;
|
unsigned char x;
|
unsigned char buf[1];
|
unsigned char buf[1];
|
} PLCI;
|
} PLCI;
|
|
|
void nl_ind(PLCI * plci)
|
void nl_ind(PLCI * plci)
|
{
|
{
|
plci->x = -((intptr_t)(plci->buf)) & 3;
|
plci->x = -((intptr_t)(plci->buf)) & 3;
|
}
|
}
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.