This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++ PATCH: vbase dtors called multiple times
- To: scott snyder <snyder at fnal dot gov>
- Subject: Re: c++ PATCH: vbase dtors called multiple times
- From: Horst von Brand <vonbrand at sleipnir dot valparaiso dot cl>
- Date: Mon, 01 May 2000 10:44:38 -0400
- cc: gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
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