This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: genattrtab.c [Am I on drugs?!?]


  In message <9909301845.AA17020@vlsi1.ultra.nyu.edu>you write:
  >     The rtx pointers from the elem array end up in the wrong places in the
  >     test array when a HOST_WIDE_INT is larger than a pointer.
  > 
  > Sorry, I still don't see this.
  > 
  >     Each entry in the rtunion array is twice the size of each entry in the 
  >     elem array.
  > 
  > No, because elem is an array of rtunion too!
No.  elem is not an array of rtunions.

typedef struct rtvec_def{
  int num_elem;         /* number of elements */
  int gc_mark;
  struct rtx_def *elem[1];
} *rtvec;


Note carefully the type of elem.  It is a struct rtx_def *.  That is rather
different than an rtunion.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]