This is the mail archive of the gcc-regression@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GCC build failure, HEAD@186391 on native


With your recent patch, GCC HEAD revision 186391 had problems on:
native: build (about the same as the previous build)
Attached is build output for those targets.
The previous build was of revision 186389.

Log information for changes since the last build:
------------------------------------------------------------------------
r186391 | jyasskin | 2012-04-12 13:59:09 -0700 (Thu, 12 Apr 2012) | 23 lines
Changed paths:
   M /trunk/libstdc++-v3/ChangeLog
   M /trunk/libstdc++-v3/include/bits/stl_algo.h
   M /trunk/libstdc++-v3/testsuite/25_algorithms/stable_partition/moveable.cc
   A /trunk/libstdc++-v3/testsuite/25_algorithms/stable_partition/pr52822.cc (from /trunk/libstdc++-v3/testsuite/25_algorithms/stable_partition/moveable.cc:186389)

Fix PR52822 (stable_partition move-assigns object to itself) by
scanning for the first value that doesn't match the predicate before
starting to rearrange values.

2012-04-03   Jeffrey Yasskin  <jyasskin@google.com>

	PR libstdc++/52822
	* include/bits/stl_algo.h (__find_if_not): Expose in
	C++98 mode.
	(__find_if_not_n): Like __find_if_not, but works on and updates a
	counted range instead of a bounded range.
	(stable_partition): Guarantee !__pred(*__first) in call to
	__stable_partition_adaptive() or __inplace_stable_partition().
	(__stable_partition_adaptive): Use new precondition to avoid
	moving/copying objects onto themselves.  Guarantee new
	precondition to recursive calls.
	(__inplace_stable_partition): Use new precondition to simplify
	base case, remove __last parameter.  Guarantee new precondition to
	recursive calls.
	* testsuite/25_algorithms/stable_partition/moveable.cc (test02):
	Test a sequence that starts with a value matching the predicate.
	* testsuite/25_algorithms/stable_partition/pr52822.cc:
	Test vectors, which have a destructive self-move-assignment.
------------------------------------------------------------------------

For more information, see <http://glutton.geoffk.org/HEAD/>.

Attachment: native-log.txt
Description: Text document

-- 
Geoffrey Keating <geoffk@geoffk.org> 
(via an automated GCC regression-testing script.)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]