------- Comment #8 from paolo at gcc dot gnu dot org 2010-05-21 16:57 ------- Subject: Bug 25306
Author: paolo Date: Fri May 21 16:57:17 2010 New Revision: 159677 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159677 Log: 2010-05-21 Paolo Carlini <paolo.carl...@oracle.com> PR libstdc++/25306 * include/bits/stl_algobase.h (fill_n): Use a properly typed __niter initialized to __n. * include/bits/stl_algo.h (generate_n): Likewise. * testsuite/25_algorithms/fill_n/25306.cc: New. * testsuite/25_algorithms/generate_n/25306.cc: Likewise. Added: trunk/libstdc++-v3/testsuite/25_algorithms/fill_n/25306.cc trunk/libstdc++-v3/testsuite/25_algorithms/generate_n/25306.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/bits/stl_algo.h trunk/libstdc++-v3/include/bits/stl_algobase.h -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25306