On Tue, Apr 19, 2011 at 08:46:17PM +0300, Janne Blomqvist wrote: > Oh, those macros are nice. I updated the patch to use them instead, > except for one case where the usage didn't fit the XCNEW(VEC) API and > I used xcalloc directly instead. Here's what I committed:
For that remaining case there is XCNEWVAR, i.e. b = XCNEWVAR (gfc_linebuf, gfc_linebuf_header_size + (len + 1) * sizeof (gfc_char_t)); Jakub