[bootstrap failure on 3.2 branch] Re: PATCH to avoid copying tail padding

Matthias Klose doko@cs.tu-berlin.de
Mon Sep 9 23:23:00 GMT 2002


Your patch

	http://gcc.gnu.org/ml/gcc-patches/2002-08/msg01413.html

breaks bootstrapping the branch on m68k-linux as reported in
libstdc++/7822 compiling locale-inst.cc. The breakage is independent
of an optimization level and -fPIC.

2002-08-22  Jason Merrill  <jason@redhat.com>

	* langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro.
	* langhooks.c (lhd_expr_size): Define default.
	* langhooks.h (struct lang_hooks): Add expr_size.
	* explow.c (expr_size): Call it.
	(int_expr_size): New fn.
	* expr.h: Declare it.
	* expr.c (expand_expr) [CONSTRUCTOR]: Use it to calculate how 
        much to store.
cp/
	PR c++/5607
	* search.c (check_final_overrider): No longer static.
	* class.c (update_vtable_entry_for_fn): Call it.
	* cp-tree.h: Adjust.

	* cp-lang.c (LANG_HOOKS_EXPR_SIZE): Define.
	(cp_expr_size): New fn.
	* call.c (convert_arg_to_ellipsis): Promote non-POD warning to error.
	* typeck.c (build_modify_expr): Don't use save_expr on an lvalue.



/build/buildd/gcc-3.2-3.2.1ds0/build/gcc/xgcc -shared-libgcc -B/build/buildd/gcc-3.2-3.2.1ds0/build/gcc/ -nostdinc++ -L/build/buildd/gcc-3.2-3.2.1ds0/build/m68k-linux/libstdc++-v3/src -L/build/buildd/gcc-3.2-3.2.1ds0/build/m68k-linux/libstdc++-v3/src/.libs -B/usr/m68k-linux/bin/ -B/usr/m68k-linux/lib/ -isystem /usr/m68k-linux/include -nostdinc++ -I/build/buildd/gcc-3.2-3.2.1ds0/build/m68k-linux/libstdc++-v3/include/m68k-linux -I/build/buildd/gcc-3.2-3.2.1ds0/build/m68k-linux/libstdc++-v3/include -I/build/buildd/gcc-3.2-3.2.1ds0/src/libstdc++-v3/libsupc++ -I/build/buildd/gcc-3.2-3.2.1ds0/src/libstdc++-v3/libmath -g -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c /build/buildd/gcc-3.2-3.2.1ds0/src/libstdc++-v3/src/locale-inst.cc  -fPIC -DPIC -o .libs/locale-inst.o
/build/buildd/gcc-3.2-3.2.1ds0/build/m68k-linux/libstdc++-v3/include/bits/locale_facets.h: In
   member function `_OutIter std::money_put<_CharT, _OutIter>::put(_OutIter, 
   bool, std::ios_base&, _CharT, long double) const [with _CharT = char, 
   _OutIter = std::ostreambuf_iterator<char, std::char_traits<char> >]':
/build/buildd/gcc-3.2-3.2.1ds0/src/libstdc++-v3/src/locale-inst.cc:52:   instantiated from here
/build/buildd/gcc-3.2-3.2.1ds0/build/m68k-linux/libstdc++-v3/include/bits/locale_facets.h:1589: Internal
   compiler error in expand_call, at calls.c:3049
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.



More information about the Gcc-bugs mailing list