On Thu, 17 Mar 2016, Jakub Jelinek wrote: > Hi! > > Zdenek reported a compare debug issue, where it is dumping used function > prototypes and there is a difference between -g0 and -g in > -2: static int BIO_vsnprintf (char *, size_t, const char *, struct *, > void, ...); > +2: static int BIO_vsnprintf (char *, size_t, const char *, struct *); > The former is of course wrong, and the reason for that is that C FE's > composite_type mishandles void_list_node - that should terminate the list > if there are no varargs, it is not a void argument or something similar, > and if the original lists are terminated by that, the new one should be too. > Testcase is not included, as it is too large and reduction didn't work very > well for that. > > Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for > trunk?
OK. -- Joseph S. Myers jos...@codesourcery.com