1. 16 Aug, 2000 6 commits
    • codecvt.h: New file. · 8e7c93fe
      
      2000-08-15  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
      
      	* bits/codecvt.h: New file.
      	* src/codecvt.cc: New file.
      	* bits/std_locale.h: Add include here.
      	* src/Makefile.am (headers): Add codecvt.h
      	(sources): Add codecvt.cc.
      	* src/Makefile.in: Regenerate.
      	* bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
      	__codecvt_abstract_base in an attempt to point some light this way...
      	Move __enc_traits and codecvt bits to codecvt.h.
      	* src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
      	explicit instantiation. Separate out codecvt instantations, simplify.
      	* src/locale.cc: Move codecvt bits to codecvt.cc
      
      From-SVN: r35738
      Benjamin Kosnik committed
    • codecvt.h: New file. · 63511623
      
      2000-08-15  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
      
      	* bits/codecvt.h: New file.
      	* src/codecvt.cc: New file.
      	* bits/std_locale.h: Add include here.
      	* src/Makefile.am (headers): Add codecvt.h
      	(sources): Add codecvt.cc.
      	* src/Makefile.in: Regenerate.
      	* bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
      	__codecvt_abstract_base in an attempt to point some light this way...
      	Move __enc_traits and codecvt bits to codecvt.h.
      	* src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
      	explicit instantiation. Separate out codecvt instantations, simplify.
      	* src/locale.cc: Move codecvt bits to codecvt.cc
      
      From-SVN: r35737
      Benjamin Kosnik committed
    • * java/io/ByteArrayOutputStream.java: Merged with Classpath. · fec1ce0a
      From-SVN: r35736
      Tom Tromey committed
    • calls.c (ECF_SP_DEPRESSED): New macro. · 0cba764e
      	* calls.c (ECF_SP_DEPRESSED): New macro.
      	(calls_function_1): Treat calling sp-depressed function as alloca.
      	(emit_call_1): Don't adjust SP if calling sp-depressed function.
      	(expand_call): Set ECF_SP_DEPRESSED if TYPE_RETURNS_STACK_DEPRESSED.
      	If sp-depressed, ensure block saves and restores SP.
      	* fold-const.c (extract_muldiv): Only check TYPE_IS_SIZETYPE
      	for INTEGER_TYPE.
      	* function.c (keep_stack_depressed): New function.
      	(thread_prologue_and_epilogue_insns): Call it.
      	* print-tree.c (print_node): Use HOST_WIDE_INT_PRINT_UNSIGNED
      	to print DECL_OFFSET_ALIGN.
      	Print no-force-blk and transparent-union flags properly.
      	* stmt.c (expand_goto_internal): Don't restore stack if last block
      	and function returns with sp depressed.
      	(fixup_gotos): Likewise.
      	(save_stack_pointer): New function, from code in expand_decl.
      	(expand_decl): Call new function.
      	* tree.h (TYPE_IS_SIZETYPE): Call INTEGER_TYPE_CHECK.
      	(TYPE_RETURNS_STACK_DEPRESSED): New macro.
      	(save_stack_pointer): New declaration.
      
      From-SVN: r35735
      Richard Kenner committed
    • calls.c (ECF_SP_DEPRESSED): New macro. · 7393c642
      	* calls.c (ECF_SP_DEPRESSED): New macro.
      	(calls_function_1): Treat calling sp-depressed function as alloca.
      	(emit_call_1): Don't adjust SP if calling sp-depressed function.
      	(expand_call): Set ECF_SP_DEPRESSED if TYPE_RETURNS_STACK_DEPRESSED.
      	If sp-depressed, ensure block saves and restores SP.
      	* fold-const.c (extract_muldiv): Only check TYPE_IS_SIZETYPE
      	for INTEGER_TYPE.
      	* function.c (keep_stack_depressed): New function.
      	(thread_prologue_and_epilogue_insns): Call it.
      	* print-tree.c (print_node): Use HOST_WIDE_INT_PRINT_UNSIGNED
      	to print DECL_OFFSET_ALIGN.
      	Print no-force-blk and transparent-union flags properly.
      	* stmt.c (expand_goto_internal): Don't restore stack if last block
      	and function returns with sp depressed.
      	(fixup_gotos): Likewise.
      	(save_stack_pointer): New function, from code in expand_decl.
      	(expand_decl): Call new function.
      	* tree.h (TYPE_IS_SIZETYPE): Call INTEGER_TYPE_CHECK.
      	(TYPE_RETURNS_STACK_DEPRESSED): New macro.
      	(save_stack_pointer): New declaration.
      
      From-SVN: r35734
      Richard Kenner committed
    • jcf-write.c (generate_bytecode_conditional): Re-installed lost Jan 6 2000 patch. · 81baa09a
      2000-08-14  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
              * jcf-write.c (generate_bytecode_conditional): Re-installed lost
              Jan 6 2000 patch.
              (generate_bytecode_insns): Check `nargs' before emitting it.
              * verify.c (merge_type_state): Fixed typo.
              * ChangeLog: Fixed typo in some jcf-write.c entries mentioning
              generate_bytecode_{conditional,insns}.
      
      (http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00617.html)
      
      From-SVN: r35733
      Alexandre Petit-Bianco committed
  2. 15 Aug, 2000 30 commits
  3. 14 Aug, 2000 4 commits
    • stringstream.cc (test02): Fix. · f60ded13
      
      2000-08-14  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
      
      	* testsuite/27_io/stringstream.cc (test02): Fix.
      
      From-SVN: r35690
      Benjamin Kosnik committed
    • configure.in (ia64-*): Set float_format for i386 long double. · 3f622353
      	* configure.in (ia64-*): Set float_format for i386 long double.
      
      	* real.c (GET_REAL): Treat 128-bit INTEL_EXTENDED_IEEE_FORMAT
      	as we would for i386 XFmode.
      	(PUT_REAL): Likewise.
      	(endian, ereal_atof, real_value_truncate): Likewise.
      	(ereal_isneg, toe64, etens, make_nan): Likewise.
      	* real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Likewise.
      
      	* config/ia64/ia64-protos.h: Update.
      	* config/ia64/ia64.c (general_tfmode_operand): New.
      	(destination_tfmode_operand): New.
      	(tfreg_or_fp01_operand): New.
      	(ia64_split_timode): New.
      	(spill_tfmode_operand): New.
      	(ia64_expand_prologue): Use TFmode not XFmode.
      	(ia64_expand_epilogue): Likewise.
      	(ia64_function_arg): Likewise.
      	(ia64_function_arg_advance): Likewise.
      	(ia64_return_in_memory): Likewise.
      	(ia64_function_value): Likewise.
      	(ia64_print_operand): Likewise.
      	(ia64_register_move_cost): Set GR<->FR to 5.
      	(ia64_secondary_reload_class): Get GR for TImode memory op.
      	* config/ia64/ia64.h (ROUND_TYPE_SIZE): Remove.
      	(ROUND_TYPE_ALIGN): Remove.
      	(LONG_DOUBLE_TYPE_SIZE): Set to 128.
      	(INTEL_EXTENDED_IEEE_FORMAT): Define.
      	(HARD_REGNO_NREGS): Use TFmode, not XFmode.
      	(HARD_REGNO_MODE_OK): Likewise.  Disallow TImode in FRs.
      	(MODES_TIEABLE_P): Use TFmode, not XFmode.
      	(CLASS_MAX_NREGS): Likewise.
      	(ASM_OUTPUT_LONG_DOUBLE): Output by 4 byte hunks.
      	(PREDICATE_CODES): Update.
      	* config/ia64/ia64.md (movti): New.
      	(movti_internal): Use a clobber for memory alternatives.
      	(reload_inti, reload_outti): New.
      	(movsfcc_astep): Predicate properly.
      	(movdfcc_astep): Likewise.
      	(movxf): Remove.
      	(movtf): New.
      	(extendsftf2, extenddftf2): New.
      	(trunctfsf2, trunctfdf2): New.
      	(floatditf2, fix_trunctfdi2): New.
      	(floatunsditf2, fixuns_trunctfdi2): New.
      	(addtf3, subtf3, multf3, abstf2): New.
      	(negtf2, nabstf2, mintf3, maxtf3): New.
      	(maddtf3, msubtf3, nmultf3, nmaddtf3): New.
      	(cmptf): New.
      	(fr_spill): Use TFmode, not XFmode.
      	(fr_restore): Likewise.
      	* config/ia64/lib1funcs.asm (__divtf3): New.
      	* config/ia64/t-ia64 (LIB1ASMFUNCS): Add it.
      
      From-SVN: r35689
      Richard Henderson committed
    • debug_assert.h: new file · b6767a49
      
      2000-08-14  Brent Verner <brent@rcfile.org>
      
      	* testsuite/debug_assert.h: new file
      	* testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g
      	changed conditional #include <c?assert.?h?> to
      	unconditional #include <debug_assert.h>
      	* mkcheck.in: added $SRC_DIR/testsuite to include search path
      	for testsuite compile command.
      
      From-SVN: r35688
      Brent Verner committed
    • cse.c (fold_rtx): Avoid empty body in an if-statement. · e49a1d2e
      	* cse.c (fold_rtx): Avoid empty body in an if-statement.
      
      	* doloop.c (doloop_iterations_max, doloop_modify): Avoid using the
      	`U' integer constant suffix.
      
      	* dwarf2out.c (add_subscript_info): Avoid empty body in an
      	else-statement.
      
      	* sparc/sol2.h (__enable_execute_stack): Prototype.
      
      From-SVN: r35687
      Kaveh R. Ghazi committed