1. 17 Oct, 2002 6 commits
  2. 16 Oct, 2002 14 commits
  3. 15 Oct, 2002 20 commits
    • decl.c (reshape_init): Fix typo. · 3fa3c4bd
      	* decl.c (reshape_init): Fix typo.
      
      	* cp-tree.h (operator_name_info_t): Add arity.
      	* lex.c (init_operators): Initialize it.
      	* mangle.c (write_conversion_operator_name): New function.
      	(write_unqualified_name): Use it.
      	(write_template_args): Accept template arguments as a TREE_LIST.
      	(write_expression): Adjust handling of qualified names to match
      	specification.
      
      	* g++.dg/init/array6.C: New test.
      
      	* g++.dg/abi/mangle13.C: Likewise.
      	* g++.dg/abi/mangle14.C: Likewise.
      	* g++.dg/abi/mangle15.C: Likewise.
      
      From-SVN: r58185
      Mark Mitchell committed
    • Fix x86 miscompilation of gdb mips simulator. · c15c18c5
      	* reload1.c (merge_assigned_reloads): After converting overlapping
      	reloads to RELOAD_OTHER, abort if there are now conflicting reloads.
      	* config/i386/i386.md (adddi3_1): Add call to ix86_binary_operator_ok.
      
      From-SVN: r58184
      Jim Wilson committed
    • call.c (call_builtin_trap): New fn. · 1a55127d
              * call.c (call_builtin_trap): New fn.
              (convert_arg_to_ellipsis): Use it.  Downgrade error to warning.
              (build_call): Don't set current_function_returns_abnormally outside
              a function.
      
      From-SVN: r58180
      Jason Merrill committed
    • * expr.c (do_tablejump): Fix typo in my previous commit. · 74f6d071
      From-SVN: r58179
      Jan Hubicka committed
    • cvs commit fubar. · 20a5fa3d
      From-SVN: r58178
      Andrew Haley committed
    • Fix bad checkin. · de78b090
      From-SVN: r58177
      Andrew Haley committed
    • EvaluationOrder.java (EvaluationOrder): New. · f95eae39
      2002-10-15  Andrew Haley  <aph@redhat.com>
      
              * libjava.lang/EvaluationOrder.java (EvaluationOrder): New.
              * libjava.lang/EvaluationOrder.out (EvaluationOrder): New.
      
      From-SVN: r58176
      Andrew Haley committed
    • configure, [...]: Rebuilt. · b4258f06
      2002-10-15  Ranjit Mathew  <rmathew@hotmail.com>
      
      	* configure, config.h.in: Rebuilt.
      	* configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG.
      
      From-SVN: r58175
      Ranjit Mathew committed
    • class.c (check_field_decls): Remove empty_p parameter. · 58731fd1
      	* class.c (check_field_decls): Remove empty_p parameter.  Instead,
      	clear CLASSTYPE_EMPTY_P.
      	(build_base_field): Likewise.
      	(build_base_fields): Likewise.
      	(check_bases_and_members): Likewise.
      	(create_vtbl_ptr): Likewise.
      	(layout_class_type): Likewise.  Ensure that empty classes have
      	size zero when used as base classes in the 3.2 ABI.
      	(finish_struct_1): Initialize CLASSTYPE_EMPTY_P and
      	CLASSTYPE_NEARLY_EMPTY_P.  Adjust calls to avoid passing empty_p
      	parameter.
      	(is_empty_class): Correct definition when using post-3.2 ABI.
      	* cp-tree.h (lang_type_class): Add empty_p.
      	(CLASSTYPE_EMPTY_P): New macro.
      
      From-SVN: r58170
      Mark Mitchell committed
    • s390.c (s390_split_branches): Add return value. · aee4e0db
      	* config/s390/s390.c (s390_split_branches): Add return
      	value.  Add parameters TEMP_REG and TEMP_USED.  Use unspec 104.
      
      	(find_base_register_in_addr): New function.
      	(find_base_register_ref): New function.
      	(replace_base_register_ref): New function.
      
      	(struct constant_pool): Add members pool_insn, insns, and anchor.
      	Remove member last_insn.
      	(s390_start_pool): Initialize them.
      	(s390_end_pool): Emit pool placeholder insn.
      	(s390_add_pool_insn): New function.
      	(s390_find_pool): Use insns bitmap instead of addresses.
      	(s390_dump_pool): Replace placeholder insn.  Emit anchor.
      	Replace unspec 104 by local-pool-relative references.
      	(s390_output_constant_pool): Output anchor label if required.
      	(s390_output_symbolic_const): Handle unspec 104 and 105.
      	(s390_add_pool): Remove, replace by ...
      	(s390_add_constant, s390_find_constant): ... these new functions.
      	(s390_add_anchor): New function.
      
      	(s390_chunkify_pool): Delete, replace by ...
      	(s390_chunkify_start, s390_chunkify_finish,
      	s390_chunkify_cancel): ... these new functions.
      	(s390_optimize_prolog): Add parameter TEMP_REGNO.
      	Recompute register live data for special registers.
      	(s390_fixup_clobbered_return_reg): New function.
      	(s390_machine_dependent_reorg): Rewrite to use new
      	s390_chunkify_... routines.
      
      	config/s390/s390.md ("reload_base"): Rename to ...
      	("reload_base_31"): ... this.
      	("reload_base_64"): New insn.
      	("reload_base2"): Remove.
      	("reload_anchor"): New insn.
      	("pool"): New insn.
      
      	s390.c (s390_pool_overflow): Remove.
      	s390.h (s390_pool_overflow): Likewise.
      	s390.md ("cjump", "icjump", "doloop_si"): Remove s390_pool_overflow.
      
      From-SVN: r58168
      Ulrich Weigand committed
    • init.c (build_delete): Do not apply save_expr for arrays. · 6742d92b
      cp:
      	* init.c (build_delete): Do not apply save_expr for arrays.
      	(build_vec_delete): Likewise.
      testsuite:
      	* g++.dg/init/ctor1.C: New test.
      
      From-SVN: r58166
      Nathan Sidwell committed
    • * sh.md (movv8qi_i+2): Don't split if source is -1. · c034672a
      From-SVN: r58165
      J"orn Rennecke committed
    • install.texi: Formatting changes for conformance to HTML 4.01. · b8db17af
      2002-10-15  Janis Johnson  <janis187@us.ibm.com>
      
      	* doc/install.texi: Formatting changes for conformance to HTML 4.01.
      
      From-SVN: r58164
      Janis Johnson committed
    • java-tree.h (java_inlining_merge_static_initializers): Declare. · dbd1e2d8
      2002-10-15  Andrew Haley  <aph@redhat.com>
      
              * java-tree.h (java_inlining_merge_static_initializers): Declare.
              (java_inlining_map_static_initializers): Declare.
      
      From-SVN: r58163
      Andrew Haley committed
    • * gcc.c-torture/execute/20021015-1.c: New test. · 23a64177
      From-SVN: r58159
      Ulrich Weigand committed
    • re PR rtl-optimization/7409 (loop optimization) · 2d34c587
      PR opt/7409
      	* loop.c (loop_regs_scan): Mark registers used for function
      	argument passing as MAY_NOT_OPTIMIZE.
      
      From-SVN: r58158
      Ulrich Weigand committed
    • re PR c/7344 (performance regression on huge case statements) · 1877be45
      	* i386.md (movv2di_internal): New pattern.
      	(movv2df_internal, movv8hi_internal, movv16qi_internal): Fix predicate.
      	(movv2di): New expander.
      	* i386.c (ix86_preferred_reload_class): Return NO_REGS for vector operands.
      
      	* i386.c (ix86_expand_timode_binop_builtin): Delete.
      	(builtin_description): Add SSE1 logicals; rename SSE2 logicals.
      	(ix86_init_mmx_sse_builtins): Kill SSE1 logicals.
      	(ix86_expand_builtin): Likewise.
      	* i386.h (sse_andti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
              sse_andti3,
      	sse_andnti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
              sse_andnti3,
      	sse_orti4_df_1, sse_orti3_df_2, sse_orti3_sf_1, sse_orti3_sf_2,
              sse_orti3,
      	sse_xorti4_df_1, sse_xorti3_df_2, sse_xorti3_sf_1, sse_xorti3_sf_2,
              sse_xorti3): Kill.
      	(sse_andv4sf3, sse_andnv4sf3, sse_orv2df3, sse_xorv2df3, sse_andv2df3,
      	 sse_andnv2df3, sse_orv2df3, sse_xorv2df3): New expanders.
      	(*sse_andv4sf3, *sse_andnv2df3, *sse_orv4sf3, *sse_xorv4sf3, *sse_andv2df3,
      	 *sse_andnv2df3, *sse_orv2df3, *sse_xorv2df3): New patterns.
      	(*sse_andsf3, *sse_andndf3, *sse_ordf3, *sse_xordf3, *sse_anddf3,
      	 *sse_andndf3, *sse_orv2df3, *sse_xorv2df3): New patterns.
      
      	* xmmintrin.h (__m128i): Define as __v2di.
      
      	PR c/7344
      	* predict.c (can_predict_insn_p): New function.
      	(estimate_probability): Avoid unnecesary work.
      	(process_note_prediction): Likewise.
      	* toplev.c (rest_of_compilation): Account early branch prediction pass
      	as TV_BRANCH_PROB.
      
      	PR c++/6419
      	(expand_expr): Use DECL_RTL_SET_P.
      
      From-SVN: r58156
      Jan Hubicka committed
    • Daily bump. · 0aab899b
      From-SVN: r58155
      GCC Administrator committed