1. 19 May, 2004 23 commits
    • re PR c/14171 (Bootstrap (--enable-intermodule) dies with reg-stack.c:235:… · dc44e18a
      re PR c/14171 (Bootstrap (--enable-intermodule) dies with reg-stack.c:235: error: 'nan' redeclared as different kind of symbol)
      
      2004-05-19  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR c/14171
              * reg-stack.c (nan): Rename to ...
              (not_a_num): Here.
              (reg_to_stack): Rename nan to not_a_num.
              (subst_stack_regs_pat): Likewise.
              (convert_regs_entry): Likewise.
              (convert_regs_1): Likewise.
      
      From-SVN: r82040
      Andrew Pinski committed
    • reg-stack.c (nan): Rename to ... · d2032ad8
      2004-05-19  Andrew Pinski  <pinskia@physics.uc.edu>
      
              * reg-stack.c (nan): Rename to ...
              (not_a_num): Here.
              (reg_to_stack): Rename nan to not_a_num.
              (subst_stack_regs_pat): Likewise.
              (convert_regs_entry): Likewise.
              (convert_regs_1): Likewise.
      
      From-SVN: r82039
      Andrew Pinski committed
    • Fix typo in last commit. · a6845d13
      From-SVN: r82037
      Anthony Green committed
    • Makefile.am (awt_java_source_files): Remove javax.rmi and gnu.javax.rmi code. · 0fa13661
      2004-05-19  Anthony Green  <green@redhat.com>
      
      	* Makefile.am (awt_java_source_files): Remove javax.rmi and
      	gnu.javax.rmi code.
      	* Makefile.in: Rebuilt.
      	* javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
      	javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
      	javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
      	javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
      	javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
      	gnu/javax/rmi/CORBA/DelegateFactory.java,
      	gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
      	gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
      	gnu/javax/rmi/CORBA/StubDelegateImpl.java,
      	gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
      	gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
      	gnu/javax/rmi/PortableServer.java: Remove files.
      
      From-SVN: r82036
      Anthony Green committed
    • tree-into-ssa.c (prepare_operand_for_rename): New argument is_use. · 34eb8991
      	* tree-into-ssa.c (prepare_operand_for_rename): New argument is_use.
      	If the operand is for a use, then strip away the SSA_NAME, do not
      	strip away the SSA_NAME for a set.  Never call release_ssa_name.
      	(mark_def_sites): Appropriately pass additional argument to
      	prepare_operand_for_rename.  If a VDEF_RESULT is not an SSA_NAME,
      	then set the VDEF_RESULT to the VDEF_OP.
      	(set_def_block): Strip away any SSA_NAME to get to the real
      	underlying variable.
      
      From-SVN: r82035
      Jeff Law committed
    • Makefile.am: Define JAVA_EXT_DIRS. · 0f22079e
      2004-05-19  Anthony Green  <green@redhat.com>
      
      	* Makefile.am: Define JAVA_EXT_DIRS.
      	* Makefile.in: Rebuilt.
      	* java/lang/natRuntime.cc (insertSystemProperties): Set
      	java.ext.dirs property.
      
      From-SVN: r82034
      Anthony Green committed
    • tree-cfg.c (find_case_label_for_value): Replace call to simple_cst_equal with tree_int_cst_equal. · e916e1d0
      2004-05-19  Andrew Pinski  <pinskia@physics.uc.edu>
      
              * tree-cfg.c (find_case_label_for_value): Replace call to
              simple_cst_equal with tree_int_cst_equal.
      
      From-SVN: r82033
      Andrew Pinski committed
    • tree-ssa-phiopt.c (value_replacement): Handle the case where the desired edge… · 84c672b9
      tree-ssa-phiopt.c (value_replacement): Handle the case where the desired edge out of COND_BLOCK reaches OTHER_BLOCK...
      
      	* tree-ssa-phiopt.c (value_replacement): Handle the case where
      	the desired edge out of COND_BLOCK reaches OTHER_BLOCK rather than
      	BB directly.
      
      From-SVN: r82031
      Jeff Law committed
    • Multiple fixes: PRs 14692, 15274 and 15463 · 0aea6467
      	PR c++/15463
      	* loop-iv.c (iv_number_of_iterations):  Use trunc_int_for_mode on
      	result of inverse.
      
      	PR rtl-optimization/15274
      	* loop-iv.c (determine_max_iter, shorten_into_mode,
      	iv_number_of_iterations): Handle constants correctly.
      	* rtl.h (get_mode_bounds): Declaration changed.
      	* stor-layout.c (get_mode_bounds): Return a constant suitable for
      	the target mode.
      
      	PR rtl-optimization/14692
      	* loop-unswitch.c (may_unswitch_on): Try folding the result.
      	(unswitch_single_loop): Work correctly when may_unswitch_on
      	returns a folded constant.
      
      	* loop-iv.c (implies_p): Handle A < B ==> A + 1 <= B.
      	* simplify-rtx.c (simplify_const_relational_operation): Optimize
      	comparisons with mode bounds.
      
      	* function.c (struct temp_slot): Add new field prev.
      	(free_after_compilation, init_temp_slots): Free new fields.
      	(cut_slot_from_list, insert_slot_to_list,
      	temp_slots_at_level, max_slot_level, move_slot_to_level,
      	make_slot_available): New functions.
      	(assign_stack_temp_for_type, combine_temp_slots,
      	find_temp_slot_from_address, preserve_temp_slots,
      	preserve_rtl_expr_result, free_temp_slots,
      	free_temps_for_rtl_expr, pop_temp_slots): Work with
      	the new structure of lists.
      	(mark_all_temps_used): Removed.
      	* function.h (struct function): Field x_temp_slots
      	replaced by x_used_temp_slots and x_avail_temp_slots.
      	(temp_slots): Replaced by ...
      	(used_temp_slots, avail_temp_slots): New.
      	* tree.h (mark_all_temps_used): Declaration removed.
      
      	* loop-iv.c (mark_single_set, get_biv_step_1, iv_analyze,
      	simplify_using_assignment): Take the expression out of
      	the expr_list wrapper.
      
      	* loop-iv.c (iv_number_of_iterations): Improve clasification of
      	infinite loops.
      
      From-SVN: r82028
      Zdenek Dvorak committed
    • typeck.c: Remove non-printable character 160. · 20cb64fd
      2004-05-19  Paolo Bonzini  <bonzini@gnu.org>
      
      	* typeck.c: Remove non-printable character 160.
      
      From-SVN: r82027
      Paolo Bonzini committed
    • [multiple changes] · c37bb106
      2004-05-19  Joel Brobecker  <brobecker@gnat.com>
      
      	* exp_dbug.ads: Correct comments concerning handling of overloading,
      	since we no longer use $ anymore.
      
      2004-05-19  Sergey Rybin  <rybin@act-europe.fr>
      
      	* sem_ch10.adb (Optional_Subunit): When loading a subunit, do not
      	ignore errors if ASIS_Mode is set. This prevents creating ASIS trees
      	with illegal subunits.
      
      2004-05-19  Ed Schonberg  <schonberg@gnat.com>
      
      	* sem_ch6.adb (Check_Following_Pragma): When compiling a subprogram
      	body with front-end inlining enabled, check whether an inline pragma
      	appears immediately after the body and applies to it.
      
      	* sem_prag.adb (Cannot_Inline): Emit warning if front-end inlining is
      	enabled and the pragma appears after the body of the subprogram.
      
      From-SVN: r82026
      Arnaud Charlet committed
    • tm.texi (TARGET_RTX_COSTS): Document that instruction costs should be based on code size when... · 31a52b86
      
      	* doc/tm.texi (TARGET_RTX_COSTS): Document that instruction
      	costs should be based on code size when optimizing for size.
      
      From-SVN: r82025
      Roger Sayle committed
    • fold-const.c: Remove non-printable character 160. · d28f752b
      2004-05-19  Paolo Bonzini  <bonzini@gnu.org>
      
      	* fold-const.c: Remove non-printable character 160.
      
      From-SVN: r82024
      Paolo Bonzini committed
    • Credit Feng Wang <fengwang@nudt.edu.cn> in ChangeLog. · 59fa6e39
      From-SVN: r82023
      Feng Wang committed
    • invoke.texi (ARM Options): Fix typo. · 34a86306
      * doc/invoke.texi (ARM Options): Fix typo.
      Remove descrption of -mshort-load-bytes and -mno-short-load-bytes.
      
      From-SVN: r82022
      Nick Clifton committed
    • Fix typos (missing closing parentheses) · d55b55aa
      From-SVN: r82021
      Nick Clifton committed
    • re PR libstdc++/11691 (stdio_filebuf leaks FILE buffer when "no close" is requested) · c6618c03
      2004-05-18  Jonathan Wakely  <redi@gcc.gnu.org>
      
      	* include/ext/stdio_filebuf.h: Update comments to reflect PR 11691.
      
      From-SVN: r82019
      Jonathan Wakely committed
    • Expanders cleanups after tree-ssa merge, part 1. · 6af8eb57
      2004-05-19  Steven Bosscher  <stevenb@suse.de>
      
      	Expanders cleanups after tree-ssa merge, part 1.
      
      	* expr.c (store_constructor): Build loop start and end by hand
      	instead of via loop functions from stmt.c.
      	(expand_expr_real_1): Abort if we see an EXIT_EXPR or a LOOP_EXPR.
      	Remove the code to expand them.
      
      	* stmt.c (loop_stack): Remove this and everything related.
      	(struct nesting, enum nesting_desc): Update.
      	(expand_fixup): Likewise.
      	(expand_loop_start, expand_start_loop_continue_elsewhere,
      	expand_start_null_loop, expand_loop_continue_here, expand_end_loop,
      	expand_end_null_loop, expand_continue_loop, expand_exit_loop,
      	expand_exit_loop_if_false, expand_exit_loop_top_cond,
      	expand_exit_something): Remove.
      	* tree.h: Remove prototypes.
      
      From-SVN: r82018
      Steven Bosscher committed
    • tree-ssa-phiopt.c (abs_replacement): New function. · cc52902d
              * tree-ssa-phiopt.c (abs_replacement): New function.
              (empty_block_p): New function extracted from...
              (candidate_bb_for_phi_optimization): Break out empty block test.
              (conditional_replacement): Use empty_block_p.
              (value_replacement): Similarly.
      
              * gcc.dg/tree-ssa/20040514-2.c: Update expected output.
              * gcc.dg/tree-ssa/20040518-2.c: New test.
      
      Co-Authored-By: Jeff Law <law@redhat.com>
      
      From-SVN: r82017
      Andrew Pinski committed
    • tm.texi (TARGET_ASM_EMIT_UNWIND_LABEL): Add argument to indicate if this label is for eh. · eeab4d81
      	* doc/tm.texi (TARGET_ASM_EMIT_UNWIND_LABEL): Add argument to indicate
      	if this label is for eh.
      	* config/darwin-protos.h (darwin_emit_unwind_label): Likewise.
      	* config/darwin.c (darwin_emit_unwind_label): Likewise.
      	* dwarf2out.c (output_call_frame_info): Likewise.
      	* output.h (default_emit_unwind_label): Likewise.
      	* target.h (unwind_label): Likewise.
      	* varasm.c (default_emit_unwind_label): Likewise.
      
      	* config/darwin.h (DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE,
      	DEBUG_FRAME_SECTION, DEBUG_INFO_SECTION, DEBUG_ABBREV_SECTION,
      	DEBUG_ARANGES_SECTION, DEBUG_MACINFO_SECTION, DEBUG_LINE_SECTION,
      	DEBUG_LOC_SECTION, DEBUG_PUBNAMES_SECTION, DEBUG_STR_SECTION,
      	DEBUG_RANGES_SECTION): Define.
      
      Radar 3657068.
      
      Co-Authored-By: Devang Patel <dpatel@apple.com>
      
      From-SVN: r82016
      Mike Stump committed
    • * cgraph.c (hash_node, eq_node, cgraph_node, cgraph_remove_node) · bb9a388d
      	(cgraph_varpool_hash_node, eq_cgraph_varpool_node)
      	(cgraph_varpool_node):
      	Use DECL_UID for the key, not DECL_ASSEMBLER_NAME.
      	(cgraph_function_possibly_inlined_p): Use the decl itself for
      	the key, not DECL_ASSEMBLER_NAME.
      	(change_decl_assembler_name): No need to muck with the hash tables.
      	(cgraph_node_for_identifier, cgraph_varpool_node_for_identifier):
      	Delete.
      	* cgraphunit.c (cgraph_mark_inline_edge): Use the decl itself
      	for the key, not DECL_ASSEMBLER_NAME.
      	* cgraph.h: Remove prototypes of deleted functions.
      	* varasm.c (mark_referenced): Just set TREE_SYMBOL_REFERENCED.
      	(mark_decl_referenced): New function.
      	* tree.h: Prototype mark_decl_referenced.
      	* final.c (output_addr_const) <case SYMBOL_REF>: Call
      	mark_decl_referenced before assemble_name.
      	* c-decl.c (finish_decl): Use mark_decl_referenced.
      cp:
      	* decl.c (cp_finish_decl): Use mark_decl_referenced.
      	* decl2.c (maybe_make_one_only): Likewise.
      	* method.c (use_thunk): Likewise.
      
      From-SVN: r82015
      Zack Weinberg committed
    • f95-lang.c (gfc_init_builtin_functions): Use vold_list_node. · 5b200ac2
      	* f95-lang.c (gfc_init_builtin_functions): Use vold_list_node.
      	Create decls for __builtin_pow{,f}.
      	* gfortran.h (PREFIX_LEN): Define.
      	* trans-decl.c (gfor_fndecl_math_powi): Add.
      	(gfor_fndecl_math_powf, gfor_fndecl_math_pow): Remove.
      	(gfc_build_intrinsic_function_decls): Create decls for powi.
      	* trans-expr.c (powi_table): Add.
      	(gfc_conv_integer_power): Remove.
      	(gfc_conv_powi): New function.
      	(gfc_conv_cst_int_power): New function.
      	(gfc_conv_power_op): Use new powi routines.
      	* trans.h (struct gfc_powdecl_list): Add.
      	(gfor_fndecl_math_powi): Add.
      	(gfor_fndecl_math_powf, gfor_fndecl_math_pow): Remove.
      testsuite/
      	* gfortran.fortran-torture/execute/power.f90: Test constant integers.
      libgfortran/
      	* Makefile.am (i_pow_c): Set it. Add build rule.
      	(gfor_built_src): Use it.
      	(m4_files): add m4/pow.m4.
      	* Makefile.in: Regenerate.
      	* m4/pow.m4: New file.
      	* generated/pow_*.c: Regenerate.
      
      From-SVN: r82014
      Feng Wang committed
    • Daily bump. · 933520b9
      From-SVN: r82012
      GCC Administrator committed
  2. 18 May, 2004 17 commits