1. 19 May, 2004 6 commits
    • 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 25 commits
  3. 17 May, 2004 9 commits