[Patch] Fix libstdc++/11740

Paolo Carlini pcarlini@unitus.it
Mon Oct 6 20:45:00 GMT 2003


Hi,

in short, we failed to compute and return (M & m) != 0, as per 22.2.1.1.2.

Instead, essentially, we selected all the 1s in m, &&-ed each with the
corresponding bit in M and returned the && of all those, another thing.

Tested x86-linux. Ok??

Paolo.

//////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_11740
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20031006/2b864e8c/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_11740
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20031006/2b864e8c/attachment-0001.ksh>


More information about the Libstdc++ mailing list