This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: Move reg_equiv_* into a single structure


On Tue, May 18, 2010 at 02:28:13PM -0600, Jeff Law wrote:
> If I read the VEC support correctly, we can build a vector of
> pointers, but not a vector of structures.    With all the fields in
> the structure I care about being rtxs I could hack something almost
> readable, or I could allocate the underlying structures, but that
> would be wasteful (both in terms of memory consumption & compile-time
> performance due to extra indirections).  ISTM that VECs just aren't a
> particularly good fit here.
> 
> Am I missing something?

This should just be a DEF_VEC_O, iirc.  I know I've done this.

-- 
Daniel Jacobowitz
CodeSourcery


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