On Mon, May 2, 2011 at 11:34 PM, Jeff Law <l...@redhat.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 05/02/11 15:18, Richard Guenther wrote:
>
>>
>>> For (edge *)xmalloc (sizeof (edge) * 1) use XNEWVEC and friends.
> Yup.  Good catch.  Will fix.  Old habits die hard.
>
>>> I wonder if it makes sense to use a VEC instead (will the vector
>>> be of variable size?).  Maybe wrap accesses to e->aux with
>>> a macro or some inline functions.
> It's fixed size (2 edges once I add support for copying the joiner block).
>
> Wrappers are probably a good idea as well.
>
> I've got no opinion on using a VEC if folks chime in with the request,
> I'll make that change.

If it's fixed size there's no need for a VEC, it would be just overhead.

Richard.

> jeff
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
>
> iQEcBAEBAgAGBQJNvyNeAAoJEBRtltQi2kC7SBkIAI3xXdlmEgfjD/Jd/48h63Oa
> CF+qfjm3hQYLBr31UzQB82CdWgm2i7p9WLWdlMsNwnB4sEjriTE1bqnYKK6xQfnP
> xlP1cUHmBij3s7IbezGN1OeL5d3lDJ8tLH3gumroutgPgktQMNMLUU7wQbf9AdlY
> q1n9MVurPgCvU4K0/neX+u16r4Uo5nMx+OuKUiizR1aOI1GweykQxa9zABZ3ivnz
> Yfof9jfZFappwvqRl4cAeCW1YFbXg2XdfxmVET4Bb5XvNhyLB94cTVfqIVrM1DWX
> j2+UsDkexDtUyA0jxzF6+xK8vdHPcou23R8AHjSqbOvzzUUmtuKnhKYmKptLgu0=
> =Ib0z
> -----END PGP SIGNATURE-----
>

Reply via email to