[Patch, PR 61720] Clear regex BFS match queue after every iteration

Paolo Carlini paolo.carlini@oracle.com
Sun Jul 6 14:12:00 GMT 2014


Hi,

On 07/06/2014 10:56 AM, Tim Shen wrote:
> This bug shouldn't be introduced, if I wrote clearer code last summer.
> Sorry :(. The _Executor is a little bit messy. The _M_match_queue is
> not cleared because it's treated `globally` between iterations (in
> _M_main_dispatch(..., __bfs)).
>
> Add a new file general_testcases.cc; we can gradually move test cases
> to this single file to reduce duplicated compilation in testing?
Patch itself looks obvious to me, but I don't understand the 
general_testcases.cc idea, do we have something similar elsewhere in 
library or compiler?!? I would say, let's just add a normal testcase and 
close the bug (mainline and branch I suppose)

Thanks,
Paolo.



More information about the Libstdc++ mailing list