GCC build failure, HEAD@186391 on native

GCC regression tester regress@geoffk.org
Thu Apr 12 21:14:00 GMT 2012


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/>.

-------------- next part --------------
/home/regress/tbox/native/build/./prev-gcc/g++ -B/home/regress/tbox/native/build/./prev-gcc/ -B/home/regress/tbox/objs/i686-pc-linux-gnu/bin/ -nostdinc++ -B/home/regress/tbox/native/build/prev-i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/home/regress/tbox/native/build/prev-i686-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -I/home/regress/tbox/native/build/prev-i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu -I/home/regress/tbox/native/build/prev-i686-pc-linux-gnu/libstdc++-v3/include -I/home/regress/tbox/svn-gcc/libstdc++-v3/libsupc++ -L/home/regress/tbox/native/build/prev-i686-pc-linux-gnu/libstdc++-v3/src/.libs -L/home/regress/tbox/native/build/prev-i686-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -c   -g -O2 -gtoggle -DIN_GCC   -fno-exceptions -fno-rtti -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -I. -I. -I/home/regress/tbox/svn-!
 gcc/gcc -I/home/regress/tbox/svn-gcc/gcc/. -I/home/regress/tbox/svn-gcc/gcc/../include -I/home/regress/tbox/svn-gcc/gcc/../libcpp/include  -I/home/regress/tbox/svn-gcc/gcc/../libdecnumber -I/home/regress/tbox/svn-gcc/gcc/../libdecnumber/bid -I../libdecnumber    /home/regress/tbox/svn-gcc/gcc/tree-ssa-sccvn.c -o tree-ssa-sccvn.o
/home/regress/tbox/svn-gcc/gcc/tree-ssa-reassoc.c: In function 'void attempt_builtin_powi(gimple, VEC_operand_entry_t_heap**, tree_node**)':
/home/regress/tbox/svn-gcc/gcc/tree-ssa-reassoc.c:3189:41: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Werror=format]
     fprintf (dump_file, ")^%ld\n", power);
                                         ^
/home/regress/tbox/svn-gcc/gcc/tree-ssa-reassoc.c:3222:44: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Werror=format]
        fprintf (dump_file, ")^%ld\n", power);
                                            ^
cc1plus: all warnings being treated as errors
make[3]: *** [tree-ssa-reassoc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
rm gcj-dbtool.pod jcf-dump.pod jv-convert.pod grmic.pod gcj.pod gc-analyze.pod cpp.pod gfdl.pod gij.pod gcov.pod gfortran.pod fsf-funding.pod gcc.pod
make[3]: Leaving directory `/home/regress/tbox/native/build/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/home/regress/tbox/native/build'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/home/regress/tbox/native/build'
make: *** [bootstrap] Error 2
+ '[' -s .bad_compare ']'
+ exit 1
-------------- next part --------------

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


More information about the Gcc-regression mailing list