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: New VEC API


> It was only the pa backend -- I'm pleasantly surprised the backends are
> already using it :)  This case was another place where an object vector
> would be more appropriate, and I made the necessary changes.

I tried the change but hit a segmentation fault in stage1 building
libgcc.  The "free" VEC_OP in the define for DEF_VEC_ALLOC_O doesn't
check *vec_ and we die calling ggc_free with a null pointer.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)


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