PATCH: PR middle-end/33199: [4.3 Regression] tr1/2_general_utilities/shared_ptr/assign/auto_ptr.cc

Paolo Carlini pcarlini@suse.de
Mon Aug 27 17:56:00 GMT 2007


H.J. Lu wrote:

>The problem is C++ can't inline a function with a variable-length
>argument list. Before revision 127763, we ignore inline on C++
>functions with a variable-length argument list. But now, we
>inline C++ functions with a variable-length argument list,
>which generates incorrect codes. I don't know what the appropriate
>fix is. If inline isn't allowed here, compiler should issue an
>error instead of generating wrong code unless we can ignore inline
>like what we did before revision 127763.
>  
>
Yes, certainly we want a real compiler fix.

Paolo.



More information about the Libstdc++ mailing list