c++ PATCH: vbase dtors called multiple times
Horst von Brand
vonbrand@sleipnir.valparaiso.cl
Mon May 1 16:10:00 GMT 2000
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
More information about the Gcc-bugs
mailing list