1. 07 Mar, 2003 9 commits
    • call.c (merge_conversion_sequences): New function. · 3d938426
      	* call.c (merge_conversion_sequences): New function.
      	(build_conv): Set ICS_USER_FLAG for USER_CONVs.
      	(convert_class_to_reference): Correct handling of second
      	standard conversion sequence in a user-defined conversion
      	sequence.
      	(build_user_type_conversion_1): Use merge_conversion_sequences.
      	* cp-tree.def: Add comments for CONV nodes.
      
      	* g++.dg/init/ref3.C: New test.
      
      From-SVN: r63930
      Mark Mitchell committed
    • No changelog, just replaced one tabulator with some spaces · ea67bef4
      to merge with classpath.
      
      From-SVN: r63929
      Michael Koch committed
    • error.c (init_error): Use C90 prototype style. · 3f8548e7
              * error.c (init_error): Use C90 prototype style.
              (dump_scope): Likewise.
              (dump_qualifiers): Likewise.
              (dump_template_argument): Likewise.
              (dump_template_argument_list): Likewise.
              (dump_template_parameter): Likewise.
              (dump_template_bindings): Likewise.
              (dump_type): Likewise.
              (dump_typename): Likewise.
              (class_key_or_enum): Likewise.
              (dump_aggr_type): Likewise.
              (dump_type_prefix): Likewise.
              (dump_type_suffix): Likewise.
              (dump_global_iord): Likewise.
              (dump_simple_decl): Likewise.
              (dump_decl): Likewise.
              (dump_template_decl): Likewise.
              (dump_function_decl): Likewise.
              (dump_parameters): Likewise.
              (dump_exception_spec): Likewise.
              (dump_function_name): Likewise.
              (dump_template_parms): Likewise.
              (dump_char): Likewise.
              (dump_expr_list): Likewise.
              (dump_expr): Likewise.
              (dump_binary_op): Likewise.
              (dump_unary_op): Likewise.
              (type_as_string): Likewise.
              (expr_as_string): Likewise.
              (decl_as_string): Likewise.
              (context_as_string): Likewise.
              (lang_decl_name): Likewise.
              (cp_file_of): Likewise.
              (cp_line_of): Likewise.
              (decl_to_string): Likewise.
              (expr_to_string): Likewise.
              (fndecl_to_string): Likewise.
              (code_to_string): Likewise.
              (language_to_string): Likewise.
              (parm_to_string): Likewise.
              (op_to_string): Likewise.
              (type_to_string): Likewise.
              (assop_to_string): Likewise.
              (args_to_string): Likewise.
              (cv_to_string): Likewise.
              (cxx_print_error_function): Likewise.
              (cp_diagnostic_starter): Likewise.
              (cp_diagnostic_finalizer): Likewise.
              (cp_print_error_function): Likewise.
              (function_category): Likewise.
              (print_instantiation_full_context): Likewise.
              (print_instantiation_partial_context): Likewise.
              (maybe_print_instantiation_context): Likewise.
              (print_instantiation_context): Likewise.
              (cp_printer): Likewise.
              (print_integer): Likewise.
              (print_non_consecutive_character): Likewise.
              (locate_error): Likewise.
      
      From-SVN: r63928
      Gabriel Dos Reis committed
    • jcf.h (COMPARE_FILENAMES): New macro similar to "strcmp" to compare file name… · 530d4230
      jcf.h (COMPARE_FILENAMES): New macro similar to "strcmp" to compare file name components depending on the...
      
      2003-03-05  Ranjit Mathew  <rmathew@hotmail.com>
      
      	* jcf.h (COMPARE_FILENAMES): New macro similar to "strcmp" to
      	compare file name components depending on the case-sensitivity
      	or otherwise of the host file system.
      
      	* jcf-path.c (add_entry): Use COMPARE_FILENAMES instead of
      	"strcmp" to compare file name components.
      	Use IS_DIR_SEPARATOR instead of comparing directly against
      	DIR_SEPARATOR.
      	(jcf_path_extdirs_arg): Use IS_DIR_SEPARATOR instead of
      	comparing directly against DIR_SEPARATOR.
      
      From-SVN: r63927
      Ranjit Mathew committed
    • h8300.md (a peephole2): Don't use reg_overlap_mentioned_p. · 203b3521
      	* config/h8300/h8300.md (a peephole2): Don't use
      	reg_overlap_mentioned_p.
      
      From-SVN: r63925
      Kazu Hirata committed
    • c-pch.c: Include langhooks.h. · 8643e92d
      	* c-pch.c: Include langhooks.h.
      	(IDENT_LENGTH): New.
      	(get_ident): New.
      	(pch_ident): Delete.
      	(pch_init): Use get_ident, IDENT_LENGTH.
      	(c_common_valid_pch): Likewise.  Also, use actual language
      	in warning message.
      	* Makefile.in (c-pch.o): Add langhooks.h to dependencies.
      
      	* objc/config-lang.in (gtfiles): Add objc-act.c.  Remove duplicate
      	c-parse.in.
      	* objc/Make-lang.in (objc/objc-act.o): Add dependency on
      	gt-objc-objc-act.h.
      	(gt-objc-objc-act.h): New rule.
      	* objc/lang-specs.h: Support PCH.
      	* objc/objc-act.c: Include gt-objc-objc-act.h.
      	(objc_add_static_instance): Move num_static_inst out, mark for PCH.
      	(build_selector_reference_decl): Move idx out, mark for PCH.
      	(build_class_reference_decl): Likewise.
      	(build_objc_string_decl): Move *_idx out, mark for PCH.
      	(build_tmp_function_decl): Move xxx out, mark for PCH.
      
      From-SVN: r63924
      Geoffrey Keating committed
    • rs6000.c (rs6000_binds_local_p): Consider global functions for inlining on Darwin. · 7f3d8013
      
      2003-03-06  Dale Johannesen  <dalej@apple.com>
      
              * config/rs6000/rs6000.c (rs6000_binds_local_p):  Consider
              global functions for inlining on Darwin.
      
      From-SVN: r63923
      Dale Johannesen committed
    • Daily bump. · 006425bf
      From-SVN: r63922
      GCC Administrator committed
    • haifa-sched.c (schedule_block): Don't call reorder when sorting is prohibited. · 14484a78
      2003-03-06  Vladimir Makarov  <vmakarov@redhat.com>
      
      	* haifa-sched.c (schedule_block): Don't call reorder when sorting
      	is prohibited.
      
      From-SVN: r63915
      Vladimir Makarov committed
  2. 06 Mar, 2003 21 commits
  3. 05 Mar, 2003 10 commits
    • stmt.c (fixup_gotos): Change meaning of DONT_JUMP_IN. · cda26058
      	* stmt.c (fixup_gotos): Change meaning of DONT_JUMP_IN.
      	(expand_end_bindings): Likewise.
      
      From-SVN: r63874
      Richard Kenner committed
    • re PR c++/9440 (error message about "non-lvalue in unary '&'" when using ?: operator) · c965b169
              PR c++/9440
              * call.c (build_conditional_expr): Use convert rather than an
              explicit NOP_EXPR.
      
      From-SVN: r63872
      Jason Merrill committed
    • pa.md (return_external_pic): Add !TARGET_PA_20 to constraint. · 98857de8
      	* pa.md (return_external_pic): Add !TARGET_PA_20 to constraint.
      	(epilogue): Don't generate return_external_pic when emitting PA 2.0
      	code.
      
      From-SVN: r63871
      John David Anglin committed
    • tm.texi: Document TARGET_DWARF_REGISTER_SPAN. · 96714395
      2003-03-05  Aldy Hernandez  <aldyh@redhat.com>
      
              * doc/tm.texi: Document TARGET_DWARF_REGISTER_SPAN.
      
              * config/rs6000/rs6000.c (rs6000_dwarf_register_span): New.
      
              * hooks.c (hook_rtx_rtx_null): New.
      
              * hooks.h (hook_rtx_rtx_null): Protoize.
      
              * target-def.h (TARGET_DWARF_REGISTER_SPAN): New macro.
              (TARGET_INITIALIZER): Add TARGET_DWARF_REGISTER_SPAN.
      
              * target.h (struct gcc_target): Add dwarf_register_span.
      
              * dwarf2out.c (multiple_reg_loc_descriptor): New.
              (one_reg_loc_descriptor): New.
              (reg_loc_descriptor): Add support for values that span more than
              one register.
      
      From-SVN: r63870
      Aldy Hernandez committed
    • strstream.cc, [...]: Remove incorrect whitespace added in my previous change. · dd6eaaed
      * src/strstream.cc, include/bits/basic_string.tcc: Remove
      incorrect whitespace added in my previous change.
      
      From-SVN: r63869
      Alexandre Oliva committed
    • Makefile.in (calls.o, [...]): Depend on cgraph.h · b255a036
      	* Makefile.in (calls.o, toplev.o alias.o): Depend on cgraph.h
      	* alias.c:  Include cgraph.h
      	(mark_constant_function): Use cgraph_rtl_info.
      	* calls.c:  Include cgraph.h
      	(flags_from_decl_or_type): Use cgraph_rtl_info to find pure and const
      	calls.
      	(expand_call): Use cgraph_rtl_info to set preferred stack boundary.
      	* cgraph.c (cgraph_rtl_info): New function.
      	* cgraph.h (cgraph_rtl_info): Declare
      	(cgraph_rtl_info): Likewise.
      	* function.h (struct function): Add recursive_call_emit.
      	* toplev.c: Include cgraph.h.
      	(rest_of_compilation): Set preferred_incoming_stack_boundary.
      
      	* gcc.dg/i386-local2.c: New.
      
      From-SVN: r63868
      Jan Hubicka committed
    • h8300.c (output_simode_bld): Clear the destination first if possible. · 0eb933a0
      	* config/h8300/h8300.c (output_simode_bld): Clear the
      	destination first if possible.
      	* config/h8300/h8300.md (extzv_1_r_h8300hs): Add an
      	alternative.
      	(extzv_1_r_inv_h8300hs): Likewise.
      
      From-SVN: r63867
      Kazu Hirata committed
    • decl.c (cp_binding_level): Add static_decls varray member. · 1d555f7a
      	* decl.c (cp_binding_level): Add static_decls varray member.
      	(add_decl_to_level): Add static/inline namespace scope
      	declarations to static_decls array.
      	(wrapup_global_for_namespace): Pass static_decls only, instead of
      	all decls, to wrapup_global_declarations/check_global_declarations.
      	(push_namespace): Initialize static_decls for ordinary namespaces.
      	(cxx_init_decl_processing): Initialize static_decls for global
      	namespace.
      
      From-SVN: r63866
      Matt Austern committed
    • basic-block.h (EDGE_IRREDUCIBLE_LOOP, [...]): New. · 35b07080
      	* basic-block.h (EDGE_IRREDUCIBLE_LOOP, EDGE_ALL_FLAGS): New.
      	* cfg.c (dump_edge_info): Add EDGE_IRREDUCIBLE_LOOP flag dump.
      	* cfgloop.c (flow_loop_free): Made global.
      	(establish_preds): New static function.
      	(flow_loop_tree_node_add): Handle subloops of added loop correctly.
      	(get_loop_exit_edges): New.
      	(verify_loop_structure): Verify EDGE_IRREDUCIBLE_LOOP flags.
      	* cfgloop.h (flow_loop_free, get_loop_exit_edges, unloop): Declare.
      	* cfgloopanal.c (mark_irreducible_loops): Mark edges in irreducible
      	loops.
      	* cfgloopmanip.c (loop_delete_branch_edge): Allow to test for
      	removability of an edge.
      	(fix_irreducible_loops): New static function.
      	(find_path, remove_path): Add ability to remove enclosing loops.
      	(unloop): New.
      	(copy_bbs, duplicate_loop_to_header_edge): Use EDGE_IRREDUCIBLE_LOOP
      	flags.
      	* cfgrtl.c (verify_flow_info): Handle EDGE_IRREDUCIBLE_LOOP flag.
      	* loop-unroll.c (peel_loops_completely): Do not duplicate loop if
      	not neccessary.
      	(decide_peel_completely, peel_loops_completely): Allow complete peeling
      	of non-duplicable once rolling loops.
      	* loop-unswitch.c (unswitch_loop): Update EDGE_IRREDUCIBLE_LOOP flags.
      
      From-SVN: r63864
      Zdenek Dvorak committed
    • sh.h (OVERRIDE_OPTIONS): For TARGET_SHMEDIA, the minimum value for align_jumps is 4. · bb182d23
      	* sh.h (OVERRIDE_OPTIONS): For TARGET_SHMEDIA, the minimum value
      	for align_jumps is 4.
      
      	(SECONDARY_INPUT_RELOAD_CLASS): If reloading a PLUS into FPUL,
      	use GENERAL_REGS.
      
      From-SVN: r63863
      J"orn Rennecke committed