1. 03 Sep, 1999 14 commits
  2. 02 Sep, 1999 26 commits
    • powerset.h (SET_WORD, [...]): Do not redefine based on USE_CHAR. · b5cc7593
              * powerset.h (SET_WORD, SET_SHORT, SET_CHAR): Do not redefine based
              on USE_CHAR.
              (USE_CHAR): No longer define.
              * eqps.c ffsetclrps.c flsetclrps.c: Remove !USE_CHARS support.
      
      From-SVN: r29069
      Jeffrey A Law committed
    • java-array.h (jobjectArrayjchar): Removed unused declaration. · ec528817
      	* include/java-array.h (jobjectArrayjchar): Removed unused
      	declaration.
      
      From-SVN: r29068
      Tom Tromey committed
    • gjavah.c (decode_signature_piece): Emit "::" in JArray<>. · 3a5395a3
      	* gjavah.c (decode_signature_piece): Emit "::" in JArray<>.
      	Handle nested arrays, like `[[I'.
      
      From-SVN: r29067
      Tom Tromey committed
    • stmt.c (expand_asm_operands): Fix index into inout_mode when reading it. · ad7342be
      	* stmt.c (expand_asm_operands): Fix index into inout_mode when
      	reading it.
      
      From-SVN: r29066
      J"orn Rennecke committed
    • class.c (finish_class): Remove unused parameter, all callers changed. · d593dd8c
      	* class.c (finish_class): Remove unused parameter, all callers
      	changed.
      
      	* expr.c (build_java_athrow): Change return type to void.
      	(java_lang_expand_expr): Make sure each case in switch returns a
      	value.
      
      	* java-tree.h (finish_class): Fix prototype to take void args.
      
      	* jcf-dump.c (usage): Mark with ATTRIBUTE_NORETURN.
      	(main): Issue return from main, not exit.
      
      	* jcf-parse.c (parse_class_file): Fix call to `finish_class'.
      
      	* jcf.h (jcf_unexpected_eof): Mark with ATTRIBUTE_NORETURN.
      
      	* jv-scan.c (main): Issue return from main, not exit.
      
      	* parse.y (check_abstract_method_definitions,
      	java_check_abstract_method_definitions): Add static prototypes.
      	(java_complete_expand_methods): Fix call to `finish_class'.
      
      	* verify.c (verify_jvm_instructions): Initialize variables `oldpc'
      	and `prevpc'.
      
      From-SVN: r29065
      Kaveh R. Ghazi committed
    • stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present. · 57bcb97a
              * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
              * tm.texi (MD_ASM_CLOBBERS): Document it.
      
      From-SVN: r29064
      Richard Henderson committed
    • natClassLoader.cc (_Jv_WaitForState): Call _Jv_PrepareCompiledClass while holding class mutex. · 773c6f00
      	* java/lang/natClassLoader.cc (_Jv_WaitForState): Call
      	_Jv_PrepareCompiledClass while holding class mutex.
      
      From-SVN: r29063
      Tom Tromey committed
    • cp-tree.h (cp_function): Move here, from decl.c. · 8012c983
      	* cp-tree.h (cp_function): Move here, from decl.c.
      	(cp_function_chain): Declare.
      	(dtor_label): New macro, instead of variable.
      	(ctor_label): Likewise.
      	(current_base_init_list): Likewise.
      	(current_member_init_list): Likewise.
      	(base_init_expr): Likewise.
      	(current_class_ptr): Likewise.
      	(current_class_ref): Likewise.
      	(last_tree): Likewise.
      	(last_expr_type): Likewise.
      	(current_function_returns_value): Likewise.
      	(current_function_returns_null): Likewise.
      	(current_function_just_assigned_this): Likewise.
      	(current_function_parms_stored): Likewise.
      	(temp_name_counter): Likewise.
      	(static_labelno): Likewise.
      	(expanding_p): Likewise.
      	(stmts_are_full_exprs_p): Likewise.
      	(in_function_try_handler): Likewise.
      	(lang_type): Remove nested type_flags.  All uses changed.
      	* call.c (ctor_label): Remove.
      	(dtor_label): Likewise.
      	* class.c (current_class_ptr): Remove.
      	(current_class_ref): Likewise.
      	* decl.c (static_labelno): Remove.
      	(dtor_label): Likewise.
      	(last_dtor_insn): New macro, instead of variable.
      	(last_parm_cleanup_insn): Likewise.
      	(original_result_rtx): Likewise.
      	(in_function_try_handler): Remove.
      	(named_label_uses): New macro, instead of variable.
      	(named_labels): Likewise.
      	(current_function_returns_value): Remove.
      	(current_function_returns_null): Likewise.
      	(current_function_assigns_this): New macro, instead of variable.
      	(current_function_just_assigned_this): Likewise.
      	(current_binding_level): Likewise.
      	(init_decl_processing): Call push_cp_function_context.
      	(cp_function): Move to cp-tree.h
      	(cp_function_chain): Make it global.
      	(temp_name_counter): Remove.
      	(push_cp_function_context): Simplify.
      	(pop_cp_function_context): Likewise.
      	* decl2.c (temp_name_counter): Remove.
      	* init_c (current_base_init_list): Likewise.
      	(current_member_init_list): Likewise.
      	(base_init_expr): Likewise.
      	* method.c (static_labelno): Likewise.
      	* pt.c (last_tree): Likewise.
      	* semantics.c (expanding_p): Likewise.
      	(stmts_are_full_exprs_p): Likewise.
      	(last_expr_type): Likewise.
      	* typeck.c (dtor_label): Likewise.
      	(ctor_label): Likewise.
      
      From-SVN: r29062
      Mark Mitchell committed
    • dwarf2out.c (dwarf2out_line): Constify `lastfile'. · e2bef702
              * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
              * except.c (expand_rethrow): Remove unused variable.
              * expr.c (do_jump_by_parts_greater_rtx): Likewise.
              * flow.c (replace_insns): Likewise.
              (create_edge_list, verify_edge_list): Likewise.
              * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
      
              * genemit.c (gen_expand): Only emit `operands[N]' decl if there
              is special code to run.
              (main): Don't define operands to emit_operand.
              * genrecog.c (main): Don't emit an empty peephole2_insn function.
      
              * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
      
              * alpha/alpha.h (normal_memory_operand): Declare.
              (reg_no_subreg_operand): Declare.
              * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
      
      From-SVN: r29061
      Richard Henderson committed
    • decl2.c (arg_assoc_template_arg): New prototype. · ec4f972f
      	* decl2.c (arg_assoc_template_arg): New prototype.  New function.
      	(arg_assoc_class): Use arg_assoc_template_arg for template
      	arguments.
      	(arg_assoc): Likewise.
      	* pt.c (mangle_class_name_for_template): Allow member template
      	template arguments.
      
      From-SVN: r29060
      Alex Samuel committed
    • c-parse.in (compstmt_primary_start): New, broken out of first part of compstmt handling in primary. · d0668a73
              * c-parse.in (compstmt_primary_start): New, broken out of first
              part of compstmt handling in primary.
              (primary): Use it.  Add an error clause.
              (compstmt_nostart): Renamed from compstmt; remove all
              initial invocations of compstmt_start.
              (compstmt): New.
      
      From-SVN: r29059
      Richard Henderson committed
    • fold-const.c (fold_range_test): Do not try to fold the range test if the rhs or… · a8c61259
      fold-const.c (fold_range_test): Do not try to fold the range test if the rhs or lhs has side effects.
      
      	* fold-const.c (fold_range_test): Do not try to fold the range
      	test if the rhs or lhs has side effects.
      
      From-SVN: r29058
      Jeffrey A Law committed
    • ambig2.C: New test. · 88bf1faf
      	* g++.old-deja/g++.other/ambig2.C: New test.
      	* g++.old-deja/g++.other/cond5.C: New test.
      	* g++.old-deja/g++.other/lookup16.C: New test.
      
      From-SVN: r29057
      Nathan Sidwell committed
    • call.c (build_conditional_expr): Warn on enum mismatches. · 1b4d752a
      	* call.c (build_conditional_expr): Warn on enum mismatches.
      	(convert_arg_to_ellipsis): Move non-pod check to after
      	conversion.
      
      From-SVN: r29056
      Nathan Sidwell committed
    • combine.c (simplify_rtx): Recognize another case of a synthesized sign extension. · e6380233
              * combine.c (simplify_rtx): Recognize another case of a synthesized
              sign extension.
      
      From-SVN: r29055
      Jeffrey A Law committed
    • Daily bump. · 08e10506
      From-SVN: r29054
      Jeff Law committed
    • * pexecute.c (pexecute): Fill in temp_base when needed. · 19e28e2a
      From-SVN: r29053
      Marc Espie committed
    • protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if needed. · 34640c87
              * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
              needed.
      
      From-SVN: r29052
      Marc Espie committed
    • 980414-1.c: Fix assembler syntax to work with old assemblers too. · 456dd999
              * gcc.dg/980414-1.c: Fix assembler syntax to work with old
              assemblers too.
      
      From-SVN: r29051
      Marc Espie committed
    • combine.c (simplify_shift_const): Remove extra semicolon. · 6d649d26
              * combine.c (simplify_shift_const): Remove extra semicolon.
              * dwarf2out.c (remove_AT): Likewise.
              * expmed.c (expand_mult): Likewise.
              * gcov.c (create_program_flow_graph): Likewise.
              * reorg.c (mostly_true_jump): Likewise.
      
      From-SVN: r29050
      Finn Hakansson committed
    • varasm.c (mark_constant_pool): When marking indirect references, only look at SYMBOL_REFs. · 6b7ef0e0
              * varasm.c (mark_constant_pool): When marking indirect references,
              only look at SYMBOL_REFs.
      
      From-SVN: r29049
      Jeffrey A Law committed
    • posix-threads.h (PTHREAD_MUTEX_IS_STRUCT): New define. · bc5afba4
      	* include/posix-threads.h (PTHREAD_MUTEX_IS_STRUCT): New define.
      	(_Jv_PthreadGetMutex): Use it.
      	(_Jv_PthreadCheckMonitor): Use new M_COUNT macros.
      	(_Jv_MutexInit): Use PTHREAD_MUTEX_IS_STRUCT.
      	(_Jv_MutexLock): Likewise.
      	(_Jv_MutexUnlock): Likewise.
      	* include/config.h.in: Rebuilt.
      	* acconfig.h (PTHREAD_MUTEX_HAVE_M_COUNT,
      	PTHREAD_MUTEX_HAVE___M_COUNT): New undefs.
      	* configure: Rebuilt.
      	* libgcj.spec.in: Don't mention INTERPSPEC.
      	* configure.in (INTERPSPEC): Removed.
      	Only run pthreads-related checks when using POSIX threads.  Check
      	for m_count and __m_count in mutex structure.
      
      From-SVN: r29048
      Tom Tromey committed
    • except.c (expand_fixup_region_end): Do not peek at INSN_UID… · 2598e85a
      except.c (expand_fixup_region_end): Do not peek at INSN_UID (node->entry->outer_context) for flag_new_exceptions.
      
              * except.c (expand_fixup_region_end): Do not peek at
              INSN_UID (node->entry->outer_context) for flag_new_exceptions.
      
      From-SVN: r29047
      Jeffrey A Law committed
    • Fix data corruption. (Eeep!) · ff2589d1
      From-SVN: r29046
      Richard Henderson committed
    • flags.h: New variables align_loops... · efa3896a
      * flags.h: New variables align_loops, align_loops_log,
      align_jumps, align_jumps_log, align_labels, align_labels_log,
      align_functions, align_functions_log.
      * toplev.c: Define them.
      (f_options): Handle -falign-* when they have no argument.
      (main): Add logic to set variables for -falign-functions,
      -falign-jumps, -falign-labels, -falign-loops.
      Make it -fsched-verbose=<n> and -finline-limit=<n>.
      (display_help): Change help to match options.
      * final.c (LABEL_ALIGN): Default to align_labels_log.
      (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
      (LOOP_ALIGN): Default to align_loops_log.
      (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
      (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
      (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
      * varasm.c (assemble_start_function): Handle align_functions.
      
      * config/sparc/sparc.h: Don't declare sparc_align_*.
      Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
      (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
      sparc.c.
      (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
      it's a promise.
      * config/sparc/sparc.c: Delete sparc_align_loops,
      sparc_align_jumps, sparc_align_funcs and the corresponding string
      variables.
      (sparc_override_options): Default align_functions on ultrasparc.
      Delete -malign-* handling.
      
      * config/mips/mips.c (override_options):  On 64-bit targets,
      try to align code to 64-bit boundaries.
      (print_operand): New substitution, %~,
      which aligns labels to align_labels_log.
      * config/mips/mips.md (div_trap_normal): Use %~.
      (div_trap_mips16): Likewise.
      (abssi): Likewise.
      (absdi2): Likewise.
      (ffssi2): Likewise.
      (ffsdi2): Likewise.
      (ashldi3_internal): Likewise.
      (ashrdi3_internal): Likewise.
      (lshrdi3_internal): Likewise.
      (casesi_internal): Likewise.
      
      Plus corresponding documentation changes.
      
      From-SVN: r29045
      Geoffrey Keating committed
    • Merge new ia32 backend from the branch! · e075ae69
      From-SVN: r29044
      Richard Henderson committed