URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
/* Origin: PR c/364 from and@genesyslab.com, very much reduced to a
|
/* Origin: PR c/364 from and@genesyslab.com, very much reduced to a
|
testcase by Joseph Myers <jsm28@cam.ac.uk>.
|
testcase by Joseph Myers <jsm28@cam.ac.uk>.
|
|
|
The initializer of z is a valid address constant, and GCC 2.95.2
|
The initializer of z is a valid address constant, and GCC 2.95.2
|
accepts it as such. CVS GCC as of 2001-01-13 rejects it, but accepts
|
accepts it as such. CVS GCC as of 2001-01-13 rejects it, but accepts
|
it if y is changed to x in the initializer. */
|
it if y is changed to x in the initializer. */
|
|
|
struct {
|
struct {
|
struct {
|
struct {
|
int x;
|
int x;
|
int y;
|
int y;
|
} p;
|
} p;
|
} v;
|
} v;
|
|
|
int *z = &((&(v.p))->y);
|
int *z = &((&(v.p))->y);
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.