OSDN Git Service

2004-11-01 Paolo Carlini <pcarlini@suse.de>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Nov 2004 11:31:44 +0000 (11:31 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Nov 2004 11:31:44 +0000 (11:31 +0000)
commit2259e55d132a590a1f58215011db31fb38689bdc
treef8e2e7a14464efa41bc96181f14aa487250b853c
parent44ed10320786506c4ecf348b609cfe32fbc1a66d
2004-11-01  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
Evaluate *__beg the exact strict minimum number of times; likewise
for __beg != __end; in the main parsing loop, call ++__beg in two
places only. The former is also a correctness issue, because,
according to the standard (22.2.2.1.2, Stage 2), 'in' shall be
dereferenced only one time for each increment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89940 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_facets.tcc