This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: New VEC API
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: nathan at codesourcery dot com (Nathan Sidwell)
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 18 Apr 2005 18:23:28 -0400 (EDT)
- Subject: 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)