[Patch] Fix libstdc++/11378 (take2) + xsputn optmizations

Paolo Carlini pcarlini@unitus.it
Mon Jul 7 11:59:00 GMT 2003


Jerry Quinn wrote:

> > -	    int_type __tmp = this->overflow();
> > +	    const int_type __tmp = this->overflow();
>
>Why this chunk?  It seems pointless.
>
What do you mean by "pointless"? It seems to me that constifying const 
variables is always a good thing. Don't you agree?

Paolo.



More information about the Libstdc++ mailing list