------- Comment #12 from tsyvarev at ispras dot ru 2008-11-01 16:01 ------- Created an attachment (id=16607) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16607&action=view) Test, whether there is an unnecessary comparision (in == end)
By hooking underflow() method of stringbuf, one can verify, whether do_get() implementation performs unnesessary call of (in == end). First test in main() verify situation, when all sequences are empty. Second and third - falsename is "false", truename is "true", input sequence is "false" or "true" correspondingly. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37958