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] |
FWIW, it is a regression from 4.0. It is OK to use DEF_VEC_MALLOC_O since it is different from DEF_VEC_GC_O which gengtype won't touch. Now we only have DEF_VEC_O for everyone.
Let me know what you want me to use. I can use DEF_VEC_P if it works.
I suggest DEF_VEC_MALLOC_P for 4.0 and DEF_VEC_ALLOC_P(,heap) for 4.1. Look at global.c for an example use with 'int'.
-- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |