Skip to content
Snippets Groups Projects
  1. Mar 29, 2002
    • hboehm's avatar
      * linux_threads.c (return_free_lists): Clear fl[i] unconditionally. · ad6f3fb7
      hboehm authored
      	(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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51582 138bc75d-0d04-0410-961f-82ee72b054a4
      ad6f3fb7
    • rth's avatar
      * loop.c (combine_movables): Do allow combination of pseudos. · 0e6137dd
      rth authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51581 138bc75d-0d04-0410-961f-82ee72b054a4
      0e6137dd
    • apbianco's avatar
      2002-03-29 Martin Kahlert <martin.kahlert@infineon.com> · c702c48b
      apbianco authored
      	* parse.y (do_resolve_class): Fix infinite recursion.
      
      (http://gcc.gnu.org/ml/java/2002-03/msg00654.html)
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51578 138bc75d-0d04-0410-961f-82ee72b054a4
      c702c48b
    • ljrittle's avatar
      * config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so. · bf13a391
      ljrittle authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51574 138bc75d-0d04-0410-961f-82ee72b054a4
      bf13a391
    • apbianco's avatar
      2002-03-29 Tom Tromey <tromey@redhat.com> · 65ea9839
      apbianco authored
      	* parse.y (check_inner_circular_reference): Ignore incomplete
      	types.
      
      (http://gcc.gnu.org/ml/gcc-patches/2002-03/msg01987.html)
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51573 138bc75d-0d04-0410-961f-82ee72b054a4
      65ea9839
    • janis's avatar
      * g++.dg/dg.exp: Ignore tests in new directories bprob and gcov. · 71f90aa4
      janis authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51572 138bc75d-0d04-0410-961f-82ee72b054a4
      71f90aa4
    • neil's avatar
      * Makefile.in (convert.o, calls.o, expmed.o): Update. · 771d21fa
      neil authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51571 138bc75d-0d04-0410-961f-82ee72b054a4
      771d21fa
    • mmitchel's avatar
      * include/c_std/std_cmath.h: To prevent problems overloading · ae8cbbc8
      mmitchel authored
      	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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51568 138bc75d-0d04-0410-961f-82ee72b054a4
      ae8cbbc8
    • tromey's avatar
      2002-03-29 Martin Kahlert <martin.kahlert@infineon.com> · b0543a68
      tromey authored
      	* lex.c (java_new_lexer): Alias "646" to DEFAULT_ENCODING.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51566 138bc75d-0d04-0410-961f-82ee72b054a4
      b0543a68
    • rth's avatar
      * config/ia64/ia64.md (*ptr_extend_plus_1, *ptr_extend_plus_2): New. · 736414ab
      rth authored
              * config/ia64/ia64.c (basereg_operand): New.
              * config/ia64/ia64-protos.h (basereg_operand): Declare.
              * config/ia64/ia64.h (PREDICATE_CODES): Add basereg_operand.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51564 138bc75d-0d04-0410-961f-82ee72b054a4
      736414ab
    • tromey's avatar
      * java/net/natPlainDatagramSocketImpl.cc (close): New function. · 1dde9605
      tromey authored
      	* java/net/natPlainSocketImpl.cc (close): Indentation fix.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51563 138bc75d-0d04-0410-961f-82ee72b054a4
      1dde9605
    • hp's avatar
      * config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct · 5c3d1711
      hp authored
      	unwind information when frame_pointer_needed.
      	(mmix_assemble_integer): Tweak wording in comment.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51562 138bc75d-0d04-0410-961f-82ee72b054a4
      5c3d1711
    • schwab's avatar
      * Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts · 62f25347
      schwab authored
      	directory.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51559 138bc75d-0d04-0410-961f-82ee72b054a4
      62f25347
    • neil's avatar
      * Makefile.in (except.o): Update. · a1f71e15
      neil authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51558 138bc75d-0d04-0410-961f-82ee72b054a4
      a1f71e15
    • jakub's avatar
      PR c++/5964 · 258103e3
      jakub authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51557 138bc75d-0d04-0410-961f-82ee72b054a4
      258103e3
    • gccadmin's avatar
      Daily bump. · 70b90270
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51555 138bc75d-0d04-0410-961f-82ee72b054a4
      70b90270
    • jakub's avatar
      * combine.c (set_nonzero_bits_and_sign_copies): Don't call · faecad48
      jakub authored
      	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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51551 138bc75d-0d04-0410-961f-82ee72b054a4
      faecad48
    • jakub's avatar
      PR c++/6073 · f1f65c22
      jakub authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51549 138bc75d-0d04-0410-961f-82ee72b054a4
      f1f65c22
    • rth's avatar
      * config/alpha/osf.h (ASM_SPEC): Don't pass any special options · 94dc5941
      rth authored
              to GAS.  Correct drift between alternatives.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51547 138bc75d-0d04-0410-961f-82ee72b054a4
      94dc5941
    • ljrittle's avatar
      * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo. · de7e27e5
      ljrittle authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51544 138bc75d-0d04-0410-961f-82ee72b054a4
      de7e27e5
    • rth's avatar
      PR target/6087 · 5fad51c9
      rth authored
              * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51543 138bc75d-0d04-0410-961f-82ee72b054a4
      5fad51c9
    • ljrittle's avatar
      * config/i386/freebsd.h (LINK_SPEC): Don't pass default · db3a628d
      ljrittle authored
      	emulation to the linker.
      	* config/alpha/freebsd.h (LINK_SPEC): Likewise.
      	* config/sparc/freebsd.h (LINK_SPEC): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51540 138bc75d-0d04-0410-961f-82ee72b054a4
      db3a628d
    • tromey's avatar
      * except.c (expand_end_java_handler): If the handler type is NULL, · d179df43
      tromey authored
      	use java.lang.Throwable.  Fixes PR java/5986.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51539 138bc75d-0d04-0410-961f-82ee72b054a4
      d179df43
    • billingd's avatar
      2002-03-29 David Billinghurst <David.Billinghurst@riotinto.com> · 9ee9948b
      billingd authored
      	PR other/2620
      	* src/mips/n32.s: Delete
      	* src/mips/o32.s: Delete
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51537 138bc75d-0d04-0410-961f-82ee72b054a4
      9ee9948b
  2. Mar 28, 2002
Loading