[v3] libstdc++/33489

Benjamin Kosnik bkoz@redhat.com
Tue Oct 9 19:37:00 GMT 2007


> However, the referenced elements might not exist (a[0] == 0 or b[0]
> too large) in corner cases, even if all the sequences are non-empty.
> That's also the reason why the *set flags exist. We should use
> pointers instead. They could replace the *set flags as well (e. g.
> maxleft == NULL corresponds to maxleftset == false).

Done.

> Since we only refer to existing elements, we should be able to use
> pointers and/or references in all erroneous cases, in principle.

Got it. This patch does this, and removes all the 2.cc fails in the
testsuite in parallel mode.

tested x86/linux
tested x86/linux parallel

-benjamin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.20071009-1
Type: application/octet-stream
Size: 22730 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20071009/599b06d4/attachment.obj>


More information about the Libstdc++ mailing list