Gabriel Dos Reis [Mon, 1 Apr 2002 14:01:24 +0000 (14:01 +0000)]
template-as-base.C: Expect error.
* g++.dg/inherit/template-as-base.C: Expect error.
* g++.dg/inherit/namespace-as-base.C: Likewise.
From-SVN: r51687
Paolo Carlini [Mon, 1 Apr 2002 08:55:05 +0000 (10:55 +0200)]
2002-04-01 Paolo Carlini <pcarlini@unitus.it>
* config/locale/ieee_1003.1-2001/codecvt_specializations.h
(codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
By definition, sizeof(char) == 1.
* include/bits/locale_facets.tcc (money_get::do_get,
money_put::do_put): Ditto.
* testsuite/21_strings/inserters_extractors.cc
(test04): Ditto.
From-SVN: r51685
Neil Booth [Mon, 1 Apr 2002 08:46:10 +0000 (08:46 +0000)]
c-common.c (unsigned_conversion_warning, [...]): Use new hooks.
* c-common.c (unsigned_conversion_warning, convert_and_check,
unsigned_type, signed_type, shorten_compare,
c_common_get_alias_set, c_common_nodes_and_builtins): Use new hooks.
(unsigned_type, signed_type, signed_or_unsigned_type): Rename.
* c-common.h (unsigned_type, signed_type, signed_or_unsigned_type):
New.
* c-decl.c (grokdeclarator): Update.
* c-format.c (check_format_types): Update.
* c-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
* c-typeck.c (build_binary_op, convert_for_assignment): Update.
* convert.c (convert_to_integer): Use new hooks.
* expmed.c (make_tree): Use new hooks.
* expr.c (store_expr): Use new hooks.
* fold-const.c (operand_equal_for_comparison_p, build_range_check,
all_ones_mask_p, unextend, fold): Use new hooks.
* langhooks.h (struct lang_hooks_for_types): New hooks.
* tree.h (signed_or_unsigned_type, signed_type,
unsigned_type): Remove.
ada:
* gigi.h (unsigned_type, signed_type, signed_or_unsigned_type):
Rename.
* misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
* trans.c (tree_transform, convert_with_check): Update.
* utils.c (unsigned_type, signed_type, signed_or_unsigned_type):
Rename.
cp:
* cp-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
* decl.c (grokdeclarator): Update.
* mangle.c (write_integer_cst): Update.
* typeck.c (build_binary_op): Update.
f:
* com.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
(unsigned_type, signed_type, signed_or_unsigned_type): Rename.
java:
* expr.c (build_java_binop): Update.
* java-tree.h (java_signed_type, java_unsigned_type,
java_signed_or_unsigned_type): Update.
* lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
* parse.y (patch_binop): Update.
* typeck.c (signed_or_unsigned_type, unsigned_type,
signed_type): Update.
objc:
* objc-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
From-SVN: r51684
GCC Administrator [Mon, 1 Apr 2002 08:17:05 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r51683
Richard Henderson [Mon, 1 Apr 2002 06:52:45 +0000 (22:52 -0800)]
unwind-ia64.c (alloc_spill_area): Fix offset.
* config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset.
(desc_frgr_mem): Fix reference to f16-f31.
From-SVN: r51679
Kaveh R. Ghazi [Mon, 1 Apr 2002 05:08:51 +0000 (05:08 +0000)]
varray.h (VARRAY_CHECK): Const-ify.
* varray.h (VARRAY_CHECK): Const-ify.
* ggc.h (ggc_mark_rtx, ggc_mark_tree, ggc_mark_nonnull_tree,
ggc_mark_rtvec, ggc_mark): Const-ify.
From-SVN: r51677
Kaveh R. Ghazi [Mon, 1 Apr 2002 03:18:49 +0000 (03:18 +0000)]
rtl.h (RTL_CHECK1, [...]): Const-ify.
* rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2,
RTVEC_ELT): Const-ify.
From-SVN: r51676
Neil Booth [Sun, 31 Mar 2002 22:59:14 +0000 (22:59 +0000)]
diagnostic.c: Include langhooks-def.h.
* diagnostic.c: Include langhooks-def.h.
* Makefile.in (diagnostic.o): Update.
From-SVN: r51674
Neil Booth [Sun, 31 Mar 2002 22:40:57 +0000 (22:40 +0000)]
c-common.c (c_unsafe_for_reeval): Rename.
* c-common.c (c_unsafe_for_reeval): Rename.
* c-common.h (c_unsafe_for_reeval): Rename.
* c-decl.c (finish_incomplete_decl): Rename.
(c_init_decl_processing): Don't set langhook.
* c-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
* c-objc-common.c (c_objc_common_init): Don't set langhook.
* c-tree.h (finish_incomplete_decl): Rename.
* langhooks-def.h (lhd_unsafe_for_reeval): New.
(LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): New.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.c (lhd_unsafe_For_reeval): New.
* langhooks.h (struct langhooks): New hooks.
* toplev.c (incomplete_decl_finalize_hook): Remove.
(wrapup_global_declarations): Update.
* tree.c (lang_unsafe_for_reeval): Remove.
(unsafe_for_reeval): Update.
* tree.h (lang_unsafe_for_reeval, incomplete_decl_finalize_hook):
Remove.
ada:
* gigi.h (finish_incomplete_decl): Rename.
* misc.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Redefine.
* utils.c (gnat_init_decl_processing): Don't set hook.
(finish_incomplete_decl): Rename.
cp:
* cp-lang.c (LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
* lex.c (cxx_init): Don't set hook.
objc:
* objc-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
From-SVN: r51673
Neil Booth [Sun, 31 Mar 2002 22:32:05 +0000 (22:32 +0000)]
diagnostic.c (print_error_function): Remove.
* diagnostic.c (print_error_function): Remove.
(default_print_error_function): Rename.
(report_error_function): Update.
* diagnostic.h (print_error_function): Remove.
(default_print_error_function): Remove.
* langhooks-def.h (struct diagnostic_context): Predeclare.
(lhd_print_error_function, LANG_HOOKS_PRINT_ERROR_FUNCTION): New.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.h (struct diagnostic context): Predeclare.
(struct lang_hooks): New hook.
cp:
* Make-lang.in (error.o): Update.
* cp-lang.c (LANG_HOOKS_PRINT_ERROR_FUNCTION): Redefine.
* cp-tree.h (struct diagnostic_context): Predeclare.
(cxx_print_error_function): New.
* error.c: Include langhooks-def.h.
(lang_print_error_function): Rename. Update.
(init_error): Don't set hook.
f:
* com.c (lang_print_error_function): Rename.
(LANG_HOOKS_PRINT_ERROR_FUNCTION): Redefine.
(ffe_init): Don't set hook.
java:
* lang.c (LANG_HOOKS_PRINT_ERROR_FUNCTION): Redefine.
(java_dummy_print): Remove.
(lang_print_error): Rename. Exit early if inhibiting output.
(inhibit_error_printing_function): New.
(java_init): Don't set hook.
(lang_init_source): Use new boolean.
From-SVN: r51672
Franz Sirl [Sun, 31 Mar 2002 22:12:27 +0000 (22:12 +0000)]
rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
2002-03-31 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
(PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if
!flag_pic.
(CONDITIONAL_REGISTER_USAGE): Adjust accordingly.
* config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead
of PIC_OFFSET_TABLE_REGNUM thruout.
* config/rs6000/rs6000.md: Likewise.
* config/rs6000/darwin.h: Likewise.
From-SVN: r51671
Richard Kenner [Sun, 31 Mar 2002 19:48:22 +0000 (19:48 +0000)]
emit-rtl.c (adjust_address_1, [...]): Cast value to unsigned HOST_WIDE_INT, not unsigned int.
* emit-rtl.c (adjust_address_1, offset_address): Cast value to
unsigned HOST_WIDE_INT, not unsigned int.
From-SVN: r51670
Jakub Jelinek [Sun, 31 Mar 2002 18:45:21 +0000 (20:45 +0200)]
PR middle-end/6096, middle-end/6098, middle-end/6099
PR middle-end/6096, middle-end/6098, middle-end/6099
* reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for
CODE_LABELs.
(fill_slots_from_thread): Likewise.
From-SVN: r51668
Jakub Jelinek [Sun, 31 Mar 2002 18:43:31 +0000 (20:43 +0200)]
sparc.c (function_arg_record_value_1): Pass complex floating fields in float regs.
* config/sparc/sparc.c (function_arg_record_value_1): Pass complex
floating fields in float regs.
(function_arg_record_value_2): Likewise.
From-SVN: r51667
Hans-Peter Nilsson [Sun, 31 Mar 2002 18:38:57 +0000 (18:38 +0000)]
mmix.md (define_constants): Remove misleading FIXME.
* config/mmix/mmix.md (define_constants): Remove misleading
FIXME. Add MMIX_fp_rO_OFFSET.
("nonlocal_goto_receiver"): Don't have stack-frame address of
saved rO as part of the pattern. Remove FIXME.
("*nonlocal_goto_receiver_expanded"): Similar. Generate address
here, at output-time.
From-SVN: r51664
Jakub Jelinek [Sun, 31 Mar 2002 18:37:36 +0000 (20:37 +0200)]
re PR middle-end/6100 (sparc-sun-solaris2.7 gcc-3.1 RTL checking failure w/-m64 on compile/
20020320-1.c)
PR middle-end/6100
* config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not
REG_BR_PRED.
(output_v9branch): Likewise.
From-SVN: r51663
Alexandre Oliva [Sun, 31 Mar 2002 18:24:59 +0000 (18:24 +0000)]
* libgcj.spec.in, libgcj-test.spec.in: Revert for now.
From-SVN: r51659
Alexandre Oliva [Sun, 31 Mar 2002 18:24:49 +0000 (18:24 +0000)]
gcc.c: Revert previous patch for now.
* gcc.c: Revert previous patch for now.
* config/i386/djgpp.h: Likewise.
From-SVN: r51658
Hans-Peter Nilsson [Sun, 31 Mar 2002 16:29:04 +0000 (16:29 +0000)]
instantiate1.C, [...]: Tweak match patterns.
* g++.dg/ext/instantiate1.C, g++.dg/ext/instantiate2.C,
g++.dg/ext/instantiate3.C: Tweak match patterns.
From-SVN: r51657
Hans-Peter Nilsson [Sun, 31 Mar 2002 15:49:29 +0000 (15:49 +0000)]
static11.C: Skip on mmix-knuth-mmixware.
* g++.old-deja/g++.pt/static11.C: Skip on mmix-knuth-mmixware.
* g++.dg/other/static11.C: Copy g++.old-deja/g++.pt/static11.C for
-da test.
From-SVN: r51656
Hans-Peter Nilsson [Sun, 31 Mar 2002 15:09:20 +0000 (15:09 +0000)]
Fix date in last entry
From-SVN: r51655
Hans-Peter Nilsson [Sun, 31 Mar 2002 15:07:55 +0000 (15:07 +0000)]
crti.asm (_init): Register _fini with atexit.
* config/mmix/crti.asm (_init): Register _fini with atexit.
* config/mmix/crtn.asm (_fini): Add omitted "POP 0,0".
From-SVN: r51654
Richard Henderson [Sun, 31 Mar 2002 11:50:43 +0000 (03:50 -0800)]
elf.h (ASM_OUTPUT_DEF): Tidy.
* config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy.
(ASM_OUTPUT_DEF_FROM_DECLS): New.
* gcc.dg/special/alias-2.c: New.
* gcc.dg/special/ecos.exp: Run it.
From-SVN: r51650
Richard Henderson [Sun, 31 Mar 2002 11:09:48 +0000 (03:09 -0800)]
* config/alpha/alpha.md (trap): New.
From-SVN: r51649
Richard Henderson [Sun, 31 Mar 2002 10:58:55 +0000 (02:58 -0800)]
* libgcc2.c (__bb_exit_func): Make static.
From-SVN: r51647
Richard Henderson [Sun, 31 Mar 2002 09:52:42 +0000 (01:52 -0800)]
builtins.c (expand_builtin_va_arg): Give warnings not errors for promoted argument types; build trap.
* builtins.c (expand_builtin_va_arg): Give warnings not errors for
promoted argument types; build trap.
(expand_builtin_trap): New.
(expand_builtin): Use it.
* stmt.c (expand_nl_goto_receivers): Likewise.
* expr.h (expand_builtin_trap): Declare.
* libfuncs.h (LTI_abort, abort_libfunc): New.
* optabs.c (init_optabs): Init abort_libfunc.
* gcc.dg/va-arg-1.c: Expect warnings, not errors.
From-SVN: r51643
Alexandre Oliva [Sun, 31 Mar 2002 09:33:05 +0000 (09:33 +0000)]
libgcj.spec.in: Override libgcc, not lib.
* libgcj.spec.in: Override libgcc, not lib.
* libgcj-test.spec.in: Likewise.
From-SVN: r51640
Alexandre Oliva [Sun, 31 Mar 2002 09:32:52 +0000 (09:32 +0000)]
gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here...
* gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here...
(LINK_COMMAND_SPEC): ... from here.
(init_gcc_specs): Duplicate it here too, omitting
shared_name in the second copy.
(init_spec): Test for duplicate
* config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'.
From-SVN: r51639
GCC Administrator [Sun, 31 Mar 2002 08:17:00 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r51638
David S. Miller [Sun, 31 Mar 2002 08:02:54 +0000 (00:02 -0800)]
linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
* config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
* config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise.
From-SVN: r51634
Richard Henderson [Sun, 31 Mar 2002 07:40:08 +0000 (23:40 -0800)]
Fix main return value.
From-SVN: r51632
Kazu Hirata [Sun, 31 Mar 2002 06:45:26 +0000 (06:45 +0000)]
* gcc.dg/weak-1.c: Disable on h8300 port.
From-SVN: r51629
Roger Sayle [Sun, 31 Mar 2002 03:34:55 +0000 (03:34 +0000)]
regmove.c (combine_stack_adjustments_for_block): Avoid emitting a stack adjustment of zero bytes.
* regmove.c (combine_stack_adjustments_for_block): Avoid
emitting a stack adjustment of zero bytes. Let delete_insn
update bb->head.
Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r51628
Richard Henderson [Sun, 31 Mar 2002 03:11:20 +0000 (19:11 -0800)]
sparc.c: Remove all references to TARGET_EPILOGUE.
* config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE.
(sparc_emitting_epilogue): New.
(leaf_label, output_return, sparc_return_peephole_ok): Remove.
* config/sparc/sparc-protos.h: Update.
* config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove.
(TARGET_SWITCHES): Update.
* config/sparc/sparc.md (return): Remove.
(return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE.
* config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h,
config/sparc/liteelf.h, config/sparc/netbsd-elf.h,
config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
config/sparc/sp64-aout.h, config/sparc/sp64-elf.h,
config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h,
config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT):
Remove MASK_EPILOGUE.
* doc/invoke.texi: Update.
From-SVN: r51626
Richard Henderson [Sun, 31 Mar 2002 02:56:34 +0000 (18:56 -0800)]
re PR c++/3719 (Unable to retrow exception in unexpected exception handler.)
PR c++/3719
* libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
data out of the exception struct before calling unexpectedHandler.
* g++.dg/eh/unexpected1.C: New.
From-SVN: r51623
Daniel Berlin [Sun, 31 Mar 2002 00:36:47 +0000 (00:36 +0000)]
dwarf2out.c (dwarf2out_define): Remove start_source_file call, CPP will start the file for us.
2002-03-30 Daniel Berlin <dan@dberlin.org>
* dwarf2out.c (dwarf2out_define): Remove start_source_file call,
CPP will start the file for us.
From-SVN: r51621
Krister Walfridsson [Sun, 31 Mar 2002 00:33:17 +0000 (01:33 +0100)]
configure.in (i*86-*-netbsdelf*): Don't disable libgcj.
2002-03-30 Krister Walfridsson <cato@df.lth.se>
* configure.in (i*86-*-netbsdelf*): Don't disable libgcj.
libffi:
2002-03-30 Krister Walfridsson <cato@df.lth.se>
* configure.in: Enable i*86-*-netbsdelf*.
* configure: Rebuilt.
From-SVN: r51620
Bryce McKinlay [Sun, 31 Mar 2002 00:15:36 +0000 (00:15 +0000)]
gcconfig.h: define DYNAMIC_LOADING for ELF NetBSD/i386.
2002-03-30 Krister Walfridsson <cato@df.lth.se>
* include/private/gcconfig.h: define DYNAMIC_LOADING for ELF
NetBSD/i386.
From-SVN: r51616
Richard Henderson [Sun, 31 Mar 2002 00:15:19 +0000 (16:15 -0800)]
ia64.c (group_barrier_needed_p): Special case prologue_allocate_stack.
* config/ia64/ia64.c (group_barrier_needed_p): Special case
prologue_allocate_stack.
(ia64_single_set): Use insn codes for recognition of special
cases, not rtl matching.
* config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out.
* gcc.c-torture/compile/
20020330-1.c: New.
From-SVN: r51615
Jan Hubicka [Sat, 30 Mar 2002 22:49:56 +0000 (23:49 +0100)]
* cfgbuild.c (find_basic_blocks_1): Clear aux for blocks.
From-SVN: r51612
Richard Henderson [Sat, 30 Mar 2002 21:01:19 +0000 (13:01 -0800)]
sparc.h (OVERRIDE_OPTIONS): Don't override -fpic or -fomit-frame-pointer with profiling.
* config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic
or -fomit-frame-pointer with profiling.
(SUBTARGET_OVERRIDE_OPTIONS): Remove.
(FUNCTION_PROFILER): Do nothing.
(PROFILE_HOOK): New.
* config/sparc/sparc.c (sparc_override_options): Don't check
code models for profiling.
(sparc_function_profiler): Remove.
(sparc_profile_hook): New.
* config/sparc/sparc-protos.h: Update.
From-SVN: r51610
Richard Henderson [Sat, 30 Mar 2002 20:47:54 +0000 (12:47 -0800)]
Fix whitespace.
From-SVN: r51608
Jakub Jelinek [Sat, 30 Mar 2002 18:50:34 +0000 (19:50 +0100)]
re PR rtl-optimization/6086 (Reload misoptimizes DImode PREINC on PPC)
PR optimization/6086
* combine.c (combine_simplify_rtx): If simplify_rtx failed because
of SUBREG of volatile MEM or because the MEM was mode dependent,
return CLOBBER instead of unmodified SUBREG.
From-SVN: r51606
Jan Hubicka [Sat, 30 Mar 2002 13:26:19 +0000 (14:26 +0100)]
local-alloc.c (local_alloc): Avoid call of update_equiv_regs when not optimizing.
* local-alloc.c (local_alloc): Avoid call of update_equiv_regs when not optimizing.
* toplev.c (rest_of_compilation): Cann mark_constant_function
only when optimizing.
* flow.c (calculate_global_regs_live): Ensure that all AUX fields are NULL.
* cfgcleanup.c (bb_flags): Add BB_NONTHREADABLE_BLOCK.
(thread_jump): Set BB_NONTHREADABLE_BLOCK, check it.
(try_optimize_cfg): clear all AUX fields.
* i386.c (aligned_operand): Be prepared for SUBREGed registers.
(ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
(ix86_address_cost): Be prepared for SUBREGed registers.
(legitimate_address_p): Accept SUBREGed registers.
From-SVN: r51604
GCC Administrator [Sat, 30 Mar 2002 08:17:30 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r51600
Bryce McKinlay [Sat, 30 Mar 2002 03:30:36 +0000 (03:30 +0000)]
cp-demangle.c (java_demangle_v3): Don't try to release "demangled" if it is NULL.
* cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
if it is NULL.
From-SVN: r51594
Richard Henderson [Sat, 30 Mar 2002 02:16:41 +0000 (18:16 -0800)]
re PR target/5672 ([mn10200] Compiler segmentation fault in static initialiser.)
PR target/5672
* expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place.
From-SVN: r51593
Franz Sirl [Sat, 30 Mar 2002 01:00:23 +0000 (01:00 +0000)]
rs6000.c (rs6000_va_arg): Correctly set register count for aggregate and TFmode types.
2002-03-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count
for aggregate and TFmode types.
From-SVN: r51591
Hans-Peter Nilsson [Sat, 30 Mar 2002 00:40:53 +0000 (00:40 +0000)]
* cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i].
From-SVN: r51589
Richard Henderson [Fri, 29 Mar 2002 23:45:43 +0000 (15:45 -0800)]
Record pr numbers.
From-SVN: r51588
Richard Henderson [Fri, 29 Mar 2002 23:39:05 +0000 (15:39 -0800)]
aix.h (CPP_PREDEFINES): Add -D_LP64.
* config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64.
* config/ia64/hpux.h, config/ia64/linux.h: Likewise.
From-SVN: r51586
Richard Henderson [Fri, 29 Mar 2002 23:24:20 +0000 (15:24 -0800)]
i386.c (x86_arch_always_fancy_math_387): New.
* config/i386/i386.c (x86_arch_always_fancy_math_387): New.
(override_options): Disable NO_FANCY_MATH_387 if the arch allows.
* config/i386/i386.h (x86_arch_always_fancy_math_387): New.
* config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix
conditional.
* docs/invoke.texi: Update -mno-fancy-math-387 docs.
From-SVN: r51584
Hans Boehm [Fri, 29 Mar 2002 22:52:13 +0000 (22:52 +0000)]
linux_threads.c (return_free_lists): Clear fl[i] unconditionally.
* linux_threads.c (return_free_lists): Clear fl[i] unconditionally.
(GC_local_gcj_malloc): Add assertion.
(start_mark_threads): Fix abort message.
* mark.c (GC_mark_from): Generalize assertion.
* reclaim.c (GC_clear_fl_links): New function.
(GC_start_reclaim): Must clear some freelist links.
* include/private/specific.h, specific.c: Add assertions.
Safer definition for INVALID_QTID, quick_thread_id. Fix/add comments.
Rearrange tse fields.
From-SVN: r51582
Dale Johannesen [Fri, 29 Mar 2002 22:36:56 +0000 (22:36 +0000)]
* loop.c (combine_movables): Do allow combination of pseudos.
From-SVN: r51581
Martin Kahlert [Fri, 29 Mar 2002 22:27:29 +0000 (22:27 +0000)]
parse.y (do_resolve_class): Fix infinite recursion.
2002-03-29 Martin Kahlert <martin.kahlert@infineon.com>
* parse.y (do_resolve_class): Fix infinite recursion.
(http://gcc.gnu.org/ml/java/2002-03/msg00654.html)
From-SVN: r51578
Loren J. Rittle [Fri, 29 Mar 2002 22:01:18 +0000 (22:01 +0000)]
config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so.
* config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so.
* config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it.
No functional change except ...
* config/t-slibgcc-nolc-override (SHLIB_LC): Override it. New file.
* doc/install.texi (*-*-freebsd*): Document port configuration.
From-SVN: r51574
Tom Tromey [Fri, 29 Mar 2002 21:58:49 +0000 (21:58 +0000)]
parse.y (check_inner_circular_reference): Ignore incomplete types.
2002-03-29 Tom Tromey <tromey@redhat.com>
* parse.y (check_inner_circular_reference): Ignore incomplete
types.
(http://gcc.gnu.org/ml/gcc-patches/2002-03/msg01987.html)
From-SVN: r51573
Janis Johnson [Fri, 29 Mar 2002 21:56:12 +0000 (21:56 +0000)]
dg.exp: Ignore tests in new directories bprob and gcov.
* g++.dg/dg.exp: Ignore tests in new directories bprob and gcov.
* g++.dg/bprob/bprob.exp: New driver for profile-directed branch
ordering tests.
* g++.dg/bprob/bprob-1.C: New test.
* g++.dg/gcov/gcov.exp: New driver for gcov tests.
* g++.dg/gcov/gcov-1.C: New test.
* g++.dg/gcov/gcov-1.x: New file.
* g++.dg/gcov/gcov-2.C: New test.
* g++.dg/gcov/gcov-3.C: New test.
* g++.dg/gcov/gcov-3.h: New file.
From-SVN: r51572
Neil Booth [Fri, 29 Mar 2002 21:46:27 +0000 (21:46 +0000)]
Makefile.in (convert.o, [...]): Update.
* Makefile.in (convert.o, calls.o, expmed.o): Update.
* attribs.c (handle_mode_attribute, handle_vector_size_attribute):
Use new hooks.
* builtin-types.def (BT_PTRMODE): Update.
* c-common.c (type_for_size): Rename c_common_type_for_size.
(type_for_mode): Similarly.
(shorten_compare, pointer_int_sum, c_common_nodes_and_builtins):
Use new hook.
* c-bommon.h (c_common_type_for_size, c_common_type_for_mode): New.
* c-decl.c (finish_enum, build_enumerator): Use new hooks.
* c-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
Redefine.
* c-typeck.c (common_type, comptypes, default_conversion):
Use new hooks.
* calls.c: Include langhooks.h.
(emit_library_call_value_1): Use new hooks. Avoid redundant
calls.
* convert.c: Include langhooks.h
(convert_to_pointer, convert_to_integer): Use new hooks.
* except.c (init_eh): Similarly.
* expmed.c: Include langhooks.h.
(expand_mult_add): Use new hooks.
* expr.c (store_expr, store_constructor, expand_expr, do_jump,
try_casesi): Similarly.
* fold-const.c (optimize_bit_field_compare, make_range,
decode_field_reference, fold_truthop, fold): Similarly.
* function.c (assign_stack_local_1, assign_stack_temp_for_type,
put_var_into_stack): Similarly.
* langhooks-def.h (LANG_HOOKS_TYPE_FOR_MODE,
LANG_HOOKS_TYPE_FOR_SIZE): New.
(LANG_HOOKS_TYPES_INITIALIZER): Update.
* langhooks.h (lang_hooks_for_types): New hooks.
* stmt.c (expand_decl_cleanup, emit_case_nodes): Use new hooks.
* tree.c (get_unwidened, get_narrower): Similarly.
* tree.h (type_for_mode, type_for_size): Remove.
* varasm.c (force_const_mem): Use new hooks.
ada:
* gigi.h (type_for_size, type_for_mode): Rename.
* misc.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
Redefine.
* trans.c (tree_transform): Update.
* utils.c (gnat_init_decl_processing, init_gigi_decls,
builtin_function, float_type_for_size, signed_or_unsigned_type,
build_vms_descriptor, unchecked_convert): Update.
(type_for_mode, type_for_size): Rename.
* utils2.c (nonbinary_modular_operation): Update.
cp:
* cp-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
Redefine.
* cvt.c (cp_convert_to_pointer, type_promotes_to): Use new hooks.
* decl.c (finish_enum): Similarly.
* error.c (dump_type): Similarly.
* lex.c (cxx_init): Similarly.
* mangle.c (write_builtin_type): Similarly.
* typeck.c (comptypes): Similarly.
f:
* com.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
Redefine.
(type_for_mode, type_for_size): Rename.
(signed_or_unsigned_type, signed_type, truthvalue_conversion,
unsigned_type): Use new hooks.
java:
* Make-lang.in (builtins.o): Update.
* boehm.c (get_boehm_type_descriptor): Update.
* builtins.c: Include langhooks.h.
* decl.c (java_init_decl_processing): Update.
* java-tree.h (java_type_for_mode, java_type_for_size): New.
* lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE):
Redefine.
* typeck.c (type_for_mode, type_for_size): Update.
objc:
* objc-act.c (handle_impent): Update.
* objc-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE):
Redefine.
From-SVN: r51571
Roger Sayle [Fri, 29 Mar 2002 20:41:53 +0000 (20:41 +0000)]
re PR c++/5998 (regression, all builtins disabled)
* include/c_std/std_cmath.h: To prevent problems overloading
g++ builtins, use the double variants from the global namespace
before defining float and long double variants in std::.
PR c++/5998:
* decl.c (cxx_init_decl_processing): Re-enable built-in functions
in the g++ front-end.
(duplicate_decl): Allow redefinition of anticipated built-ins.
Fix inlining problem by over-writing the old DECL_RTL.
(lookup_namespace_name): Fail to find an identifier in the
specified namespace if its still anticipated.
(builtin_function_1): New function split out from builtin_function
to create a builtin in the current namespace with given context.
(builtin_function): Call builtin_function_1 to define the
appropriate builtins in both the std and global namespaces.
(select_decl): Don't test for anticipated decls here.
(unqualified_namespace_lookup): Instead ignore them whilst
searching through scopes and namespaces.
* decl2.c (do_nonmember_using_decl): If a using declaration
specifies an anticipated built-in function, mark it as no longer
anticipated in that scope.
(ambiguous_decl): Avoid resolving to an anticipated decl.
* lex.c (do_scoped_id): Fail to find an identifier in the global
namespace if its still anticipated.
* g++.old-deja/g++.other/builtins5.C: New test.
* g++.old-deja/g++.other/builtins6.C: New test.
* g++.old-deja/g++.other/builtins7.C: New test.
* g++.old-deja/g++.other/builtins8.C: New test.
* g++.old-deja/g++.other/builtins9.C: New test.
From-SVN: r51568
Martin Kahlert [Fri, 29 Mar 2002 19:33:25 +0000 (19:33 +0000)]
lex.c (java_new_lexer): Alias "646" to DEFAULT_ENCODING.
2002-03-29 Martin Kahlert <martin.kahlert@infineon.com>
* lex.c (java_new_lexer): Alias "646" to DEFAULT_ENCODING.
From-SVN: r51566
Steve Ellcey [Fri, 29 Mar 2002 18:39:56 +0000 (18:39 +0000)]
ia64.md (*ptr_extend_plus_1, [...]): New.
* config/ia64/ia64.md (*ptr_extend_plus_1, *ptr_extend_plus_2): New.
* config/ia64/ia64.c (basereg_operand): New.
* config/ia64/ia64-protos.h (basereg_operand): Declare.
* config/ia64/ia64.h (PREDICATE_CODES): Add basereg_operand.
From-SVN: r51564
Tom Tromey [Fri, 29 Mar 2002 17:07:59 +0000 (17:07 +0000)]
natPlainDatagramSocketImpl.cc (close): New function.
* java/net/natPlainDatagramSocketImpl.cc (close): New function.
* java/net/natPlainSocketImpl.cc (close): Indentation fix.
From-SVN: r51563
Hans-Peter Nilsson [Fri, 29 Mar 2002 17:07:59 +0000 (17:07 +0000)]
mmix.c (mmix_target_asm_function_prologue): Correct unwind information when frame_pointer_needed.
* config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct
unwind information when frame_pointer_needed.
(mmix_assemble_integer): Tweak wording in comment.
From-SVN: r51562
Andreas Schwab [Fri, 29 Mar 2002 16:10:04 +0000 (16:10 +0000)]
Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts directory.
* Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts
directory.
From-SVN: r51559
Neil Booth [Fri, 29 Mar 2002 08:43:22 +0000 (08:43 +0000)]
Makefile.in (except.o): Update.
* Makefile.in (except.o): Update.
* except.c: Include langhooks.h.
(init_eh): Use langhook.
* langhooks-def.h (LANG_HOOKS_MAKE_TYPE,
LANG_HOOKS_FOR_TYPES_INITIALIZER): New.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.h (lang_hooks_for_types): New.
(struct lang_hooks): Add it.
* tree.c (make_lang_type_fn, make_lang_type): Remove.
* tree.h (make_lang_type_fn, make_lang_type): Remove.
config:
* alpha/alpha.c: Include langhooks.h.
(alpha_build_va_list): Use langhook.
* d30v/d30v.c: Include langhooks.h.
(d30v_build_va_list): Use langhook.
* i386/i386.c: Include langhooks.h.
(ix86_build_va_list): Use langhook.
* rs6000/rs6000.c (rs6000_build_va_list): Use langhook.
* s390/s390.c: Include langhooks.h.
(s390_build_va_list): Use langhook.
* stormy16/stormy16.c: Include langhooks.h.
(stormy16_build_va_list): Use langhook.
cp:
* cp-lang.c (LANG_HOOKS_MAKE_TYPE): Redefine.
* cp-tree.h (cp_make_lang_type): Rename.
* lex.c (cp_make_lang_type): Rename.
(make_aggr_type): Update.
* tree.c (init_tree): Don't set make_lang_type_fn.
From-SVN: r51558
Jakub Jelinek [Fri, 29 Mar 2002 08:25:10 +0000 (09:25 +0100)]
re PR c++/5964 (g++ generates code that results in "word displacement will not fit in 16 bits" on sparcv9)
PR c++/5964
* config/sparc/sparc.md (empty_delay_slot, branch_type): New
attributes.
(length): Compute variable length for branches/calls/jumps here.
(branch, inverted_branch, normal_fp_branch, inverted_fp_branch,
normal_fpe_branch, inverted_fpe_branch): Remove length attribute,
define branch_type attribute.
(divsi3_sp32): Maximum length is 6 not 7.
(call_address_struct_value_sp32, call_symbolic_struct_value_sp32,
call_address_untyped_struct_value_sp32,
call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2.
* config/sparc/sparc.c (empty_delay_slot): New function.
* config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove.
* config/sparc/sparc-protos.h (empty_delay_slot): Add prototype.
* g++.dg/opt/longbranch1.C: New test.
From-SVN: r51557
GCC Administrator [Fri, 29 Mar 2002 08:17:01 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r51555
Jakub Jelinek [Fri, 29 Mar 2002 08:01:20 +0000 (09:01 +0100)]
combine.c (set_nonzero_bits_and_sign_copies): Don't call nonzero_bits if not needed.
* combine.c (set_nonzero_bits_and_sign_copies): Don't call
nonzero_bits if not needed.
(nonzero_bits) [XOR]: Likewise.
(nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if
reg_last_set_mode and mode are both MODE_INT, but not equal.
(record_value_for_reg): Compute reg_last_set_nonzero_bits
in nonzero_bits_mode for MODE_INT modes.
From-SVN: r51551
Jakub Jelinek [Fri, 29 Mar 2002 07:47:06 +0000 (08:47 +0100)]
re PR c++/6073 ([Solaris] Internal compiler error in simplify_gen_subreg, at simplify-rtx.c:2711)
PR c++/6073
* class.c (finish_struct_1): Update static field's DECL_MODE even
if its type is a variant of t.
* g++.dg/opt/static1.C: New test.
From-SVN: r51549
Richard Henderson [Fri, 29 Mar 2002 07:20:22 +0000 (23:20 -0800)]
osf.h (ASM_SPEC): Don't pass any special options to GAS.
* config/alpha/osf.h (ASM_SPEC): Don't pass any special options
to GAS. Correct drift between alternatives.
From-SVN: r51547
Loren J. Rittle [Fri, 29 Mar 2002 06:34:04 +0000 (06:34 +0000)]
* testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
From-SVN: r51544
Richard Henderson [Fri, 29 Mar 2002 06:19:36 +0000 (22:19 -0800)]
re PR target/6087 (3.1 i86 FP stack pop bug)
PR target/6087
* reload1.c (fixup_abnormal_edges): Move insn to edge via sequence.
From-SVN: r51543
Loren J. Rittle [Fri, 29 Mar 2002 05:21:29 +0000 (05:21 +0000)]
freebsd.h (LINK_SPEC): Don't pass default emulation to the linker.
* config/i386/freebsd.h (LINK_SPEC): Don't pass default
emulation to the linker.
* config/alpha/freebsd.h (LINK_SPEC): Likewise.
* config/sparc/freebsd.h (LINK_SPEC): Likewise.
From-SVN: r51540
Tom Tromey [Fri, 29 Mar 2002 00:42:54 +0000 (00:42 +0000)]
re PR java/5986 (SIGSEGV in __gcj_personality_v0)
* except.c (expand_end_java_handler): If the handler type is NULL,
use java.lang.Throwable. Fixes PR java/5986.
From-SVN: r51539
David Billinghurst [Fri, 29 Mar 2002 00:39:57 +0000 (00:39 +0000)]
re PR other/2620 (Filenames differ only in case)
2002-03-29 David Billinghurst <David.Billinghurst@riotinto.com>
PR other/2620
* src/mips/n32.s: Delete
* src/mips/o32.s: Delete
From-SVN: r51537
Alexandre Petit-Bianco [Thu, 28 Mar 2002 23:40:21 +0000 (15:40 -0800)]
re PR java/4715 (Tree check failure in check_inner_circular_reference)
2002-03-28 Alexandre Petit-Bianco <apbianco@redhat.com>
Fix for PR java/4715:
* jcf-parse.c (parse_source_file_3): New function.
(read_class): Call it.
(java_parse_file): Likewise.
(http://gcc.gnu.org/ml/gcc-patches/2002-03/msg01917.html)
From-SVN: r51534
Jeff Law [Thu, 28 Mar 2002 23:33:52 +0000 (16:33 -0700)]
re PR rtl-optimization/3311 (GCC-SH: gcc loses result of AND operation due to force_to_mode bug)
* combine.c (simplify_and_const_int): Make sure to apply mask
when force_to_mode returns a constant integer. PR3311.
From-SVN: r51532
John David Anglin [Thu, 28 Mar 2002 23:13:01 +0000 (23:13 +0000)]
* pa-linux.h (LOCAL_LABEL_PREFIX): Define.
From-SVN: r51530
Hans-Peter Nilsson [Thu, 28 Mar 2002 20:36:16 +0000 (20:36 +0000)]
weak-1.c: Fix typo in scan-assembler pattern.
* gcc.dg/weak-1.c: Fix typo in scan-assembler pattern.
* g++.old-deja/g++.law/bit-fields2.C: Skip on mmix-knuth-mmixware.
From-SVN: r51529
Paolo Carlini [Thu, 28 Mar 2002 20:25:25 +0000 (21:25 +0100)]
2002-03-28 Paolo Carlini <pcarlini@unitus.it>
* testsuite/24_iterators/istream_iterator.cc
(test02): New tests.
From-SVN: r51527
Gerald Pfeifer [Thu, 28 Mar 2002 19:49:38 +0000 (20:49 +0100)]
invoke.texi (Warning Options): Refer to C++ Dialect Options and Objective-C Dialect Options.
* doc/invoke.texi (Warning Options): Refer to C++ Dialect Options
and Objective-C Dialect Options.
From-SVN: r51526
Paolo Carlini [Thu, 28 Mar 2002 19:23:48 +0000 (19:23 +0000)]
Fix wrong date in last Changelog
From-SVN: r51523
Ulrich Weigand [Thu, 28 Mar 2002 19:19:23 +0000 (19:19 +0000)]
2002-03-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Paolo Carlini <pcarlini@unitus.it>
* testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
(test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
fix i_lit_base e_lit_base arrays, making them independent
from the endianness of the platform; tweak UCS4 to UCS-4BE.
Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>
From-SVN: r51521
Richard Henderson [Thu, 28 Mar 2002 18:52:43 +0000 (10:52 -0800)]
alpha.c (alpha_emit_conditional_branch): TFmode NE comparison should be done vs !=0 not >0 return code.
* config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE
comparison should be done vs !=0 not >0 return code. Tidy cases.
From-SVN: r51519
Richard Henderson [Thu, 28 Mar 2002 18:51:49 +0000 (10:51 -0800)]
c-decl.c (finish_function): New arg can_defer_p.
* c-decl.c (finish_function): New arg can_defer_p. Pass it
on to c_expand_body.
* c-tree.h (finish_function): Update decl.
* c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls.
From-SVN: r51518
Jan Hubicka [Thu, 28 Mar 2002 18:16:18 +0000 (19:16 +0100)]
* ifcvt.c (if_convert): Clear aux_for_blocks early enought.
From-SVN: r51516
Andrew Haley [Thu, 28 Mar 2002 16:24:21 +0000 (16:24 +0000)]
Throw_2.java: New.
2002-03-28 Andrew Haley <aph@redhat.com>
* libjava.lang/Throw_2.java: New.
* libjava.lang/Throw_2.out: New.
From-SVN: r51515
Matthew Gingell [Thu, 28 Mar 2002 15:33:09 +0000 (15:33 +0000)]
* checks.ads:
(Remove_Checks): New procedure
* checks.adb:
(Remove_Checks): New procedure
* exp_util.adb:
Use new Duplicate_Subexpr functions
(Duplicate_Subexpr_No_Checks): New procedure
(Duplicate_Subexpr_No_Checks_Orig): New procedure
(Duplicate_Subexpr): Restore original form (checks duplicated)
(Duplicate_Subexpr): Call Remove_Checks
* exp_util.ads:
(Duplicate_Subexpr_No_Checks): New procedure
(Duplicate_Subexpr_No_Checks_Orig): New procedure
Add 2002 to copyright notice
* sem_util.adb: Use new Duplicate_Subexpr functions
* sem_eval.adb:
(Eval_Indexed_Component): This is the place to call
Constant_Array_Ref and to replace the value. We simply merge
the code of this function in here, since it is now no longer
used elsewhere. This fixes the problem of the back end not
realizing we were clever enough to see that this was
constant.
(Expr_Val): Remove call to Constant_Array_Ref
(Expr_Rep_Val): Remove call to Constant_Array_Ref
Minor reformatting
(Constant_Array_Ref): Deal with string literals (patch
suggested by Zack Weinberg on the gcc list)
* exp_util.adb: Duplicate_Subexpr_No_Checks_Orig =>
Duplicate_Subexpr_Move_Checks.
* exp_util.ads: Duplicate_Subexpr_No_Checks_Orig =>
Duplicate_Subexpr_Move_Checks.
* sem_eval.adb: (Constant_Array_Ref): Verify that constant
value of array exists before retrieving it (it may a private
protected component in a function).
From-SVN: r51513
Geert Bosch [Thu, 28 Mar 2002 15:21:33 +0000 (16:21 +0100)]
prj-pp.adb: New file.
* prj-pp.adb : New file.
* prj-pp.ads : New file.
From-SVN: r51512
Andreas Jaeger [Thu, 28 Mar 2002 13:00:02 +0000 (14:00 +0100)]
* Makefile.in (stamp-sdefault): Fix path for Makefile.
From-SVN: r51510
Jan Hubicka [Thu, 28 Mar 2002 12:25:21 +0000 (13:25 +0100)]
rtlanal.c: Include flags.h
* rtlanal.c: Include flags.h
(may_trap_p): Do not mark FP operations if trapping
if !flag_trapping_math
* Makefile.in (rtlanal.o): Add dependency on flag.h
* ifcvt.c (noce_operand_ok): Avoid the lameness.
From-SVN: r51508
GCC Administrator [Thu, 28 Mar 2002 08:17:10 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r51507
Neil Booth [Thu, 28 Mar 2002 07:47:28 +0000 (07:47 +0000)]
* misc.c (gnat_expand_expr): Move prototype.
From-SVN: r51503
Zack Weinberg [Thu, 28 Mar 2002 07:43:59 +0000 (07:43 +0000)]
mips.md: Use dconst1, not 1.0, as first argument of REAL_VALUE_LDEXP.
* mips.md: Use dconst1, not 1.0, as first argument of
REAL_VALUE_LDEXP. Don't use union real_extract.
From-SVN: r51502
Bryce McKinlay [Thu, 28 Mar 2002 07:41:40 +0000 (07:41 +0000)]
parse.y (resolve_package): Initialize "decl".
2002-03-28 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* parse.y (resolve_package): Initialize "decl".
(lookup_package_type): Remove unused function.
From-SVN: r51500
Bryce McKinlay [Thu, 28 Mar 2002 04:28:22 +0000 (04:28 +0000)]
re PR java/5993 (crashes on Hello World)
Fix for PR java/5993:
* parse.y (resolve_package): Return the decl if resolution was
successful. Don't special case "java.lang" and "java.lang.reflect"
packages. Set type_name to the merged identifier.
(resolved_qualified_expression_name): Print error using "name" if
resolve_package returns NULL_TREE.
From-SVN: r51497
DJ Delorie [Thu, 28 Mar 2002 04:04:20 +0000 (23:04 -0500)]
hex.c: Add documentation.
* hex.c: Add documentation.
(_hex_value): Provide non-ASCII empty table.
(hex_init): Initialize the non-ASCII table.
* functions.texi: Regenerate.
From-SVN: r51496
Benjamin Kosnik [Thu, 28 Mar 2002 03:15:08 +0000 (03:15 +0000)]
ostream.tcc (ostream::operator<<(_CharT)): Always allocate at least a byte.
2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
allocate at least a byte.
* testsuite/18_support/numeric_limits.cc (test_extrema): Make
debugger-friendly.
* testsuite/27_io/streambuf.cc (test07): Fix.
(test06): Enable.
From-SVN: r51494
Jeff Sturm [Thu, 28 Mar 2002 02:08:36 +0000 (02:08 +0000)]
* java/net/PlainDatagramSocketImpl.java
(close): Use native implementation.
(finalize): New method.
* java/net/PlainSocketImpl.java (finalize): New method.
* java/net/natPlainDatagramSocketImpl.cc
(java/io/FileDescriptor.h): Don't include.
(close): Implement method here.
(create): Don't assign fd.
* java/net/natPlainSocketImpl.cc
(java/io/FileDescriptor.h): Don't include.
(create): Don't assign fd.
(accept): Likewise.
(close): Synchronize.
From-SVN: r51492