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?!?]


    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.

Since this was suspected to be a bug "forever", I was looking at the gcc2
sources, where it *is* an rtunion.  I wonder when that disparity happened?

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