Re: [obvious] Fix va_end calls

2012-04-20 Thread Michael Matz
Hi, On Thu, 19 Apr 2012, Michael Matz wrote: > I've audited all other calls of va_end in the compiler and these were the > only problematic ones. Well, I did, but forgot the fact that I found one in cp/error.c, so the generated diff and the commit forgot that file too. It was in the regstrap

[obvious] Fix va_end calls

2012-04-19 Thread Michael Matz
Hi, I observed this with an alternate implementation of the stdarg stuff that allocs new va_lists for va_start and va_copy, and frees them on va_end. Some routines of diagnostic.c called va_end while the va_list was still stored away in the diag objects and used in report_diagnostic. I've aud