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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20010113-1.c] - Diff between revs 149 and 154

Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
/* 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);
 
 

powered by: WebSVN 2.1.0

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