Skip to content
Snippets Groups Projects
  1. Jun 19, 2000
    • Andrew Haley's avatar
      os_dep.c (read): Pass two dummy args to syscall(). · 437fa026
      Andrew Haley authored
      2000-06-19  Andrew Haley  <aph@cygnus.com>
      
              * os_dep.c (read): Pass two dummy args to syscall().
      
      From-SVN: r34598
      437fa026
    • Ben Chelf's avatar
      c-common.h (IF_COND): Added documentation. · 35b1567d
      Ben Chelf authored
      	* c-common.h (IF_COND): Added documentation.
      	(THEN_CLAUSE): Likewise.
      	(ELSE_CLAUSE): Likewise.
      	(WHILE_COND): Likewise.
      	(WHILE_BODY): Likewise.
      	(DO_COND): Likewise.
      	(DO_BODY): Likewise.
      	(RETURN_EXPR): Likewise.
      	(EXPR_STMT_EXPR): Likewise.
      	(FOR_INIT_STMT): Likewise.
      	(FOR_COND): Likewise.
      	(FOR_EXPR): Likewise.
      	(FOR_BODY): Likewise.
      	(SWITCH_COND): Likewise.
      	(SWITCH_BODY): Likewise.
      	(CASE_LOW): Likewise.
      	(CASE_HIGH): Likewise.
      	(GOTO_DESTINATION): Likewise.
      	(COMPOUND_BODY): Likewise.
      	(ASM_CV_QUAL): Likewise.
      	(ASM_STRING): Likewise.
      	(ASM_OUTPUTS): Likewise.
      	(ASM_INPUTS): Likewise.
      	(ASM_CLOBBERS): Likewise.
      	(DECL_STMT_DECL): Likewise.
      	(STMT_EXPR_STMT): Likewise.
      	(LABEL_STMT_LABEL): Likewise.
      
      	* c-common.def: Added documenetion for SRCLOC, EXPR_STMT,
      	COMPOUND_STMT, DECL_STMT, IF_STMT, FOR_STMT, WHILE_STMT, DO_STMT,
      	RETURN_STMT, BREAK_STMT, CONTINUE_STMT, SWITCH_STMT, GOTO_STMT,
      	LABEL_STMT, ASM_STMT, SCOPE_STMT, CASE_LABEL, STMT_EXPR.
      
      	* cp/cp-tree.h (genrtl_try_block): Declare function.
      	(genrtl_handler): Likewise.
      	(genrtl_catch_block): Likewise.
      	(genrtl_ctor_stmt): Likewise.
      	(genrtl_subobject): Likewise.
      	(genrtl_decl_cleanup): Likewise.
      	(genrtl_do_poplevel): Likewise.
      	(genrtl_do_pushlevel): Likewise.
      	(genrtl_clear_out_block): Likewise.
      	(genrtl_goto_stmt): Likewise.
      	(genrtl_expr_stmt): Likewise.
      	(genrtl_decl_stmt): Likewise.
      	(genrtl_if_stmt): Likewise.
      	(genrtl_while_stmt): Likewise.
      	(genrtl_do_stmt): Likewise.
      	(genrtl_return_stmt): Likewise.
      	(genrtl_for_stmt): Likewise.
      	(genrtl_break_stmt): Likewise.
      	(genrtl_continue_stmt): Likewise.
      	(genrtl_scope_stmt): Likewise.
      	(genrtl_switch_stmt): Likewise.
      	(genrtl_case_label): Likewise.
      	(genrtl_begin_compound_stmt): Likewise.
      	(genrtl_finish_compound_stmt): Likewise.
      	(genrtl_compound_stmt): Likewise.
      	(genrtl_asm_stmt): Likewise.
      	(genrtl_named_return_value): Likewise.
      	(genrtl_begin_stmt_expr): Likewise.
      	(genrtl_finish_stmt_expr): Likewise.
      	(finish_for_stmt): Removed first argument.
      	(finish_switch_stmt): Likewise.
      
      	* cp/semantics.c (genrtl_try_block): Define function.
      	(genrtl_handler): Likewise.
      	(genrtl_catch_block): Likewise.
      	(genrtl_ctor_stmt): Likewise.
      	(genrtl_subobject): Likewise.
      	(genrtl_decl_cleanup): Likewise.
      	(genrtl_do_poplevel): Likewise.
      	(genrtl_do_pushlevel): Likewise.
      	(genrtl_clear_out_block): Likewise.
      	(genrtl_goto_stmt): Likewise.
      	(genrtl_expr_stmt): Likewise.
      	(genrtl_decl_stmt): Likewise.
      	(genrtl_if_stmt): Likewise.
      	(genrtl_while_stmt): Likewise.
      	(genrtl_do_stmt): Likewise.
      	(genrtl_return_stmt): Likewise.
      	(genrtl_for_stmt): Likewise.
      	(genrtl_break_stmt): Likewise.
      	(genrtl_continue_stmt): Likewise.
      	(genrtl_scope_stmt): Likewise.
      	(genrtl_switch_stmt): Likewise.
      	(genrtl_case_label): Likewise.
      	(genrtl_begin_compound_stmt): Likewise.
      	(genrtl_finish_compound_stmt): Likewise.
      	(genrtl_compound_stmt): Likewise.
      	(genrtl_asm_stmt): Likewise.
      	(genrtl_named_return_value): Likewise.
      	(genrtl_begin_stmt_expr): Likewise.
      	(genrtl_finish_stmt_expr): Likewise.
      	(finish_for_stmt): Removed first argument and generate rtl
      	specific code.
      	(finish_switch_stmt): Likewise.
      	(do_poplevel): Removed generate rtl specific code.
      	(do_pushlevel): Likewise.
      	(add_tree): Likewise.
      	(finish_goto_stmt): Likewise.
      	(finish_expr_stmt): Likewise.
      	(begin_if_stmt): Likewise.
      	(finish_if_stmt_cond): Likewise.
      	(finish_then_clause): Likewise.
      	(begin_else_clause): Likewise.
      	(finish_else_clause): Likewise.
      	(finish_if_stmt): Likewise.
      	(clear_out_block): Likewise.
      	(begin_while_stmt): Likewise.
      	(finish_while_stmt_cond): Likewise.
      	(finish_while_stmt): Likewise.
      	(begin_do_stmt): Likewise.
      	(finish_do_body): Likewise.
      	(finish_do_stmt): Likewise.
      	(finish_return_stmt): Likewise.
      	(begin_for_stmt): Likewise.
      	(finish_for_init_stmt): Likewise.
      	(finish_for_cond): Likewise.
      	(finish_for_expr): Likewise.
      	(finish_break_stmt): Likewise.
      	(finish_continue_stmt): Likewise.
      	(begin_switch_stmt): Likewise.
      	(finish_switch_cond): Likewise.
      	(finish_case_label): Likewise.
      	(begin_try_block): Likewise.
      	(begin_function_try_block): Likewise.
      	(finish_try_block): Likewise.
      	(finish_cleanup_try_block): Likewise.
      	(finish_cleanup): Likewise.
      	(finish_function_try_block): Likewise.
      	(finish_handler_sequence): Likewise.
      	(finish_function_handler_sequence): Likewise.
      	(begin_handler): Likewise.
      	(finish_handler_parms): Likewise.
      	(begin_catch_block): Likewise.
      	(finish_handler): Likewise.
      	(begin_compound_stmt): Likewise.
      	(finish_compound_stmt): Likewise.
      	(finish_asm_stmt): Likewise.
      	(finish_label_stmt): Likewise.
      	(finish_label_decl): Likewise.
      	(finish_subobject): Likewise.
      	(finish_decl_cleanup): Likewise.
      	(finish_named_return_value): Likewise.
      	(begin_stmt_expr): Likewise.
      	(finish_stmt_expr): Likewise.
      
      	* cp/decl.c (initialize_local_var): Changed call to finish_expr_stmt
      	to call genrtl_expr_stmt when appropriate.
      
      	* cp/init.c (begin_init_stmts): Changed calls to begin_stmt_expr and
      	begin_compound_expr to call genrtl_begin_stmt_expr and
      	genrtl_begin_compound_expr when appropriate.
      	(finish_init_stmts): Changed calls to finish_compound_expr and
      	finish_stmt_expr to call genrtl_finish_compound_expr and
      	genrtl_finish_stmt_expr when appropriate.
      	(expand_default_init): Changed call to finish_expr_stmt to call
      	genrtl_expr_stmt when appropriate.
      	(build_vec_init): Likewise.
      
      	* cp/parse.y (simple_stmt): Removed first argument from call to
      	finish_for_stmt. Removed first argument from call to
      	finish_switch_stmt.
      
      	* cp/parse.c: Regenerated.
      
      	* cp/pt.c (tsubst_expr): Removed first argument from call to
      	finish_for_stmt. Removed first argument from call to
      	finish_switch_stmt.
      
      From-SVN: r34597
      35b1567d
    • Kaveh R. Ghazi's avatar
      configure.in (--enable-checking): Update --help doc to reflect new defaults. · 59f406b7
      Kaveh R. Ghazi authored
      	* configure.in (--enable-checking): Update --help doc to reflect
      	new defaults.  Ensure $ac_save_IFS is set before $IFS is changed.
      
      From-SVN: r34596
      59f406b7
    • Philipp Thomas's avatar
      POTFILES.in: change entries for dyn-string.[ch] · 19abf5c8
      Philipp Thomas authored
      gcc/po:
      
      2000-06-19  Philipp Thomas  <pthomas@suse.de>
      
      	* POTFILES.in: change entries for dyn-string.[ch]
      
      From-SVN: r34595
      19abf5c8
    • Jeff Law's avatar
      Daily bump. · 7ab4bf3a
      Jeff Law authored
      From-SVN: r34594
      7ab4bf3a
    • Benjamin Kosnik's avatar
      Makefile.am (string_sources): Simplify... · c470c17d
      Benjamin Kosnik authored
      2000-06-14  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
      
            	* src/Makefile.am (string_sources): Simplify, assuming that with
      	-ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
      	hacking is not necessary.
              (wstring_sources): Same.
              (OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
      	-Wl,--gc-sections.
      	* src/string-inst.cc: Remove macro blocks.
      	* mkcheck.in (CXX_FLAG): Add bits here.
      
      	* src/string-inst.cc: Remove iostream-related string instantiations.
      	* src/misc-inst.cc: Add here.
      
      	* acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
      	to WFMT_FLAGS.
      	* aclocal.m4: Regenerate.
      	* configure.in: Change up.
      	* configure: Regenerate.
      
      From-SVN: r34593
      c470c17d
    • Richard Kenner's avatar
      0a377997
    • Richard Kenner's avatar
      function.c (put_var_into_stack): Don't reference DECL_ fields if input is a SAVE_EXPR. · c357082f
      Richard Kenner authored
      	* function.c (put_var_into_stack): Don't reference DECL_ fields
      	if input is a SAVE_EXPR.
      	Use set_mem_attributes in COMPLEX case.
      
      From-SVN: r34591
      c357082f
  2. Jun 18, 2000
    • Tom Tromey's avatar
      re GNATS gcj/260 ("Klass.class" expression should cause Klass to be initialized) · d4d17e95
      Tom Tromey authored
      	* java/lang/natClass.cc (forName): Removed dead code.  Initialize
      	returned class.  For PR gcj/260.
      
      From-SVN: r34590
      d4d17e95
    • Richard Henderson's avatar
      ia64-protos.h (process_for_unwind_directive): Declare. · 3b572406
      Richard Henderson authored
      	* config/ia64/ia64-protos.h (process_for_unwind_directive): Declare.
      	(ia64_file_start): Declare.
      	* config/ia64/ia64.h (ADDL_REGNO_P): Don't compare unsigned against 0.
      	(GR_REGNO_P): Likewise.
      	* config/ia64/ia64.c: Many prototypes.
      	(ia64_reg_numbers): Constify.
      	(ia64_input_reg_names, ia64_local_reg_names): Likewise.
      	(ia64_section_threshold): Make unsigned.
      	(ia64_print_operand): Constify.
      	(fix_range): Constify.
      	(ia64_init_builtins): Don't compare signed vs unsigned.
      	(ia64_expand_builtin): Likewise.
      
      	* config/ia64/ia64.h (EXTRA_CONSTRAINT): New.
      	(CONSTRAINT_OK_FOR_Q): New.
      	* config/ia64/ia64.md (movdi_internal): Use Q for fp<->mem.
      	(movsf_internal, movdf_internal): Likewise.
      	(cmovdi_internal): Rewrite so that constraints and predicates match;
      	simplify splitters.
      	(cmovsi_internal): Likewise.
      
      	* config/ia64/ia64.h (ASM_SPEC): Add -x for gas.
      	(ASM_FILE_START): New.
      	* config/ia64/ia64.c (ia64_file_start): New.
      	(rtx_needs_barrier): Handle pred.rel.mutex.
      	(emit_predicate_relation_info): New.
      	* config/ia64/ia64.md (pred_rel_mutex): New.
      	* config/ia64/linux.h (ASM_SPEC): Define.
      	* config/ia64/sysv4.h (ASM_FILE_START): Define.
      
      	* config/ia64/ia64.c (ia64_encode_section_info): Fix thinko
      	filtering global register variables.
      
      From-SVN: r34589
      3b572406
    • Kaveh R. Ghazi's avatar
      * c-common.c (add_c_tree_codes): Fix definition for traditional C. · 5538e30f
      Kaveh R. Ghazi authored
      From-SVN: r34588
      5538e30f
    • Jeff Law's avatar
      Daily bump. · d5600cbe
      Jeff Law authored
      From-SVN: r34587
      d5600cbe
    • Michael Meissner's avatar
      Fix spec %v3 · 289b3cc5
      Michael Meissner authored
      From-SVN: r34586
      289b3cc5
  3. Jun 17, 2000
  4. Jun 16, 2000
    • Kaveh R. Ghazi's avatar
      inclhack.def (ctrl_quotes_def, [...]): Modify select pattern to also match... · cf6d5133
      Kaveh R. Ghazi authored
      inclhack.def (ctrl_quotes_def, [...]): Modify select pattern to also match macro defs with only one argument.
      
      	* fixinc/inclhack.def (ctrl_quotes_def, io_quotes_def): Modify
      	select pattern to also match macro defs with only one argument.
      
      From-SVN: r34576
      cf6d5133
    • Tom Tromey's avatar
      re GNATS libgcj/261 (Macro-inconsistency) · 3fff8475
      Tom Tromey authored
      	Fix for PR libgcj/261:
      	* include/win32-signal.h (MAKE_THROW_FRAME): Added `_exception'
      	argument.
      	* include/sparc-signal.h (MAKE_THROW_FRAME): Added `_exception'
      	argument.  (This is a patch from long ago that somehow went
      	missing.)
      
      From-SVN: r34575
      3fff8475
    • Mark Mitchell's avatar
      cp-tree.h (finish_mem_initializers): Declare. · bf3428d0
      Mark Mitchell authored
      	* cp-tree.h (finish_mem_initializers): Declare.
      	(count_trees): Likewise.
      	* parse.y (base_init): Use finish_mem_initializers.
      	* semantics.c (finish_mem_initializers): New function.
      
      	* tree.c (count_trees_r): Prototype.  Use DATA parameter to store
      	the number of trees.
      	(n_trees): Remove.
      	(count_trees): Don't use it.
      
      From-SVN: r34574
      bf3428d0
    • Jakub Jelinek's avatar
      * gcc.c-torture/execute/loop-6.c: New test. · 22c40c28
      Jakub Jelinek authored
      From-SVN: r34573
      22c40c28
    • Jeff Law's avatar
      Daily bump. · 974ce8d3
      Jeff Law authored
      From-SVN: r34572
      974ce8d3
    • Mark Mitchell's avatar
      cp-tree.h (struct language_function): Remove x_base_init_list and x_member_init_list. · fd74ca0b
      Mark Mitchell authored
      	* cp-tree.h (struct language_function): Remove x_base_init_list
      	and x_member_init_list.
      	(current_base_init_list): Remove.
      	(current_member_init_list): Likewise.
      	(setup_vtbl_ptr): Change prototype.
      	(emit_base_init): Likewise.
      	(expand_member_init): Likewise.
      	(reinit_parse_for_function): Remove.
      	* decl.c (save_function_data): Don't clear x_base_init_list and
      	x_member_init_list.
      	(mark_language_function): Don't mark them.
      	* init.c (perform_member_init): Tweak comment.
      	(sort_member_init): Take the list of initializers as an argument.
      	(sort_base_init): Likewise.
      	(emit_base_init): Likewise.
      	(expand_member_init): Return the initializer.  Don't use global
      	variables.
      	* lex.c (reinit_parse_for_function): Remove.
      	* method.c (build_template_parm_names): Correct substitution.
      	(do_build_copy_constructor): Don't use current_member_init_list
      	and current_base_init_list.
      	(synthesize_method): Likewise.
      	* parse.y (base_init): Split mem-initializers into
      	base-initializers and field-initializers.
      	(member_init_list): Build up the list here.
      	(member_init): Return the initializer.
      	(fn.depfn): Don't use reinit_parse_for_function.
      	* parse.c: Regenerated.
      	* pt.c (convert_nontype_argument): Don't make an ADDR_EXPR of the
      	ERROR_MARK.
      	(tsubst_expr): Don't use current_member_init_list
      	and current_base_init_list.
      	(tsubst_expr_values): Rename to ...
      	(tsubst_initializer_list): ... this.  Use convert_from_reference.
      	* semantics.c (setup_vtbl_ptr): Don't use current_member_init_list
      	and current_base_init_list.
      	(begin_function_definition): Don't call reinit_parse_for_function.
      
      	* dump.c (dequeue_and_dump): Use TREE_VEC_LENGTH with vectors.
      
      	* error.c (dump_expr): Handle ADDR_EXPRs with REFERENCE_TYPE
      	correctly.
      
      From-SVN: r34571
      fd74ca0b
    • Tom Tromey's avatar
      natIconv.cc (iconv_adapter): New function. · ff1c0096
      Tom Tromey authored
      	* gnu/gcj/convert/natIconv.cc (iconv_adapter): New function.
      	(read): Use it.
      	(write): Likewise.
      
      From-SVN: r34570
      ff1c0096
    • Jeffrey A Law's avatar
      i386.md: Create new [right,left] rotate and right shift patterns to optimize shift by 1... · 8bad7136
      Jeffrey A Law authored
      	* i386.md: Create new [right,left] rotate and right shift
      	patterns to optimize shift by 1 bit for certain ia32 processors.
      	Update patterns which perform left shifts to optimize shift by
      	1 bit for certain ia32 processors.
      	* i386.c (const_int_1_operand): New predicate.
      	* i386.h (PREDICATE_CODES): Handle const_int_1_operand.
      	* i386-protos.h (const_int_1_operand): Prototype.
      
      From-SVN: r34569
      8bad7136
  5. Jun 15, 2000
    • Jason Merrill's avatar
      tree.c (count_trees): New debugging function. · 297a5329
      Jason Merrill authored
              * tree.c (count_trees): New debugging function.
      
              * typeck.c (build_x_function_call): Use DECL_FUNCTION_TEMPLATE_P.
              * init.c (build_member_call): Pull out the name of a DECL.
      
              * Makefile.in (semantics.o, pt.o): Depend on TIMEVAR_H.
              * semantics.c (expand_body): Push to TV_INTEGRATION here.
              * optimize.c (optimize_function): Not here.
              * pt.c (instantiate_decl): Push to TV_PARSE.
      
      From-SVN: r34568
      297a5329
    • Mark Mitchell's avatar
      * cp-tree.h (DECL_PENDING_INLINE_P): Relax checking. · f5e6b7bc
      Mark Mitchell authored
      From-SVN: r34567
      f5e6b7bc
    • Kaveh R. Ghazi's avatar
      jcf-write.c (CHECK_PUT): Add static prototype. · ffb1f63d
      Kaveh R. Ghazi authored
              * jcf-write.c (CHECK_PUT): Add static prototype.  Make pointer
              types the same in comparison.
              (CHECK_OP): Add static prototype.
      
      From-SVN: r34566
      ffb1f63d
    • Kaveh R. Ghazi's avatar
      * ste.c (gbe_block): Constify. · cd9b4298
      Kaveh R. Ghazi authored
      From-SVN: r34565
      cd9b4298
    • Jakub Jelinek's avatar
      20000614-1.c: New test. · d2f7db1d
      Jakub Jelinek authored
      	* gcc.dg/20000614-1.c: New test.
      	* gcc.dg/20000614-2.c: New test.
      
      From-SVN: r34564
      d2f7db1d
    • Bryce McKinlay's avatar
      2000-06-15 Bryce McKinlay <bryce@albatross.co.nz> · 1bf89727
      Bryce McKinlay authored
      	Fix for PR java.lang/258:
      	* prims.cc (_Jv_PrimClass): Set state of primitive class to
      	JV_STATE_DONE, to prevent accidental initialization.
      	* java/lang/natClass.cc (_Jv_IsAssignableFrom): Call
      	_Jv_InterfaceAssignableFrom if target is an interface and source is
      	an interface or an abstract class. Remove redundant initializeClass
      	calls. Remove duplicate if_idt test.
      	(_Jv_InterfaceAssignableFrom): New function.
      	* java/lang/Class.h (_Jv_InterfaceAssignableFrom): Prototype.
      
      From-SVN: r34563
      1bf89727
    • Bryce McKinlay's avatar
      2000-06-15 Bryce McKinlay <bryce@albatross.co.nz> · d655f87d
      Bryce McKinlay authored
      	Fix for PR java.lang/258:
      	* prims.cc (_Jv_PrimClass): Set state of primitive class to
      	JV_STATE_DONE, to prevent accidental initialization.
      	* java/lang/natClass.cc (_Jv_IsAssignableFrom): Call
      	_Jv_InterfaceAssignableFrom if target is an interface and source is
      	an interface or an abstract class. Remove redundant initializeClass
      	calls. Remove duplicate if_idt test.
      	* java/lang/Class.h (_Jv_InterfaceAssignableFrom): New function.
      
      From-SVN: r34562
      d655f87d
    • Jeff Law's avatar
      Daily bump. · ecb3185e
      Jeff Law authored
      From-SVN: r34561
      ecb3185e
    • Jason Merrill's avatar
      more 16-bit/h8300 tweaks · b398ac30
      Jason Merrill authored
      From-SVN: r34560
      b398ac30
  6. Jun 14, 2000
Loading