This is the mail archive of the gcc-bugs@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]

Re: c++ PATCH: vbase dtors called multiple times


scott snyder <snyder@fnal.gov> said:
> For a recent cvs version of g++ (2.96 20000428 on i686-pc-linux-gnu),
> gcc generates invalid code for the following input:
> 
> -------------------------------------------------------------------------
> extern "C" int printf (...);

AFAIKS, this is illegal: The stdarg.h mechanism needs at least one known
arg to get a hold of the argument list. Or am I off-base here?
-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile                               +56 32 672616


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]