1. 09 Sep, 2011 1 commit
    • gimple.h (fold_stmt_inplace): Adjust to take a gimple_stmt_iterator instead of a statement. · 59401b92
      2011-09-09  Richard Guenther  <rguenther@suse.de>
      
      	* gimple.h (fold_stmt_inplace): Adjust to take a gimple_stmt_iterator
      	instead of a statement.
      	* gimple-fold.c (fold_stmt_inplace): Likewise.
      	* sese.c (graphite_copy_stmts_from_block): Adjust.
      	* tree-ssa-dom.c (propagate_rhs_into_lhs): Likewise.
      	* tree-ssa-forwprop.c (forward_propagate_into_comparison): Use
      	fold_stmt.
      	(forward_propagate_addr_into_variable_array_index): Likewise.
      	(forward_propagate_addr_expr_1): adjust.
      	(associate_plusminus): Likewise.
      	(ssa_forward_propagate_and_combine): Likewise.
      	* tree-ssa-mathopts.c (replace_reciprocal): Adjust.
      	(execute_cse_reciprocals): Likewise.
      	* tree-ssa.c (insert_debug_temp_for_var_def): Adjust.
      
      From-SVN: r178726
      Richard Guenther committed
  2. 28 Jul, 2011 1 commit
    • Fix PR49876: Continue code generation with integer_zero_node on gloog_error · 60cf26cc
      When setting gloog_error, graphite should continue code generation
      without early returns, as otherwise the SSA representation would not
      be complete.  So set the new expression to integer_zero_node, that
      would not require more SSA updates, and continue code generation as
      nothing happened.
      
      Regstrapped on amd64-linux.
      
      2011-07-28  Sebastian Pop  <sebastian.pop@amd.com>
      
      	PR tree-optimization/49876
      	* sese.c (rename_uses): Do not return false on gloog_error: set
      	the new_expr to integer_zero_node and continue code generation.
      	(graphite_copy_stmts_from_block): Remove early exit on gloog_error.
      
      From-SVN: r176900
      Sebastian Pop committed
  3. 27 Jul, 2011 1 commit
    • Fix PR47691: do not abort compilation when code generation fails · bd4a54da
      2011-07-27  Sebastian Pop  <sebastian.pop@amd.com>
      
      	PR middle-end/47691
      	* graphite-clast-to-gimple.c (translate_clast_user): Update use of
      	copy_bb_and_scalar_dependences.
      	* sese.c (rename_uses): Do not call gcc_assert.  Set gloog_error.
      	(graphite_copy_stmts_from_block): Update call to rename_uses.
      	(copy_bb_and_scalar_dependences): Update call to
      	graphite_copy_stmts_from_block.
      	* sese.h (copy_bb_and_scalar_dependences): Update declaration.
      
      	* gfortran.dg/graphite/id-pr47691.f: New.
      
      From-SVN: r176836
      Sebastian Pop committed
  4. 22 Jun, 2011 1 commit
    • re PR debug/47858 (IPA-SRA decreases quality of debug info) · ddb555ed
      	PR debug/47858
      	* gimple.h (enum gimple_debug_subcode): Add GIMPLE_DEBUG_SOURCE_BIND.
      	(gimple_build_debug_source_bind_stat): New prototype.
      	(gimple_build_debug_source_bind): Define.
      	(gimple_debug_source_bind_p, gimple_debug_source_bind_get_var,
      	gimple_debug_source_bind_get_value,
      	gimple_debug_source_bind_get_value_ptr,
      	gimple_debug_source_bind_set_var,
      	gimple_debug_source_bind_set_value): New inlines.
      	* gimple.c (gimple_build_debug_source_bind_stat): New function.
      	* gimple-pretty-print.c (dump_gimple_debug): Handle
      	GIMPLE_DEBUG_SOURCE_BIND.
      	* sese.c (rename_uses): Handle gimple_debug_source_bind_p.
      	* tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Likewise.
      	* tree-parloops.c (eliminate_local_variables,
      	separate_decls_in_region): Likewise.
      	(separate_decls_in_region_debug): Renamed from
      	separate_decls_in_region_debug_bind.  Handle
      	gimple_debug_source_bind_p.
      	* tree.h (decl_debug_args_lookup, decl_debug_args_insert): New
      	prototypes.
      	(DECL_HAS_DEBUG_ARGS_P): Define.
      	(struct tree_function_decl): Add has_debug_args_flag field.
      	* tree.c (debug_args_for_decl): New variable.
      	(decl_debug_args_lookup, decl_debug_args_insert): New functions.
      	* tree-into-ssa.c (mark_def_sites): Handle uses in debug stmts.
      	(rewrite_debug_stmt_uses): New function.
      	(rewrite_stmt): Use it to rewrite debug stmt uses.
      	* rtl.def (DEBUG_PARAMETER_REF): New.
      	* rtl.h (DEBUG_PARAMETER_REF_DECL): Define.
      	* cselib.c (rtx_equal_for_cselib_1, cselib_hash_rtx): Handle
      	DEBUG_PARAMETER_REF.
      	* rtl.c (rtx_equal_p_cb, rtx_equal_p, iterative_hash_rtx): Likewise.
      	* print-rtl.c (print_rtx): Likewise.
      	* tree-sra.c (sra_ipa_reset_debug_stmts): Prefer replacing of
      	SSA_NAMEs with DEBUG_EXPR_DECLs initialized in source bind
      	debug stmts in the first bb.
      	* tree-inline.c (remap_ssa_name): If remapping default def
      	of a PARM_DECL fails, map to a DEBUG_EXPR_DECL set in
      	a source bind debug stmt.
      	(remap_gimple_stmt): Handle gimple_debug_source_bind_p.
      	(maybe_move_debug_stmts_to_successors): Likewise.
      	(copy_debug_stmt): Likewise.  Avoid shadowing a variable.
      	(tree_function_versioning): If DECL_HAS_DEBUG_ARGS_P, copy
      	debug args vector from old_decl to new_decl.
      	* ipa-prop.c (ipa_modify_call_arguments): For optimized away
      	or modified parameters, add debug bind stmts before call
      	setting DEBUG_EXPR_DECL which is remembered in debug args
      	vector.
      	* cfgexpand.c (expand_call_stmt): Call expand_debug_expr
      	on DECL_DEBUG_EXPRs from debug args vector.
      	(expand_debug_source_expr): New function.
      	(expand_debug_locations): Use it for source bind insns.
      	(expand_gimple_basic_block): Handle gimple_debug_source_bind_p.
      	* var-tracking.c (prepare_call_arguments): Add debug args
      	to call_arguments if any.
      	* dwarf2out.c (dwarf_stack_op_name, size_of_loc_descr,
      	output_loc_operands, output_loc_operands_raw,
      	resolve_addr_in_expr, compare_loc_operands): Handle
      	DW_OP_GNU_parameter_ref.
      	(get_ref_die_offset, parameter_ref_descriptor): New functions.
      	(mem_loc_descriptor): Handle DEBUG_PARAMETER_REF.
      	(gen_subprogram_die): Handle parameters identified by
      	DEBUG_PARAMETER_REF.
      
      	* dwarf2.h (enum dwarf_location_atom): Add DW_OP_GNU_parameter_ref.
      
      From-SVN: r175288
      Jakub Jelinek committed
  5. 20 Apr, 2011 1 commit
    • remove useless if-before-free tests · 04695783
      Change "if (E) free (E);" to "free (E);" everywhere except in the
      libgo/, intl/, zlib/ and classpath/ directories.
      Also transform equivalent variants like
      "if (E != NULL) free (E);" and allow an extra cast on the
      argument to free.  Otherwise, the tested and freed "E"
      expressions must be identical, modulo white space.
      
      From-SVN: r172785
      Jim Meyering committed
  6. 28 Dec, 2010 1 commit
    • Do not include unnecessary .h files. · 1bd6497c
      2010-12-28  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* Makefile.in (TREE_VECTORIZER_H): Removed duplicate definition.
      	(tree-browser.o): Update dependences.
      	(omega.o): Same.
      	(tree-chrec.o): Same.
      	(tree-scalar-evolution.o): Same.
      	(tree-data-ref.o): Same.
      	(sese.o): Same.
      	(graphite.o): Same.
      	(graphite-blocking.o): Same.
      	(graphite-clast-to-gimple.o): Same.
      	(graphite-cloog-util.o): Same.
      	(graphite-dependences.o): Same.
      	(graphite-flattening.o): Same.
      	(graphite-interchange.o): Same.
      	(graphite-poly.o): Same.
      	(graphite-ppl.o): Same.
      	(graphite-scop-detection.o): Same.
      	(graphite-sese-to-poly.o): Same.
      	(tree-loop-linear.o): Same.
      	(tree-loop-distribution.o): Same.
      	(tree-parloops.o): Same.
      	(lambda-mat.o): Same.
      	(lambda-trans.o): Same.
      	(lambda-code.o): Same.
      	* tree-browser.o: Do not include unnecessary .h files.
      	* omega.o: Same.
      	* tree-chrec.o: Same.
      	* tree-scalar-evolution.o: Same.
      	* tree-data-ref.o: Same.
      	* sese.o: Same.
      	* graphite.o: Same.
      	* graphite-blocking.o: Same.
      	* graphite-clast-to-gimple.o: Same.
      	* graphite-cloog-util.o: Same.
      	* graphite-dependences.o: Same.
      	* graphite-flattening.o: Same.
      	* graphite-interchange.o: Same.
      	* graphite-poly.o: Same.
      	* graphite-ppl.o: Same.
      	* graphite-scop-detection.o: Same.
      	* graphite-sese-to-poly.o: Same.
      	* tree-loop-linear.o: Same.
      	* tree-loop-distribution.o: Same.
      	* tree-parloops.o: Same.
      	* lambda-mat.o: Same.
      	* lambda-trans.o: Same.
      	* lambda-code.o: Same.
      	* graphite.h: Removed.
      
      From-SVN: r168296
      Sebastian Pop committed
  7. 15 Dec, 2010 1 commit
  8. 08 Dec, 2010 1 commit
    • Fix PR45230, PR45231, and PR45370: fold_stmt_inplace after replace_exp. · fd66ea1a
      2010-12-08  Richard Guenther  <rguenther@suse.de>
      	    Sebastian Pop  <sebastian.pop@amd.com>
      
      	PR tree-optimization/45230
      	PR tree-optimization/45231
      	PR tree-optimization/45370
      	* sese.c (rename_uses): Returns a bool.  Call
      	recompute_tree_invariant_for_addr_expr only on the RHS of a
      	GIMPLE_ASSIGN.
      	(graphite_copy_stmts_from_block): Call fold_stmt_inplace when
      	rename_uses returns true.
      	* tree-ssa-copy.c (replace_exp): Add a comment about calling
      	fold_stmt_inplace after replace_exp.
      
      	* gcc.dg/graphite/id-pr45230-1.c: New.
      	* gcc.dg/graphite/id-pr45231.c: New.
      	* gfortran.dg/graphite/id-pr45370.f90: New.
      
      Co-Authored-By: Sebastian Pop <sebastian.pop@amd.com>
      
      From-SVN: r167609
      Richard Guenther committed
  9. 01 Dec, 2010 2 commits
  10. 30 Nov, 2010 1 commit
    • diagnostic-core.h: Include bversion.h. · 7c475d11
      	* diagnostic-core.h: Include bversion.h.
      	* toplev.h: Don't include input.h or bversion.h.
      	(parse_optimize_options): Don't declare here.
      	* alias.c, auto-inc-dec.c, c-aux-info.c, c-convert.c, c-parser.c,
      	caller-save.c, cfg.c, cfganal.c, cfgbuild.c, cfgcleanup.c,
      	combine-stack-adj.c, config/arm/pe.c, config/darwin-c.c,
      	config/host-darwin.c, config/i386/host-cygwin.c,
      	config/i386/host-mingw32.c, config/i386/msformat-c.c,
      	config/i386/netware.c, config/i386/nwld.c,
      	config/i386/winnt-cxx.c, config/i386/winnt-stubs.c,
      	config/ia64/ia64-c.c, config/m32c/m32c-pragma.c,
      	config/mep/mep-pragma.c, config/microblaze/microblaze-c.c,
      	config/rs6000/host-darwin.c, config/rs6000/rs6000-c.c,
      	config/score/score3.c, config/score/score7.c,
      	config/sh/symbian-base.c, config/sh/symbian-c.c,
      	config/sh/symbian-cxx.c, config/sol2-c.c, config/sol2.c,
      	config/v850/v850-c.c, config/vxworks.c, convert.c, cppbuiltin.c,
      	cselib.c, dbgcnt.c, ddg.c, dfp.c, dominance.c, emit-rtl.c,
      	fixed-value.c, fwprop.c, ggc-common.c, gimple.c, gimplify.c,
      	graphite-blocking.c, graphite-clast-to-gimple.c,
      	graphite-dependences.c, graphite-flattening.c,
      	graphite-interchange.c, graphite-poly.c,
      	graphite-scop-detection.c, graphite.c, haifa-sched.c,
      	implicit-zee.c, integrate.c, ipa-pure-const.c, ipa-reference.c,
      	ira-build.c, ira-conflicts.c, ira-costs.c, ira-lives.c, jump.c,
      	lists.c, loop-doloop.c, loop-iv.c, lto-cgraph.c, lto-compress.c,
      	lto-opts.c, lto-section-in.c, lto-section-out.c,
      	lto-streamer-out.c, lto-symtab.c, modulo-sched.c, optabs.c,
      	params.c, postreload-gcse.c, postreload.c, predict.c, profile.c,
      	regcprop.c, reginfo.c, regmove.c, reorg.c, resource.c,
      	sched-deps.c, sched-ebb.c, sched-rgn.c, sdbout.c,
      	sel-sched-dump.c, sel-sched-ir.c, sese.c, stmt.c, targhooks.c,
      	tree-cfgcleanup.c, tree-mudflap.c, tree-nomudflap.c,
      	tree-object-size.c, tree-outof-ssa.c, tree-phinodes.c,
      	tree-profile.c, tree-sra.c, tree-ssa-ccp.c, tree-ssa-coalesce.c,
      	tree-ssa-live.c, tree-ssa-loop-prefetch.c, tree-ssa-loop.c,
      	tree-ssa-operands.c, tree-ssa-structalias.c, tree-ssa-uninit.c,
      	tree-vect-patterns.c, value-prof.c, var-tracking.c, web.c: Don't
      	include toplev.h.
      	* Makefile.in (TOPLEV_H): Remove.  All uses changed to use
      	toplev.h.  Dependencies for above files and c-family files changed
      	to remove $(TOPLEV_H) or toplev.h.
      	(C_TREE_H): Don't include $(TOPLEV_H).
      	(DIAGNOSTIC_CORE_H): Use $(INPUT_H) instead of input.h.  Add
      	bversion.h.
      	* config/arm/t-pe, config/arm/t-wince-pe, config/i386/t-cygming,
      	config/ia64/t-ia64, config/mep/t-mep, config/score/t-score-elf,
      	config/t-darwin, config/t-sol2,
      	config/t-vxworks, config/v850/t-v850, config/v850/t-v850e:
      	Dependencies for above files changed to remove $(TOPLEV_H) or
      	toplev.h.
      
      c-family:
      	* c-common.h (parse_optimize_options): Declare.
      	* c-cppbuiltin.c, c-format.c, c-gimplify.c, c-lex.c, c-omp.c,
      	c-pch.c, c-pragma.c, c-semantics.c: Don't include toplev.h.
      
      cp:
      	* cp-gimplify.c, cp-lang.c, cvt.c, cxx-pretty-print.c, error.c,
      	except.c, expr.c, friend.c, init.c, mangle.c, name-lookup.c,
      	optimize.c, parser.c, rtti.c, tree.c, typeck2.c: Don't include
      	toplev.h.
      	* Make-lang.in: Dependencies for above files changed to remove
      	toplev.h.
      
      java:
      	* expr.c, lang.c, mangle.c, mangle_name.c, typeck.c,
      	verify-glue.c: Don't include toplev.h.
      	* Make-lang.in: Dependencies for above files changed to remove
      	toplev.h.
      
      lto:
      	* Make-lang.in (lto/lto-object.o): Depend on toplev.h instead of
      	$(TOPLEV_H).
      
      From-SVN: r167293
      Joseph Myers committed
  11. 20 Aug, 2010 1 commit
    • vec.h (FOR_EACH_VEC_ELT): Define. · ac47786e
      gcc/
      	* vec.h (FOR_EACH_VEC_ELT): Define.
      	* c-decl.c: Use it.
      	* cfgloop.c: Likewise.
      	* cfgloopmanip.c: Likewise.
      	* cgraph.c: Likewise.
      	* cgraphunit.c: Likewise.
      	* combine.c: Likewise.
      	* config/bfin/bfin.c: Likewise.
      	* config/mips/mips.c: Likewise.
      	* config/rs6000/rs6000.c: Likewise.
      	* dbxout.c: Likewise.
      	* df-scan.c: Likewise.
      	* dominance.c: Likewise.
      	* dse.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* except.c: Likewise.
      	* expr.c: Likewise.
      	* function.c: Likewise.
      	* gcse.c: Likewise.
      	* genattr.c: Likewise.
      	* ggc-common.c: Likewise.
      	* gimplify.c: Likewise.
      	* graphite-blocking.c: Likewise.
      	* graphite-clast-to-gimple.c: Likewise.
      	* graphite-dependences.c: Likewise.
      	* graphite-interchange.c: Likewise.
      	* graphite-poly.c: Likewise.
      	* graphite-scop-detection.c: Likewise.
      	* graphite-sese-to-poly.c: Likewise.
      	* graphite.c: Likewise.
      	* haifa-sched.c: Likewise.
      	* ifcvt.c: Likewise.
      	* implicit-zee.c: Likewise.
      	* ipa-prop.c: Likewise.
      	* ipa-struct-reorg.c: Likewise.
      	* ipa.c: Likewise.
      	* ira-build.c: Likewise.
      	* ira-color.c: Likewise.
      	* ira-emit.c: Likewise.
      	* lambda-code.c: Likewise.
      	* loop-invariant.c: Likewise.
      	* loop-unroll.c: Likewise.
      	* lower-subreg.c: Likewise.
      	* lto-cgraph.c: Likewise.
      	* lto-opts.c: Likewise.
      	* lto-streamer-in.c: Likewise.
      	* lto-streamer-out.c: Likewise.
      	* lto-streamer.c: Likewise.
      	* lto-symtab.c: Likewise.
      	* matrix-reorg.c: Likewise.
      	* opts.c: Likewise.
      	* predict.c: Likewise.
      	* print-tree.c: Likewise.
      	* sdbout.c: Likewise.
      	* sel-sched-dump.c: Likewise.
      	* sel-sched-ir.c: Likewise.
      	* sel-sched.c: Likewise.
      	* sese.c: Likewise.
      	* stor-layout.c: Likewise.
      	* tree-cfg.c: Likewise.
      	* tree-cfgcleanup.c: Likewise.
      	* tree-chrec.c: Likewise.
      	* tree-data-ref.c: Likewise.
      	* tree-emutls.c: Likewise.
      	* tree-inline.c: Likewise.
      	* tree-into-ssa.c: Likewise.
      	* tree-loop-distribution.c: Likewise.
      	* tree-loop-linear.c: Likewise.
      	* tree-mudflap.c: Likewise.
      	* tree-outof-ssa.c: Likewise.
      	* tree-parloops.c: Likewise.
      	* tree-predcom.c: Likewise.
      	* tree-pretty-print.c: Likewise.
      	* tree-scalar-evolution.c: Likewise.
      	* tree-ssa-live.c: Likewise.
      	* tree-ssa-loop-im.c: Likewise.
      	* tree-ssa-loop-ivcanon.c: Likewise.
      	* tree-ssa-loop-ivopts.c: Likewise.
      	* tree-ssa-loop-manip.c: Likewise.
      	* tree-ssa-loop-niter.c: Likewise.
      	* tree-ssa-loop-prefetch.c: Likewise.
      	* tree-ssa-phiprop.c: Likewise.
      	* tree-ssa-pre.c: Likewise.
      	* tree-ssa-reassoc.c: Likewise.
      	* tree-ssa-sccvn.c: Likewise.
      	* tree-ssa-structalias.c: Likewise.
      	* tree-ssa.c: Likewise.
      	* tree-vect-data-refs.c: Likewise.
      	* tree-vect-loop-manip.c: Likewise.
      	* tree-vect-loop.c: Likewise.
      	* tree-vect-patterns.c: Likewise.
      	* tree-vect-slp.c: Likewise.
      	* tree-vect-stmts.c: Likewise.
      	* tree-vrp.c: Likewise.
      	* tree.c: Likewise.
      	* value-prof.c: Likewise.
      	* var-tracking.c: Likewise.
      	* varasm.c: Likewise.
      	* vmsdbgout.c: Likewise.
      
      gcc/ada/
      	* gcc-interface/decl.c: Use FOR_EACH_VEC_ELT.
      	* gcc-interface/trans.c: Likewise.
      	* gcc-interface/utils.c: Likewise.
      
      gcc/c-family/
      	* c-common.c: Use FOR_EACH_VEC_ELT.
      	* c-gimplify.c: Likewise.
      	* c-pragma.c: Likewise.
      
      gcc/cp/
      	* call.c: Use FOR_EACH_VEC_ELT.
      	* class.c: Likewise.
      	* decl.c: Likewise.
      	* decl2.c: Likewise.
      	* error.c: Likewise.
      	* except.c: Likewise.
      	* mangle.c: Likewise.
      	* method.c: Likewise.
      	* name-lookup.c: Likewise.
      	* parser.c: Likewise.
      	* pt.c: Likewise.
      	* repo.c: Likewise.
      	* semantics.c: Likewise.
      	* typeck2.c: Likewise.
      
      gcc/fortran/
      	* trans-openmp.c: Use FOR_EACH_VEC_ELT.
      
      gcc/java/
      	* class.c: Use FOR_EACH_VEC_ELT.
      	* expr.c: Likewise.
      	* jcf-parse.c: Likewise.
      	* resource.c: Likewise.
      
      gcc/lto/
      	* lto.c: Use FOR_EACH_VEC_ELT.
      
      From-SVN: r163401
      Nathan Froyd committed
  12. 11 Aug, 2010 8 commits
    • Propagate constant values or parametric expressions outside the scop region. · 1c2a7491
      2010-07-22  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-sese-to-poly.c (propagate_expr_outside_region): New.
      	(rewrite_close_phi_out_of_ssa): Propagate constant values or
      	parametric expressions outside the scop region.
      	(rewrite_cross_bb_scalar_deps): Same.
      	* sese.c (rename_uses): Use NULL_TREE instead of NULL for trees.
      
      	* gcc.dg/graphite/run-id-5.c: New.
      	* gcc.dg/graphite/run-id-6.c: New.
      	* gfortran.dg/graphite/id-21.f: New.
      
      From-SVN: r163157
      Sebastian Pop committed
    • Unshare the scev before code generating it. · 6f23dd91
      2010-07-15  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* sese.c (rename_uses): Call unshare_expr before force_gimple_operand.
      
      	* gcc.dg/graphite/id-23.c: New.
      
      From-SVN: r163149
      Sebastian Pop committed
    • Add testcase for PR42729 and fix handling of gimple_debug info. · a0dd1502
      2010-07-15  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* sese.c (rename_uses): Handl unconditionally gimple_debug statements.
      
      	* gcc.dg/graphite/pr42729.c: New.
      
      From-SVN: r163146
      Sebastian Pop committed
    • Remove expand_scalar_variables_ hack. · 2e286fd2
      2010-07-15  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-clast-to-gimple.c (debug_clast_name_index): Removed.
      	(debug_clast_name_indexes_1): Removed.
      	(debug_clast_name_indexes): Removed.
      	(pbb_to_depth_to_oldiv): Removed.
      	(build_iv_mapping): Replace the use of rename_map with iv_map.
      	(translate_clast_user): Remove uses of rename_map.  Allocate and
      	free iv_map.
      	(translate_clast_for_loop): Remove uses of rename_map.
      	(translate_clast_for): Same.
      	(translate_clast_guard): Same.
      	(translate_clast): Same.
      	(gloog): Same.
      	* graphite-clast-to-gimple.h (debug_clast_name_indexes): Removed.
      	* graphite-sese-to-poly.c (scev_analyzable_p): Moved...
      	* sese.c (set_rename): Now static.
      	(rename_variables_in_stmt): Removed.
      	(rename_uses): New.
      	(is_parameter): Removed.
      	(is_iv): Removed.
      	(expand_scalar_variables_call): Removed.
      	(expand_scalar_variables_ssa_name): Removed.
      	(expand_scalar_variables_expr): Removed.
      	(expand_scalar_variables_stmt): Removed.
      	(expand_scalar_variables): Removed.
      	(rename_variables): Removed.
      	(remove_condition): Removed.
      	(get_true_edge_from_guard_bb): Removed.
      	(get_false_edge_from_guard_bb): Removed.
      	(struct igp): Removed.
      	(default_before_guard): Removed.
      	(convert_for_phi_arg): Removed.
      	(add_guard_exit_phis): Removed.
      	(insert_guard_phis): Removed.
      	(graphite_copy_stmts_from_block): Now also uses iv_map and a
      	region.  Do not copy conditions.  Do not copy induction variables.
      	Call rename_uses.
      	(copy_bb_and_scalar_dependences): Allocate a local rename_map for
      	the translated statement.  Use the iv_map for the induction
      	variable renaming.
      	* sese.h (copy_bb_and_scalar_dependences): Update declaration.
      	(set_rename): Removed declaration.
      	(scev_analyzable_p): ...here.
      	* tree-chrec.c (chrec_apply_map): New.
      	* tree-chrec.h (chrec_apply_map): Declared.
      
      From-SVN: r163139
      Sebastian Pop committed
    • Remove insert_loop_close_phis. · e11d25e0
      2010-07-15  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-clast-to-gimple.c (translate_clast_for_loop): Do not call
      	insert_loop_close_phis.
      	* sese.c (name_defined_in_loop_p): Removed.
      	(expr_defined_in_loop_p): Removed.
      	(alive_after_loop): Removed.
      	(close_phi_not_yet_inserted_p): Removed.
      	(struct alep): Removed.
      	(add_loop_exit_phis): Removed.
      	(insert_loop_close_phis): Removed.
      
      From-SVN: r163138
      Sebastian Pop committed
    • Replace map with rename_map. · 32e68db9
      2010-06-24  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-clast-to-gimple.c (build_iv_mapping): Rename map with
      	rename_map.
      	* sese.c (debug_rename_map): Same.
      	(get_rename): Same.
      	(set_rename): Same.
      	(rename_variables_in_stmt): Same.
      	(expand_scalar_variables_call): Same.
      	(expand_scalar_variables_ssa_name): Same.
      	(expand_scalar_variables_expr): Same.
      	(expand_scalar_variables_stmt): Same.
      	(expand_scalar_variables): Same.
      	(rename_variables): Same.
      	(graphite_copy_stmts_from_block): Same.
      	(copy_bb_and_scalar_dependences): Same.
      
      From-SVN: r163128
      Sebastian Pop committed
    • Remove rename_nb_iterations and rename_sese_parameters · 14d0e129
      2010-06-12  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-clast-to-gimple.c (gloog): Do not pass scops in parameter.
      	Remove calls to rename_nb_iterations and rename_sese_parameters.
      	* graphite-clast-to-gimple.h (gloog): Update declaration.
      	* graphite.c (graphite_transform_loops): Update call to gloog.
      	* sese.c (rename_variables_in_expr): Removed.
      	(rename_nb_iterations): Removed.
      	(rename_sese_parameters): Removed.
      	* sese.h (rename_nb_iterations): Removed.
      	(rename_sese_parameters): Removed.
      
      From-SVN: r163119
      Sebastian Pop committed
    • Also rewrite out of SSA scalar dependences going outside the SCoP region. · d1ba0721
      2010-06-12  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-clast-to-gimple.c (gloog): Remove call to
      	sese_adjust_liveout_phis.
      	* graphite-sese-to-poly.c (scev_analyzable_p): When scev returns an
      	SSA_NAME, allow it to be handled by rewrite_cross_bb_scalar_deps.
      	(rewrite_cross_bb_scalar_deps): Handle GIMPLE_PHI nodes: call
      	rewrite_phi_out_of_ssa.
      	* sese.c (get_vdef_before_sese): Removed.
      	(sese_adjust_vphi): Removed.
      	(sese_adjust_liveout_phis): Removed.
      	* sese.h (sese_adjust_liveout_phis): Removed.
      
      From-SVN: r163118
      Sebastian Pop committed
  13. 08 Jun, 2010 1 commit
    • utils.c (init_gnat_to_gnu): Use typed GC allocation. · a9429e29
      gcc/ada:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* gcc-interface/utils.c (init_gnat_to_gnu): Use typed GC
      	allocation.
      	(init_dummy_type): Likewise.
      	(gnat_pushlevel): Likewise.
      
      	* gcc-interface/trans.c (Attribute_to_gnu): Likewise.
      	(Subprogram_Body_to_gnu): Likewise.
      	(Compilation_Unit_to_gnu): Likewise.
      	(start_stmt_group): Likewise.
      	(extract_encoding): Likewise.
      	(decode_name): Likewise.
      
      	* gcc-interface/misc.c (gnat_printable_name): Likewise.
      
      	* gcc-interface/decl.c (annotate_value): Likewise.
      
      	* gcc-interface/ada-tree.h (struct lang_type): Add variable_size
      	GTY option.
      	(struct lang_decl): Likewise.
      	(SET_TYPE_LANG_SPECIFIC): Use typed GC allocation.
      	(SET_DECL_LANG_SPECIFIC): Likewise.
      
      gcc/c-family:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* c-pragma.c (push_alignment): Use typed GC allocation.
      	(handle_pragma_push_options): Likewise.
      
      	* c-common.c (parse_optimize_options): Likewise.
      
      	* c-common.h (struct sorted_fields_type): Add variable_size GTY
      	option.
      
      gcc/cp:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* typeck2.c (abstract_virtuals_error): Likewise.
      
      	* pt.c (maybe_process_partial_specialization): Likewise.
      	(register_specialization): Likewise.
      	(add_pending_template): Likewise.
      	(lookup_template_class): Likewise.
      	(push_tinst_level): Likewise.
      
      	* parser.c (cp_lexer_new_main): Likewise.
      	(cp_lexer_new_from_tokens): Likewise.
      	(cp_token_cache_new): Likewise.
      	(cp_parser_context_new): Likewise.
      	(cp_parser_new): Likewise.
      	(cp_parser_nested_name_specifier_opt): Likewise.
      	(cp_parser_template_id): Likewise.
      
      	* name-lookup.c (binding_entry_make): Likewise.
      	(binding_table_construct): Likewise.
      	(binding_table_new): Likewise.
      	(cxx_binding_make): Likewise.
      	(pushdecl_maybe_friend): Likewise.
      	(begin_scope): Likewise.
      	(push_to_top_level): Likewise.
      
      	* lex.c (init_reswords): Likewise.
      	(retrofit_lang_decl): Likewise.
      	(cxx_dup_lang_specific_decl): Likewise.
      	(copy_lang_type): Likewise.
      	(cxx_make_type): Likewise.
      
      	* decl.c (make_label_decl): Likewise.
      	(check_goto): Likewise.
      	(start_preparsed_function): Likewise.
      	(save_function_data): Likewise.
      
      	* cp-tree.h (TYPE_SET_PTRMEMFUNC_TYPE): Likewise.
      
      	* cp-objcp-common.c (decl_shadowed_for_var_insert): Likewise.
      
      	* class.c (finish_struct_1): Likewise.
      
      	* cp-tree.h (struct lang_type): Add variable_size GTY option.
      	(struct lang_decl): Likewise.
      
      	* parser.c (cp_parser_new): Update comment to not reference
      	ggc_alloc.
      
      gcc/fortran:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* trans-types.c (gfc_get_nodesc_array_type): Use typed GC
      	allocation.
      	(gfc_get_array_type_bounds): Likewise.
      
      	* trans-decl.c (gfc_allocate_lang_decl): Likewise.
      	(gfc_find_module): Likewise.
      
      	* f95-lang.c (pushlevel): Likewise.
      
      	* trans.h (struct lang_type): Add variable_size GTY option.
      	(struct lang_decl): Likewise.
      
      gcc/java:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* jcf-reader.c (jcf_parse_constant_pool): Use typed GC allocation.
      
      	* jcf-parse.c (java_parse_file): Likewise.
      	(process_zip_dir): Likewise.
      
      	* java-tree.h (MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC): Likewise.
      	(MAYBE_CREATE_TYPE_TYPE_LANG_SPECIFIC): Likewise.
      
      	* expr.c (add_type_assertion): Likewise.
      
      	* decl.c (make_binding_level): Likewise.
      	(java_dup_lang_specific_decl): Likewise.
      
      	* constants.c (set_constant_entry): Likewise.
      	(cpool_for_class): Likewise.
      
      	* class.c (add_method_1): Likewise.
      	(java_treetreehash_new): Likewise.
      
      	* java-tree.h (struct lang_type): Add variable_size GTY option.
      	(struct lang_decl): Likewise.
      
      	* jch.h (struct cpool_entry): Likewise.
      
      	* java-tree.h (java_treetreehash_create): Remove parameter ggc.
      
      	* except.c (prepare_eh_table_type): Update
      	java_treetreehash_create call.
      
      	* class.c (add_method_1): Update java_treetreehash_create call.
      	(java_treetreehash_create): Remove parameter gc.  Use
      	htab_create_ggc.
      
      gcc/lto:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* lto.c (lto_read_in_decl_state): Use typed GC allocation.
      	(lto_file_read): Likewise.
      	(new_partition): Likewise.
      	(read_cgraph_and_symbols): Likewise.
      
      gcc/objc:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* objc-act.h (ALLOC_OBJC_TYPE_LANG_SPECIFIC): Use typed GC
      	allocation.
      
      	* objc-act.c (objc_volatilize_decl): Likewise.
      	(objc_build_string_object): Likewise.
      	(hash_init): Likewise.
      	(hash_enter): Likewise.
      	(hash_add_attr): Likewise.
      	(add_class): Likewise.
      	(start_class): Likewise.
      
      gcc/objcp:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* objcp-decl.h (ALLOC_OBJC_TYPE_LANG_SPECIFIC): Use typed GC
      	allocation.
      
      gcc:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* doc/tm.texi (Per-Function Data): Do not reference ggc_alloc.
      
      	* doc/gty.texi (GTY Options): Document typed GC allocation and
      	variable_size GTY option.
      
      	* ggc-internal.h: New.
      
      	* ggc.h: Update copyright year.
      	(digit_string): Move to stringpool.c.
      	(ggc_mark_stringpool, ggc_purge_stringpool, ggc_mark_roots)
      	(gt_pch_save_stringpool, gt_pch_fixup_stringpool)
      	(gt_pach_restore_stringpool, gt_pch_p_S, gt_pch_note_object)
      	(init_ggc_pch, ggc_pch_count_object, ggc_pch_total_size)
      	(ggc_pch_this_base, ggc_pch_alloc_object, ggc_pch_prepare_write)
      	(ggc_pch_write_object, ggc_pch_finish, ggc_pch_read)
      	(ggc_force_collect, ggc_get_size, ggc_statistics)
      	(ggc_print_common_statistics): Move to ggc-internal.h.
      	(digit_vector, new_ggc_zone, destroy_ggc_zone, ggc_alloc_stat)
      	(ggc_alloc, ggc_alloc_cleared, ggc_realloc, ggc_calloc, GGC_NEW)
      	(GGC_CNEW, GGC_NEWVEC, GGC_CNEWVEC, GGC_NEWVAR, ggc_alloc_rtvec)
      	(ggc_alloc_tree, gt_pch_save, ggc_min_expand_heuristic)
      	(ggc_min_heapsize_heuristic, ggc_alloc_zone)
      	(ggc_alloc_zone_pass_stat): Remove.
      	(ggc_internal_alloc_stat, ggc_internal_alloc)
      	(ggc_internal_cleared_alloc_stat): New.
      	(GGC_RESIZEVEC, GGC_RESIZEVAR): Redefine.
      	(ggc_internal_vec_alloc_stat)
      	(ggc_internal_cleared_vec_alloc_stat)
      	(ggc_internal_vec_alloc_stat, ggc_internal_cleared_vec_alloc)
      	(ggc_alloc_atomic_stat, ggc_alloc_atomic)
      	(ggc_alloc_cleared_atomic, ggc_cleared_alloc_htab_ignore_args)
      	(ggc_cleared_alloc_ptr_array_two_args): New.
      	(htab_create_ggc, splay_tree_new_ggc): Redefine.
      	(ggc_splay_alloc): Change the type of the first argument to
      	enum gt_types_enum.
      	(ggc_alloc_string): Make macro.
      	(ggc_alloc_string_stat): New.
      	(ggc_strdup): Redefine.
      	(rtl_zone, tree_zone, tree_id_zone): Declare unconditionally.
      	(ggc_alloc_rtvec_sized): New.
      	(ggc_alloc_zone_stat): Rename to ggc_internal_alloc_zone_stat.
      	(ggc_internal_alloc_zone_pass_stat, ggc_internal_alloc_zone_stat)
      	(ggc_internal_cleared_alloc_zone_stat)
      	(ggc_internal_zone_alloc_stat)
      	(ggc_internal_zone_cleared_alloc_stat)
      	(ggc_internal_zone_vec_alloc_stat)
      	(ggc_alloc_zone_rtx_def_stat)
      	(ggc_alloc_zone_tree_node_stat)
      	(ggc_alloc_zone_cleared_tree_node_stat)
      	(ggc_alloc_cleared_gimple_statement_d_stat): New.
      
      	* ggc-common.c: Include ggc-internal.h.
      	(ggc_internal_cleared_alloc_stat): Rename from
      	ggc_alloc_cleared_stat.
      	(ggc_realloc_stat): Use ggc_internal_alloc_stat.
      	(ggc_calloc): Remove.
      	(ggc_cleared_alloc_htab_ignore_args): New.
      	(ggc_cleared_alloc_ptr_array_two_args): New.
      	(ggc_splay_alloc): Add obj_type parameter.
      	(init_ggc_heuristics): Formatting fixes.
      
      	* ggc-none.c: Update copyright year.
      	(ggc_alloc_stat): Rename to ggc_alloc_stat.
      	(ggc_alloc_cleared_stat): Rename to
      	ggc_internal_cleared_alloc_stat.
      	(struct alloc_zone, rtl_zone, tree_zone, tree_id_zone): New.
      
      	* ggc-page.c: Update copyright year.  Include ggc-internal.h.
      	Remove references to ggc_alloc in comments.
      	(ggc_alloc_typed_stat): Call ggc_internal_alloc_stat.
      	(ggc_alloc_stat): Rename to ggc_internal_alloc_stat.
      	(new_ggc_zone, destroy_ggc_zone): Remove.
      	(struct alloc_zone, rtl_zone, tree_zone, tree_id_zone): New.
      
      	* ggc-zone.c: Include ggc-internal.h.  Remove references to
      	ggc_alloc in comments.
      	(ggc_alloc_zone_stat): ggc_internal_alloc_zone_stat.
      	(ggc_internal_alloc_zone_pass_stat): New.
      	(ggc_internal_cleared_alloc_zone_stat): New.
      	(ggc_alloc_typed_stat): Use ggc_internal_alloc_zone_pass_stat.
      	(ggc_alloc_stat): Rename ggc_internal_alloc_stat.
      	(new_ggc_zone, destroy_ggc_zone): Remove.
      
      	* stringpool.c: Update copyright year.  Include ggc-internal.h
      	(digit_vector): Make static.
      	(digit_string): Moved from ggc.h.
      	(stringpool_ggc_alloc): Use ggc_alloc_atomic.
      	(ggc_alloc_string): Rename to ggc_alloc_string_stat.
      
      	* Makefile.in (GGC_INTERNAL_H): New.
      	(ggc_common.o, ggc-page.o, ggc-zone.o, stringpool.o): Add
      	$(GGC_INTERNAL_H) to dependencies.
      
      	* gentype.c: Update copyright year.
      	(walk_type): Accept variable_size GTY option.
      	(USED_BY_TYPED_GC_P): New macro.
      	(write_enum_defn): Use USED_BY_TYPED_GC_P.  Do not output
      	whitespace at the end of strings.
      	(get_type_specifier, variable_size_p): New functions.
      	(alloc_quantity, alloc_zone): New enums.
      	(write_typed_alloc_def): New function.
      	(write_typed_struct_alloc_def): Likewise.
      	(write_typed_typed_typedef_alloc_def): Likewise.
      	(write_typed_alloc_defns): Likewise.
      	(output_typename, write_splay_tree_allocator_def): Likewise.
      	(write_splay_tree_allocators): Likewise.
      	(main): Call write_typed_alloc_defns and
      	write_splay_tree_allocators.
      
      	* lto-streamer.h (lto_file_decl_data_ptr): New.
      
      	* passes.c (order): Define using cgraph_node_ptr.
      
      	* strinpool.c (struct string_pool_data): Declare nested_ptr using
      	ht_identifier_ptr.
      
      	* gimple.h (union gimple_statement_d): Likewise.
      
      	* rtl.h (struct rtx_def): Likewise.
      	(struct rtvec_def): Likewise.
      
      	* tree.h (union tree_node): Likewise.
      
      	* tree-ssa-operands.h (struct ssa_operand_memory_d): Likewise.
      
      	* cfgloop.c (record_loop_exits): Use htab_create_ggc.
      
      	* tree-scalar-evolution.c (scev_initialize): Likewise.
      
      	* alias.c (record_alias_subset): Update splay_tree_new_ggc call.
      
      	* dwarf2asm.c (dw2_force_const_mem): Likewise.
      
      	* omp-low.c (lower_omp_critical): Likewise.
      
      	* bitmap.h (struct bitmap_head_def): Update comment to not
      	reference ggc_alloc.
      
      	* config/pa/pa.c (get_deferred_label): Use GGC_RESIZEVEC.
      
      	* ira.c (fix_reg_equiv_init): Use GGC_RESIZEVEC.
      
      	* ipa-prop.c (duplicate_ggc_array): Rename to
      	duplicate_ipa_jump_func_array.  Use typed GC allocation.
      	(ipa_edge_duplication_hook): Call duplicate_ipa_jump_func_array.
      
      	* gimple.c (gimple_alloc_stat): Use
      	ggc_alloc_cleared_gimple_statement_d_stat.
      
      	* varasm.c (create_block_symbol): Use ggc_alloc_zone_rtx_def.
      
      	* tree.c (make_node_stat): Use
      	ggc_alloc_zone_cleared_tree_node_stat.
      	(make_tree_vec_stat): Likewise.
      	(build_vl_exp_stat): Likewise.
      	(copy_node_stat): Use ggc_alloc_zone_tree_node_stat.
      	(make_tree_binfo_stat): Likewise.
      	(tree_cons_stat): Likewise.
      
      	* rtl.c (rtx_alloc_stat): Use ggc_alloc_zone_rtx_def_stat.
      	(shallow_copy_rtx_stat): Likewise.
      	(make_node_stat): Likewise.
      
      	* lto-symtab.c: Fix comment.
      
      	* tree-cfg.c (create_bb): Update comment to not reference
      	ggc_alloc_cleared.
      	* tree-ssa-structalias.c (struct heapvar_for_stmt): Fix param_is
      	value.
      
      	* varpool.c (varpool_node): Use typed GC allocation.
      	(varpool_extra_name_alias): Likewise.
      
      	* varasm.c (emutls_decl): Likewise.
      	(get_unnamed_section): Likewise.
      	(get_noswitch_section): Likewise.
      	(get_section): Likewise.
      	(get_block_for_section): Likewise.
      	(build_constant_desc): Likewise.
      	(create_constant_pool): Likewise.
      	(force_const_mem): Likewise.
      
      	* tree.c (build_vl_exp_stat): Likewise.
      	(build_real): Likewise.
      	(build_string): Likewise.
      	(decl_debug_expr_insert): Likewise.
      	(decl_value_expr_insert): Likewise.
      	(type_hash_add): Likewise.
      	(build_omp_clause): Likewise.
      
      	* tree-ssanames.c (duplicate_ssa_name_ptr_info): Likewise.
      
      	* tree-ssa.c (init_tree_ssa): Likewise.
      
      	* tree-ssa-structalias.c (heapvar_insert): Likewise.
      
      	* tree-ssa-operands.c (ssa_operand_alloc): Likewise.
      
      	* tree-ssa-loop-niter.c (record_estimate): Likewise.
      
      	* tree-ssa-alias.c (get_ptr_info): Likewise.
      
      	* tree-scalar-evolution.c (new_scev_info_str): Likewise.
      
      	* tree-phinodes.c (allocate_phi_node): Likewise.
      
      	* tree-iterator.c (tsi_link_before): Likewise.
      	(tsi_link_after): Likewise.
      
      	* tree-eh.c (add_stmt_to_eh_lp_fn): Likewise.
      
      	* tree-dfa.c (create_var_ann): Likewise.
      
      	* tree-cfg.c (create_bb): Likewise.
      
      	* toplev.c (alloc_for_identifier_to_locale): Likewise.
      	(general_init): Likewise.
      
      	* stringpool.c (stringpool_ggc_alloc): Likewise.
      	(gt_pch_save_stringpool): Likewise.
      
      	* sese.c (if_region_set_false_region): Likewise.
      
      	* passes.c (do_per_function_toporder): Likewise.
      
      	* optabs.c (set_optab_libfunc): Likewise.
      	(set_conv_libfunc): Likewise.
      
      	* lto-symtab.c (lto_symtab_register_decl): Likewise.
      
      	* lto-streamer-in.c (lto_input_eh_catch_list): Likewise.
      	(input_eh_region): Likewise.
      	(input_eh_lp): Likewise.
      	(make_new_block): Likewise.
      	(unpack_ts_real_cst_value_fields): Likewise.
      
      	* lto-section-in.c (lto_new_in_decl_state): Likewise.
      
      	* lto-cgraph.c (input_node_opt_summary): Likewise.
      
      	* loop-init.c (loop_optimizer_init): Likewise.
      
      	* lambda.h (lambda_vector_new): Likewise.
      
      	* lambda-code.c (replace_uses_equiv_to_x_with_y): Likewise.
      
      	* ira.c (update_equiv_regs): Likewise.
      
      	* ipa.c (cgraph_node_set_new): Likewise.
      	(cgraph_node_set_add): Likewise.
      	(varpool_node_set_new): Likewise.
      	(varpool_node_set_add): Likewise.
      
      	* ipa-prop.c (ipa_compute_jump_functions_for_edge): Likewise.
      	(duplicate_ipa_jump_func_array): Likewise.
      	(ipa_read_node_info): Likewise.
      
      	* ipa-cp.c (ipcp_create_replace_map): Likewise.
      
      	* integrate.c (get_hard_reg_initial_val): Likewise.
      
      	* gimple.c (gimple_alloc_stat): Likewise.
      	(gimple_build_omp_for): Likewise.
      	(gimple_seq_alloc): Likewise.
      	(gimple_copy): Likewise.
      
      	* gimple-iterator.c (gsi_insert_before_without_update): Likewise.
      	(gsi_insert_after_without_update): Likewise.
      
      	* function.c (add_frame_space): Likewise.
      	(insert_temp_slot_address): Likewise.
      	(assign_stack_temp_for_type): Likewise.
      	(allocate_struct_function): Likewise.
      	(types_used_by_var_decl_insert): Likewise.
      
      	* except.c (init_eh_for_function): Likewise.
      	(gen_eh_region): Likewise.
      	(gen_eh_region_catch): Likewise.
      	(gen_eh_landing_pad): Likewise.
      	(add_call_site): Likewise.
      
      	* emit-rtl.c (get_mem_attrs): Likewise.
      	(get_reg_attrs): Likewise.
      	(start_sequence): Likewise.
      	(init_emit): Likewise.
      
      	* dwarf2out.c (new_cfi): Likewise.
      	(queue_reg_save): Likewise.
      	(dwarf2out_frame_init): Likewise.
      	(new_loc_descr): Likewise.
      	(find_AT_string): Likewise.
      	(new_die): Likewise.
      	(add_var_loc_to_decl): Likewise.
      	(clone_die): Likewise.
      	(clone_as_declaration): Likewise.
      	(break_out_comdat_types): Likewise.
      	(new_loc_list): Likewise.
      	(loc_descriptor): Likewise.
      	(add_loc_descr_to_each): Likewise.
      	(add_const_value_attribute): Likewise.
      	(tree_add_const_value_attribute): Likewise.
      	(add_comp_dir_attribute): Likewise.
      	(add_name_and_src_coords_attributes): Likewise.
      	(lookup_filename): Likewise.
      	(store_vcall_insn): Likewise.
      	(dwarf2out_init): Likewise.
      
      	* dbxout.c (dbxout_init): Likewise.
      
      	* config/xtensa/xtensa.c (xtensa_init_machine_status): Likewise.
      
      	* config/sparc/sparc.c (sparc_init_machine_status): Likewise.
      
      	* config/score/score7.c (score7_output_external): Likewise.
      
      	* config/score/score3.c (score3_output_external): Likewise.
      
      	* config/s390/s390.c (s390_init_machine_status): Likewise.
      
      	* config/rs6000/rs6000.c (builtin_function_type): Likewise.
      	(rs6000_init_machine_status): Likewise.
      	(output_toc): Likewise.
      
      	* config/pa/pa.c (pa_init_machine_status): Likewise.
      	(get_deferred_plabel): Likewise.
      
      	* config/moxie/moxie.c (moxie_init_machine_status): Likewise.
      
      	* config/mmix/mmix.c (mmix_init_machine_status): Likewise.
      
      	* config/mips/mips.c (mflip_mips16_use_mips16_p): Likewise.
      
      	* config/mep/mep.c (mep_init_machine_status): Likewise.
      	(mep_note_pragma_flag): Likewise.
      
      	* config/m32c/m32c.c (m32c_init_machine_status): Likewise.
      
      	* config/iq2000/iq2000.c (iq2000_init_machine_status): Likewise.
      
      	* config/ia64/ia64.c (ia64_init_machine_status): Likewise.
      
      	* config/i386/winnt.c (i386_pe_record_external_function): Likewise.
      	(i386_pe_maybe_record_exported_symbol): Likewise.
      
      	* config/i386/i386.c (get_dllimport_decl): Likewise.
      	(ix86_init_machine_status): Likewise.
      	(assign_386_stack_local): Likewise.
      
      	* config/frv/frv.c (frv_init_machine_status): Likewise.
      
      	* config/darwin.c (machopic_indirection_name): Likewise.
      
      	* config/cris/cris.c (cris_init_machine_status): Likewise.
      
      	* config/bfin/bfin.c (bfin_init_machine_status): Likewise.
      
      	* config/avr/avr.c (avr_init_machine_status): Likewise.
      
      	* config/arm/arm.c (arm_init_machine_status): Likewise.
      
      	* config/alpha/alpha.c (alpha_init_machine_status): Likewise.
      	(alpha_need_linkage): Likewise.
      	(alpha_use_linkage): Likewise.
      
      	* cgraph.c (cgraph_allocate_node): Likewise.
      	(cgraph_create_edge_1): Likewise.
      	(cgraph_create_indirect_edge): Likewise.
      	(cgraph_add_asm_node): Likewise.
      
      	* cfgrtl.c (init_rtl_bb_info): Likewise.
      
      	* cfgloop.c (alloc_loop): Likewise.
      	(rescan_loop_exit): Likewise.
      
      	* cfg.c (init_flow): Likewise.
      	(alloc_block): Likewise.
      	(unchecked_make_edge): Likewise.
      
      	* c-parser.c (c_parse_init): Likewise.
      	(c_parse_file): Likewise.
      
      	* c-decl.c (bind): Likewise.
      	(record_inline_static): Likewise.
      	(push_scope): Likewise.
      	(make_label): Likewise.
      	(lookup_label_for_goto): Likewise.
      	(finish_struct): Likewise.
      	(finish_enum): Likewise.
      	(c_push_function_context): Likewise.
      
      	* bitmap.c (bitmap_element_allocate): Likewise.
      	(bitmap_gc_alloc_stat): Likewise.
      
      	* alias.c (record_alias_subset): Likewise.
      	(init_alias_analysis): Likewise.
      
      include:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* splay-tree.h: Update copyright years.
      	(splay_tree_s): Document fields.
      	(splay_tree_new_typed_alloc): New.
      
      	* hashtab.h: Update copyright years.
      	(htab_create_typed_alloc): New.
      
      libcpp:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* include/symtab.h (ht_identifier_ptr): New.
      
      libiberty:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* splay-tree.c: Update copyright years.
      	(splay_tree_new_typed_alloc): New.
      	(splay_tree_new_with_allocator): Use it.
      
      	* hashtab.c: Update copyright years.
      	(htab_create_typed_alloc): New.
      	(htab_create_alloc): Use it.
      
      	* functions.texi: Regenerate.
      
      From-SVN: r160425
      Laurynas Biveinis committed
  14. 29 May, 2010 1 commit
    • tree-vrp.c (debug_value_range, [...]): Annotate with DEBUG_FUNCTION. · 24e47c76
      	* tree-vrp.c (debug_value_range, debug_all_value_ranges,
      	debug_asserts_for, debug_all_asserts): Annotate with DEBUG_FUNCTION.
      	* tree-into-ssa.c (debug_decl_set, debug_defs_stack, debug_currdefs,
      	debug_tree_ssa, debug_tree_ssa_stats, debug_def_blocks,
      	debug_names_replaced_by, debug_update_ssa): Likewise.	
      	* sbitmap.c (debug_sbitmap): Likewise.
      	* genrecog.c (debug_decision, debug_decision_list): Likewise.
      	* tree-pretty-print.c (debug_generic_expr, debug_generic_stmt,
      	debug_tree_chain): Likewise.
      	* tree-loop-distribution.c (debug_rdg_partitions): Likewise.
      	* cgraph.c (debug_cgraph_node, debug_cgraph): Likewise.
      	* optabs.c  (debug_optab_libfuncs): Likewise.
      	(verify_loop_closed_ssa): Likewise.
      	* value-prof.c (verify_histograms): Likewise.
      	* reload.c (debug_reload_to_stream, debug_reload): Likewise.
      	* bitmap.c (debug_bitmap_file, debug_bitmap, bitmap_print): Likewise.
      	* cfghooks.c (verify_flow_info): Likewise.
      	* fold-const.c (debug_fold_checksum): Likewise.
      	* omp-low.c (debug_omp_region, debug_all_omp_regions): Likewise.
      	* cfg.c (debug_regset, debug_flow_info, debug_bb, debug_bb_n):
      	Likewise.
      	* omega.c (debug_omega_problem): Likewise.
      	* cgraphunit.c (verify_cgraph_node, verify_cgraph): Likewise.
      	* tree-ssa-ccp.c (debug_lattice_value): Likewise.
      	* dominance.c (verify_dominators, debug_dominance_info,
      	debug_dominance_tree): Likewise.
      	* df-core.c (df_insn_uid_debug, df_insn_debug, df_insn_debug_regno,
      	* df_regno_debug, df_ref_debug,
      	debug_df_insn, debug_df_reg, debug_df_regno, debug_df_ref,
      	debug_df_defno, debug_df_useno, debug_df_chain): Likewise.
      	* tree-ssa-dom.c (debug_dominator_optimization_stats): Likewise.
      	* sel-sched.c (debug_state): Likewise.
      	* tree-ssa-alias.c (debug_alias_info, debug_points_to_info_for): Likewise.
      	* cfganal.c (print_edge_list, verify_edge_list): Likewise.
      	* dwarf2out.c (debug_dwarf_die, debug_dwarf): Likewise.
      	* tree-eh.c (verify_eh_edges, verify_eh_dispatch_edge): Likewise.
      	* gimple-pretty-print.c (debug_gimple_stmt, debug_gimple_seq): Likewise.
      	* c-pretty-print.c (debug_c_tree): Likewise.
      	* sel-sched-dump.c (debug_insn_rtx, debug_vinsn, debug_expr, debug_insn
      	debug_av_set, debug_lv_set, debug_ilist, debug_blist, debug_insn_vector,
      	debug_hard_reg_set, debug_mem_addr_value): Likewise.
      	* ebitmap.c (debug_ebitmap): Likewise.
      	* function.c (debug_find_var_in_block_tree): Likewise.
      	* print-rtl.c (debug_rtx): Likewise.
      	(debug_rtx_count): Likewise.
      	(debug_rtx_list, debug_rtx_range, debug_rtx_find): Likewise.
      	* stor-layout.c (debug_rli): Likewise.
      	* ipa.c (debug_cgraph_node_set, debug_varpool_node_set): Likewise.
      	* tree-data-ref.c (debug_data_references, debug_data_dependence_relations,
      	debug_data_reference, debug_data_dependence_relation, debug_rdg_vertex,
      	debug_rdg_component, debug_rdg): Likewise.
      	* tree-affine.c (debug_aff): Likewise.
      	* tree-dfa.c (debug_referenced_vars, debug_variable, debug_dfa_stats): Likewise.
      	* except.c (debug_eh_tree, verify_eh_tree): Likewise.
      	* emit-rtl.c (verify_rtl_sharing): Likewise.
      	* tree-ssa-pre.c (debug_pre_expr, debug_bitmap_set,
      	debug_value_expressions): Likewise.
      	* tree-ssa-live.c (debug_scope_block, debug_scope_blocks): Likewise.
      	* sese.c (debug_rename_map, debug_ivtype_map): Likewise.
      	* print-tree.c (debug_tree, debug_vec_tree): Likewise.
      	* cfglayout.c (verify_insn_chain): Likewise.
      	* graphite-clast-to-gimple.c (debug_clast_name_indexes,
      	debug_clast_stmt, debug_generated_program): Likewise.
      	* ggc-page.c (debug_print_page_list): Likewise.
      	* tree-ssa-ter.c (debug_ter): Likewise.
      	* graphite-dependences.c (debug_pddr): Likewise.
      	* sched-deps.c (debug_ds): Likewise.
      	* tree-ssa.c (verify_ssa): Likewise.
      	* graphite-poly.c (debug_scattering_function, debug_iteration_domain,
      	debug_scattering_functions, debug_iteration_domains, debug_pdr,
      	debug_pdrs, debug_pbb_domain, debug_pbb, debug_scop_context, debug_scop,
      	debug_cloog, debug_scop_params, debug_lst): Likewise.
      	* tree-inline.c (debug_find_tree): Likewise.
      	* graphite-ppl.c (debug_ppl_linear_expr, debug_ppl_polyhedron_matrix,
      	debug_ppl_powerset_matrix): Likewise.
      	* var-tracking.c (debug_dv): Likewise.
      	* system.h (DEBUG_FUNCTION, DEBUG_VARIABLE): Define.
      	* cfgloop.c (verify_loop_structure): Likewise.
      	* plugin.c (dump_active_plugins, debug_active_plugins): Likewise.
      	* c-common.c (verify_sequence_points): Likewise.
      	* sched-rgn.c (debug_regions, debug_region, debug_candidate,
      	debug_candidates, debug_rgn_dependencies): Likewise.
      	* tree-ssa-structalias.c (debug_constraint, debug_constraints,
      	* debug_constraint_graph, debug_solution_for_var,
      	debug_sa_points_to_info): Likewise.
      	* sched-vis.c (debug_insn_slim, debug_bb_slim, debug_bb_n_slim):
      	Likewie.
      	* tree-cfg.c (debug_cfg_stats, verify_stmts, debug_function,
      	debug_loops, debug_loop, debug_loop_num): Likewise.
      	* passes.c (debug_pass): Likewise.
      	(dump_properties): Likewise; add cfglayout property.
      	(debug_properties): Likewise.
      	* tree-ssa-reassoc.c (debug_ops_vector): Likewise.
      	* varpool.c (debug_varpool): Likewise.
      	* regcprop.c (debug_value_data): Likewise.
      	* tree-ssa-operands.c (verify_imm_links, debug_immediate_uses,
      	debug_immediate_uses_for): Likewise.
      
      From-SVN: r160036
      Jan Hubicka committed
  15. 21 May, 2010 1 commit
    • diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. · cf835838
      	* diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or
      	langhooks-def.h.
      	(diagnostic_initialize): Initialize x_data not last_function.
      	(diagnostic_report_current_function): Move to tree-diagnostic.c.
      	(default_diagnostic_starter): Call
      	diagnostic_report_current_module not
      	diagnostic_report_current_function.
      	(diagnostic_report_diagnostic): Initialize x_data not
      	abstract_origin.
      	(verbatim): Likewise.
      	* diagnostic.h (struct diagnostic_info): Change abstract_origin to
      	x_data.
      	(struct diagnostic_context): Change last_function to x_data.
      	(diagnostic_auxiliary_data): Replace with
      	diagnostic_context_auxiliary_data and
      	diagnostic_info_auxiliary_data.
      	(diagnostic_last_function_changed, diagnostic_set_last_function,
      	diagnostic_report_current_function): Move to tree-diagnostic.h.
      	(print_declaration, dump_generic_node, print_generic_stmt,
      	print_generic_stmt_indented, print_generic_expr,
      	print_generic_decl, debug_c_tree, dump_omp_clauses,
      	print_call_name, debug_generic_expr, debug_generic_stmt,
      	debug_tree_chain, default_tree_printer): Move to
      	tree-pretty-print.h.
      	(debug_gimple_stmt, debug_gimple_seq, print_gimple_seq,
      	print_gimple_stmt, print_gimple_expr, dump_gimple_stmt): Move to
      	gimple-pretty-print.h.
      	* pretty-print.c: Don't include tree.h
      	(pp_base_format): Don't handle %K here.
      	(pp_base_tree_identifier): Move to tree-pretty-print.c.
      	* pretty-print.h (text_info): Change abstract_origin to x_data.
      	(pp_tree_identifier, pp_unsupported_tree,
      	pp_base_tree_identifier): Move to tree-pretty-print.h.
      	* gimple-pretty-print.h, tree-diagnostic.c, tree-diagnostic.h,
      	tree-pretty-print.h: New files.
      	* tree-pretty-print.c: Include tree-pretty-print.h.
      	(percent_K_format): New.  Moved from pretty-print.c.
      	(pp_base_tree_identifier): Move from pretty-print.c.
      	* c-objc-common.c: Include tree-pretty-print.h.
      	(c_tree_printer): Handle %K here.
      	* langhooks.c: Include tree-diagnostic.h.
      	(lhd_print_error_function): Use diagnostic_abstract_origin macro.
      	* toplev.c: Include tree-diagnostic.h and tree-pretty-print.h.
      	(default_tree_printer): Handle %K using percent_K_format.
      	(general_init): Use default_tree_diagnostic_starter.
      	* tree.c: Include tree-diagnostic.h and tree-pretty-print.h.
      	(free_lang_data): Use default_tree_diagnostic_starter.
      	* c-pretty-print.c: Include tree-pretty-print.h.
      	* cfgexpand.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* cgraphunit.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* dwarf2out.c: Include tree-pretty-print.h.
      	* except.c: Include tree-pretty-print.h.
      	* gimple-pretty-print.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* gimplify.c: Include tree-pretty-print.h.
      	* graphite-poly.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* ipa-cp.c: Include tree-pretty-print.h.
      	* ipa-inline.c: Include gimple-pretty-print.h.
      	* ipa-prop.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* ipa-pure-const.c: Include gimple-pretty-print.h.
      	* ipa-struct-reorg.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* ipa-type-escape.c: Include tree-pretty-print.h.
      	* print-rtl.c: Include tree-pretty-print.h.
      	* print-tree.c: Include gimple-pretty-print.h.
      	* sese.c: Include tree-pretty-print.h.
      	* tree-affine.c: Include tree-pretty-print.h.
      	* tree-browser.c: Include tree-pretty-print.h.
      	* tree-call-cdce.c: Include gimple-pretty-print.h.
      	* tree-cfg.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-chrec.c: Include tree-pretty-print.h.
      	* tree-data-ref.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-dfa.c: Include tree-pretty-print.h.
      	* tree-if-conv.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-inline.c: Include tree-pretty-print.h.
      	* tree-into-ssa.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-nrv.c: Include tree-pretty-print.h.
      	* tree-object-size.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-outof-ssa.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-parloops.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-predcom.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-scalar-evolution.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-sra.c: Include tree-pretty-print.h.
      	* tree-ssa-address.c: Include tree-pretty-print.h.
      	* tree-ssa-alias.c: Include tree-pretty-print.h.
      	* tree-ssa-ccp.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-ssa-coalesce.c: Include tree-pretty-print.h.
      	* tree-ssa-copy.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-ssa-copyrename.c: Include tree-pretty-print.h.
      	* tree-ssa-dce.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-ssa-dom.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-ssa-dse.c: Include gimple-pretty-print.h.
      	* tree-ssa-forwprop.c: Include tree-pretty-print.h.
      	* tree-ssa-ifcombine.c: Include tree-pretty-print.h.
      	* tree-ssa-live.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-ssa-loop-im.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-ssa-loop-ivcanon.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-ssa-loop-ivopts.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-ssa-loop-niter.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-ssa-loop-prefetch.c: Include tree-pretty-print.h.
      	* tree-ssa-math-opts.c: Include gimple-pretty-print.h.
      	* tree-ssa-operands.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-ssa-phiprop.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-ssa-pre.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-ssa-propagate.c: Include gimple-pretty-print.h.
      	* tree-ssa-reassoc.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-ssa-sccvn.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-ssa-sink.c: Include gimple-pretty-print.h.
      	* tree-ssa-ter.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-ssa-uninit.c: Include gimple-pretty-print.h.
      	* tree-ssa.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-stdarg.c: Include gimple-pretty-print.h.
      	* tree-switch-conversion.c: Include gimple-pretty-print.h.
      	* tree-tailcall.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-vect-data-refs.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-vect-loop-manip.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-vect-loop.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-vect-patterns.c: Include gimple-pretty-print.h.
      	* tree-vect-slp.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-vect-stmts.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* tree-vectorizer.c: Include tree-pretty-print.h.
      	* tree-vrp.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* value-prof.c: Include tree-pretty-print.h and
      	gimple-pretty-print.h.
      	* var-tracking.c: Include tree-pretty-print.h.
      	* Makefile.in (OBJS-common): Add tree-diagnostic.o.
      	(tree-diagnostic.o): New dependencies.
      	(c-objc-common.o, c-pretty-print.o, langhooks.o, tree.o,
      	tree-inline.o, print-tree.o, stor-layout.o, tree-ssa-uninit.o,
      	tree-ssa.o, tree-into-ssa.o, tree-ssa-ter.o, tree-ssa-coalesce.o,
      	tree-outof-ssa.o, tree-ssa-forwprop.o, tree-ssa-phiprop.o,
      	tree-ssa-ifcombine.o, tree-nrv.o, tree-ssa-copy.o,
      	tree-ssa-propagate.o, tree-ssa-dom.o, tree-ssa-uncprop.o,
      	tree-ssa-live.o, tree-ssa-copyrename.o, tree-ssa-pre.o,
      	tree-ssa-sccvn.o, tree-vrp.o, tree-cfg.o, tree-tailcall.o,
      	tree-ssa-sink.o, tree-if-conv.o, tree-dfa.o, tree-ssa-operands.o,
      	tree-ssa-address.o, tree-ssa-loop-niter.o,
      	tree-ssa-loop-ivcanon.o, tree-ssa-loop-prefetch.o, tree-predcom.o,
      	tree-ssa-loop-ivopts.o, tree-affine.o, tree-ssa-loop-im.o,
      	tree-ssa-math-opts.o, tree-ssa-alias.o, tree-ssa-reassoc.o,
      	gimplify.o, tree-browser.o, tree-chrec.o, tree-scalar-evolution.o,
      	tree-data-ref.o, sese.o, graphite-poly.o, tree-vect-loop.o,
      	tree-vect-loop-manip.o, tree-vect-patterns.o, tree-vect-slp.o,
      	tree-vect-stmts.o, tree-vect-data-refs.o, tree-vectorizer.o,
      	tree-parloops.o, tree-stdarg.o, tree-object-size.o,
      	gimple-pretty-print.o, tree-pretty-print.o, diagnostic.o,
      	toplev.o, print-rtl.o, except.o, dwarf2out.o, cgraphunit.o,
      	ipa-prop.o, ipa-cp.o, ipa-inline.o, ipa-pure-const.o,
      	ipa-type-escape.o, ipa-struct-reorg.o, tree-ssa-dce.o,
      	tree-call-cdce.o, tree-ssa-ccp.o, tree-sra.o,
      	tree-switch-conversion.o, var-tracking.o, value-prof.o,
      	cfgexpand.o, pretty-print.o): Update dependencies.
      
      cp:
      	* error.c: Include tree-diagnostic.h and tree-pretty-print.h.
      	(cp_print_error_function): Use diagnostic_abstract_origin macro.
      	(cp_printer): Handle %K here using percent_K_format.
      	* cxx-pretty-print.c: Include tree-pretty-print.h.
      	* Make-lang.in (cp/error.o, cp/cxx-pretty-print.o): Update
      	dependencies.
      
      From-SVN: r159685
      Joseph Myers committed
  16. 23 Apr, 2010 1 commit
    • sese.h (create_if_region_on_edge): Remove. · 086058c2
      2010-04-22  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* sese.h (create_if_region_on_edge): Remove.
      
      	* sese.c (create_if_region_on_edge): Make static.
      
      	* tree-inline.c: Do not include ggc.h.
      
      	* expr.c: Do not include ggc.h.
      
      	* Makefile.in (tree-inline.o, expr.o): Remove $(GGC_H) from
      	dependencies.
      
      From-SVN: r158661
      Laurynas Biveinis committed
  17. 02 Apr, 2010 1 commit
    • Make-lang.in, [...]: Update copyright years. · c75c517d
      	* ada/gcc-interface/Make-lang.in, alias.c, attribs.c, auto-inc-dec.c, 
      	basic-block.h, bb-reorder.c, calls.c, c-common.c, cgraph.h,
      	collect2.h, config/alpha/alpha.c, config/alpha/alpha.md,
      	config/alpha/predicates.md, config/arm/arm.md,
      	config/arm/lib1funcs.asm, config/arm/neon-schedgen.ml,
      	config/avr/avr.c, config/avr/avr.md, config/bfin/bfin.c,
      	config/darwin9.h, config/darwin.c, config/darwin.h,
      	config/h8300/h8300.c, config/i386/cpuid.h, config/i386/cygming.h,
      	config/i386/cygwin.h, config/i386/mingw32.h, config/i386/msformat-c.c,
      	config/i386/sol2-10.h, config/i386/xopintrin.h, config/ia64/ia64.c,
      	config/ia64/ia64.md, config/ia64/sync.md, config/mep/mep.c,
      	config/mips/mips.md, config/mn10300/mn10300.c,
      	config/mn10300/mn10300.h, config/pa/pa.c, config/pa/pa.md,
      	config/rs6000/aix.h, config/rs6000/dfp.md,
      	config/rs6000/rs6000-builtin.def, config/rs6000/rs6000-c.c,
      	config/rs6000/vector.md, config/rtems.h, config/rx/rx.md,
      	config/s390/s390.md, config/sol2-c.c, config/sparc/sol2-bi.h,
      	config/sparc/sol2-gas.h, config/sparc/sparc.h, config/sparc/sparc.md,
      	config/sparc/sparc-protos.h, config/spu/spu.c, config/spu/spu-c.c,
      	config/t-darwin, convert.c, c.opt, c-opts.c, cp/Make-lang.in,
      	c-pretty-print.c, c-typeck.c, df-core.c, df-scan.c, diagnostic.c,
      	diagnostic.h, doc/cppopts.texi, doc/cpp.texi, doc/extend.texi,
      	doc/gimple.texi, doc/languages.texi, doc/plugins.texi, doc/rtl.texi,
      	doc/standards.texi, doc/tree-ssa.texi, doc/trouble.texi, dominance.c,
      	fold-const.c, fortran/Make-lang.in, fwprop.c, gcc-plugin.h,
      	gensupport.c, gimple.h, gimple-iterator.c, graphite.c,
      	graphite-clast-to-gimple.c, graphite-clast-to-gimple.h,
      	graphite-dependences.c, graphite-poly.c, graphite-poly.h,
      	graphite-ppl.c, graphite-ppl.h, graphite-scop-detection.c,
      	graphite-sese-to-poly.c, graphite-sese-to-poly.h, ifcvt.c, intl.c,
      	intl.h, ipa.c, ipa-cp.c, ipa-inline.c, ipa-prop.c, ipa-prop.h,
      	ipa-pure-const.c, ipa-reference.c, ipa-type-escape.c, ira-color.c,
      	ira-conflicts.c, ira-lives.c, java/Make-lang.in, lambda-code.c,
      	loop-invariant.c, lto/Make-lang.in, lto-streamer.h, lto-streamer-in.c,
      	objc/Make-lang.in, objcp/Make-lang.in, omp-low.c, optc-gen.awk,
      	opt-functions.awk, opth-gen.awk, params.def, passes.c,
      	postreload-gcse.c, print-tree.c, recog.c, regrename.c, reload.h,
      	rtl.def, sched-int.h, sched-rgn.c, sel-sched-dump.c, sese.c, sese.h,
      	store-motion.c, stor-layout.c, tree-cfgcleanup.c, tree-chrec.c,
      	tree-complex.c, tree-data-ref.c, tree.def, tree-eh.c, tree-flow.h,
      	tree-flow-inline.h, tree.h, tree-loop-distribution.c, tree-outof-ssa.c,
      	tree-parloops.c, tree-pass.h, tree-predcom.c, tree-profile.c,
      	tree-scalar-evolution.c, tree-ssa-address.c, tree-ssa-alias.c,
      	tree-ssa-coalesce.c, tree-ssa-copy.c, tree-ssa-dce.c, tree-ssa-dom.c,
      	tree-ssa-dse.c, tree-ssa-loop-im.c, tree-ssa-loop-ivcanon.c,
      	tree-ssa-loop-manip.c, tree-ssa-math-opts.c, tree-ssa-operands.c,
      	tree-ssa-pre.c, tree-ssa-sccvn.c, tree-ssa-structalias.c,
      	tree-ssa-uncprop.c, tree-tailcall.c, tree-vect-data-refs.c,
      	tree-vect-loop.c, tree-vectorizer.h, tree-vect-slp.c, tree-vrp.c,
      	unwind-dw2-fde-darwin.c, varpool.c: Update copyright years.
      
      From-SVN: r157950
      Steven Bosscher committed
  18. 08 Mar, 2010 2 commits
  19. 23 Feb, 2010 2 commits
  20. 11 Feb, 2010 1 commit
    • re PR tree-optimization/42771 ([graphite] ICE: in graphite_loop_normal_form, at… · a1954f72
      re PR tree-optimization/42771 ([graphite] ICE: in graphite_loop_normal_form, at graphite-sese-to-poly.c (2))
      
      Fix PR42771.
      
      2010-02-10  Sebastian Pop  <seb@napoca>
      
      	PR middle-end/42771
      	* graphite-clast-to-gimple.c (gloog): Call rename_sese_parameters.
      	* graphite-clast-to-gimple.h (gloog): Update declaration.
      	* graphite-poly.c (new_scop): Clear POLY_SCOP_P.
      	* graphite-poly.h (struct poly_bb): Add missing comments.
      	(struct scop): Add poly_scop_p field.
      	(POLY_SCOP_P): New.
      	* graphite-sese-to-poly.c (build_poly_scop): Set POLY_SCOP_P.
      	* graphite.c (graphite_transform_loops): Build the polyhedral
      	representation for each scop before code generation.
      	* sese.c (rename_variables_in_operand): Removed.
      	(rename_variables_in_expr): Return the renamed expression.
      	(rename_sese_parameters): New.
      	* sese.h (rename_sese_parameters): Declared.
      
      	* gcc.dg/graphite/pr42771.c: New.
      
      From-SVN: r156711
      Sebastian Pop committed
  21. 14 Jan, 2010 2 commits
    • re PR tree-optimization/42681 (ICE: in build2_stat, at tree.c:3664 with "-O1 -fgraphite-identity") · 3c7c0158
      Fix PR42681.
      
      2010-01-14  Sebastian Pop  <sebastian.pop@amd.com>
      
      	PR middle-end/42681
      	* graphite-clast-to-gimple.c (gloog_error): New static variable.
      	(clast_to_gcc_expression): Do not build MULT_EXPR of POINTER_TYPE_P.
      	Set gloog_error when such an expression failed to be built.
      	(translate_clast): Early return when gloog_error is set.
      	(gloog): Clear gloog_error.  When gloog_error is set, call
      	set_ifsese_condition to enable the original code.  Return the status
      	of the code generation based on gloog_error.
      	* sese.c (set_ifsese_condition): New.
      	* sese.h (set_ifsese_condition): Declared.
      
      	* testsuite/g++.dg/graphite/pr42681.C: New.
      
      From-SVN: r155884
      Sebastian Pop committed
    • re PR tree-optimization/42732 ([graphite] ICE: verify_ssa failed) · a7bf45de
      Fix PR42732.
      
      2010-01-14  Sebastian Pop  <sebastian.pop@amd.com>
      
      	PR middle-end/42732
      	* graphite-clast-to-gimple.c (gloog): Call scev_reset_htab and
      	rename_nb_iterations.
      	* sese.c (rename_variables_in_operand): New.
      	(rename_variables_in_expr): New.
      	(rename_nb_iterations): New.
      	(sese_adjust_liveout_phis): Update the rename_map.
      	* sese.h (rename_nb_iterations): Declared.
      	* tree-scalar-evolution.c (scev_reset_htab): New.
      	(scev_reset): Call scev_reset_htab.
      	* tree-scalar-evolution.h (scev_reset_htab): Declared.
      
      	* testsuite/gfortran.dg/graphite/pr42732.f: New.
      
      From-SVN: r155881
      Sebastian Pop committed
  22. 10 Jan, 2010 1 commit
    • re PR middle-end/42393 ([graphite] internal compiler error: in check_loop_closed_ssa_use) · e1496917
      Fix PR42393.
      
      2010-01-08  Sebastian Pop  <sebastian.pop@amd.com>
      
      	PR middle-end/42393
      	* graphite-clast-to-gimple.c: Fix formatting.
      	* sese.c (defined_in_loop_p): Renamed name_defined_in_loop_p.
      	(expr_defined_in_loop_p): New.
      	(add_loop_exit_phis): Also handle full expressions: remove from
      	the rename_map the expressions defined in the loop that we're closing.
      
      	* testsuite/gfortran.dg/graphite/pr42393-1.f90: New.
      	* testsuite/gfortran.dg/graphite/pr42393.f90: Add new flags
      	-fno-loop-block -fno-loop-interchange -fno-loop-strip-mine to also
      	make this testcase useful in the Graphite branch.
      
      From-SVN: r155795
      Sebastian Pop committed
  23. 08 Jan, 2010 1 commit
  24. 07 Jan, 2010 1 commit
  25. 30 Nov, 2009 1 commit
    • Do not abuse sese for codegeneration · 7a521ff2
      CLooG automatically frees the names list, so sharing SESE_PARAMS_NAMES
      between gloog() and debug_generated_program() leads to freeing them
      twice. As both SESE_PARAM_NAMES and SESE_PARAMS_INDEX are code
      generation data structures remove them and the functions working on them
      from sese.h and put them in clast-to-gimple.
      
      2009-11-21  Tobias Grosser  <grosser@fim.uni-passau.de>
      
      	* graphite-clast-to-gimple.c (clast_name_index, new_clast_name_index,
      	clast_name_to_index, save_clast_name_index, debug_clast_name_index,
      	debug_clast_name_indexes_1, debug_clast_name_indexes,
      	clast_name_index_elt_info, eq_clast_name_indexes): Moved from sese.h.
      	(clast_name_to_gcc, clast_to_gcc_expression,
      	clast_to_gcc_expression_red, gcc_type_for_clast_expr,
      	gcc_type_for_clast_eq, graphite_translate_clast_equation,
      	graphite_create_guard_cond_expr, graphite_create_new_loop,
      	translate_clast): Add params_index.
      	(initialize_cloog_names): Create parameter strings from scratch, do
      	not reference other strings.
      	(create_params_index): New.
      	(gloog): Initialize params_index.
      	* graphite-scop-detection (free_scops_1): Removed.
      	(limit_scops): Use normal free_scops.
      	* graphite-sese-to-poly.c (save_var_names): Removed.
      	(parameter_index_in_region): Do not initialize SESE_PARAM_NAMES
      	and SESE_PARAMS_INDEX.
      	* sese.c (new_sese, free_sese): Dito.
      	* sese.h (struct sese): Remove params_index, params_names.
      	(SESE_PARAMS_INDEX, SESE_PARAMS_NAMES): Removed.
      
      From-SVN: r154844
      Tobias Grosser committed
  26. 25 Nov, 2009 4 commits
    • Remove trailing white spaces. · b8698a0f
      2009-11-25  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* alias.c: Remove trailing white spaces.
      	* alloc-pool.c: Likewise.
      	* alloc-pool.h: Likewise.
      	* attribs.c: Likewise.
      	* auto-inc-dec.c: Likewise.
      	* basic-block.h: Likewise.
      	* bb-reorder.c: Likewise.
      	* bt-load.c: Likewise.
      	* builtins.c: Likewise.
      	* builtins.def: Likewise.
      	* c-common.c: Likewise.
      	* c-common.h: Likewise.
      	* c-cppbuiltin.c: Likewise.
      	* c-decl.c: Likewise.
      	* c-format.c: Likewise.
      	* c-lex.c: Likewise.
      	* c-omp.c: Likewise.
      	* c-opts.c: Likewise.
      	* c-parser.c: Likewise.
      	* c-pretty-print.c: Likewise.
      	* c-tree.h: Likewise.
      	* c-typeck.c: Likewise.
      	* caller-save.c: Likewise.
      	* calls.c: Likewise.
      	* cfg.c: Likewise.
      	* cfganal.c: Likewise.
      	* cfgexpand.c: Likewise.
      	* cfghooks.c: Likewise.
      	* cfghooks.h: Likewise.
      	* cfglayout.c: Likewise.
      	* cfgloop.c: Likewise.
      	* cfgloop.h: Likewise.
      	* cfgloopmanip.c: Likewise.
      	* cfgrtl.c: Likewise.
      	* cgraph.c: Likewise.
      	* cgraph.h: Likewise.
      	* cgraphbuild.c: Likewise.
      	* cgraphunit.c: Likewise.
      	* cif-code.def: Likewise.
      	* collect2.c: Likewise.
      	* combine.c: Likewise.
      	* convert.c: Likewise.
      	* coverage.c: Likewise.
      	* crtstuff.c: Likewise.
      	* cse.c: Likewise.
      	* cselib.c: Likewise.
      	* dbgcnt.c: Likewise.
      	* dbgcnt.def: Likewise.
      	* dbgcnt.h: Likewise.
      	* dbxout.c: Likewise.
      	* dce.c: Likewise.
      	* ddg.c: Likewise.
      	* ddg.h: Likewise.
      	* defaults.h: Likewise.
      	* df-byte-scan.c: Likewise.
      	* df-core.c: Likewise.
      	* df-problems.c: Likewise.
      	* df-scan.c: Likewise.
      	* df.h: Likewise.
      	* dfp.c: Likewise.
      	* diagnostic.c: Likewise.
      	* diagnostic.h: Likewise.
      	* dominance.c: Likewise.
      	* domwalk.c: Likewise.
      	* double-int.c: Likewise.
      	* double-int.h: Likewise.
      	* dse.c: Likewise.
      	* dwarf2asm.c: Likewise.
      	* dwarf2asm.h: Likewise.
      	* dwarf2out.c: Likewise.
      	* ebitmap.c: Likewise.
      	* ebitmap.h: Likewise.
      	* emit-rtl.c: Likewise.
      	* et-forest.c: Likewise.
      	* except.c: Likewise.
      	* except.h: Likewise.
      	* expmed.c: Likewise.
      	* expr.c: Likewise.
      	* expr.h: Likewise.
      	* final.c: Likewise.
      	* flags.h: Likewise.
      	* fold-const.c: Likewise.
      	* function.c: Likewise.
      	* function.h: Likewise.
      	* fwprop.c: Likewise.
      	* gcc.c: Likewise.
      	* gcov-dump.c: Likewise.
      	* gcov-io.c: Likewise.
      	* gcov-io.h: Likewise.
      	* gcov.c: Likewise.
      	* gcse.c: Likewise.
      	* genattr.c: Likewise.
      	* genattrtab.c: Likewise.
      	* genautomata.c: Likewise.
      	* genchecksum.c: Likewise.
      	* genconfig.c: Likewise.
      	* genflags.c: Likewise.
      	* gengtype-parse.c: Likewise.
      	* gengtype.c: Likewise.
      	* gengtype.h: Likewise.
      	* genmddeps.c: Likewise.
      	* genmodes.c: Likewise.
      	* genopinit.c: Likewise.
      	* genpreds.c: Likewise.
      	* gensupport.c: Likewise.
      	* ggc-common.c: Likewise.
      	* ggc-page.c: Likewise.
      	* ggc-zone.c: Likewise.
      	* ggc.h: Likewise.
      	* gimple-iterator.c: Likewise.
      	* gimple-low.c: Likewise.
      	* gimple-pretty-print.c: Likewise.
      	* gimple.c: Likewise.
      	* gimple.def: Likewise.
      	* gimple.h: Likewise.
      	* gimplify.c: Likewise.
      	* graphds.c: Likewise.
      	* graphite-clast-to-gimple.c: Likewise.
      	* gthr-nks.h: Likewise.
      	* gthr-posix.c: Likewise.
      	* gthr-posix.h: Likewise.
      	* gthr-posix95.h: Likewise.
      	* gthr-single.h: Likewise.
      	* gthr-tpf.h: Likewise.
      	* gthr-vxworks.h: Likewise.
      	* gthr.h: Likewise.
      	* haifa-sched.c: Likewise.
      	* hard-reg-set.h: Likewise.
      	* hooks.c: Likewise.
      	* hooks.h: Likewise.
      	* hosthooks.h: Likewise.
      	* hwint.h: Likewise.
      	* ifcvt.c: Likewise.
      	* incpath.c: Likewise.
      	* init-regs.c: Likewise.
      	* integrate.c: Likewise.
      	* ipa-cp.c: Likewise.
      	* ipa-inline.c: Likewise.
      	* ipa-prop.c: Likewise.
      	* ipa-pure-const.c: Likewise.
      	* ipa-reference.c: Likewise.
      	* ipa-struct-reorg.c: Likewise.
      	* ipa-struct-reorg.h: Likewise.
      	* ipa-type-escape.c: Likewise.
      	* ipa-type-escape.h: Likewise.
      	* ipa-utils.c: Likewise.
      	* ipa-utils.h: Likewise.
      	* ipa.c: Likewise.
      	* ira-build.c: Likewise.
      	* ira-color.c: Likewise.
      	* ira-conflicts.c: Likewise.
      	* ira-costs.c: Likewise.
      	* ira-emit.c: Likewise.
      	* ira-int.h: Likewise.
      	* ira-lives.c: Likewise.
      	* ira.c: Likewise.
      	* jump.c: Likewise.
      	* lambda-code.c: Likewise.
      	* lambda-mat.c: Likewise.
      	* lambda-trans.c: Likewise.
      	* lambda.h: Likewise.
      	* langhooks.c: Likewise.
      	* lcm.c: Likewise.
      	* libgcov.c: Likewise.
      	* lists.c: Likewise.
      	* loop-doloop.c: Likewise.
      	* loop-init.c: Likewise.
      	* loop-invariant.c: Likewise.
      	* loop-iv.c: Likewise.
      	* loop-unroll.c: Likewise.
      	* lower-subreg.c: Likewise.
      	* lto-cgraph.c: Likewise.
      	* lto-compress.c: Likewise.
      	* lto-opts.c: Likewise.
      	* lto-section-in.c: Likewise.
      	* lto-section-out.c: Likewise.
      	* lto-streamer-in.c: Likewise.
      	* lto-streamer-out.c: Likewise.
      	* lto-streamer.c: Likewise.
      	* lto-streamer.h: Likewise.
      	* lto-symtab.c: Likewise.
      	* lto-wpa-fixup.c: Likewise.
      	* matrix-reorg.c: Likewise.
      	* mcf.c: Likewise.
      	* mode-switching.c: Likewise.
      	* modulo-sched.c: Likewise.
      	* omega.c: Likewise.
      	* omega.h: Likewise.
      	* omp-low.c: Likewise.
      	* optabs.c: Likewise.
      	* optabs.h: Likewise.
      	* opts-common.c: Likewise.
      	* opts.c: Likewise.
      	* params.def: Likewise.
      	* params.h: Likewise.
      	* passes.c: Likewise.
      	* plugin.c: Likewise.
      	* postreload-gcse.c: Likewise.
      	* postreload.c: Likewise.
      	* predict.c: Likewise.
      	* predict.def: Likewise.
      	* pretty-print.c: Likewise.
      	* pretty-print.h: Likewise.
      	* print-rtl.c: Likewise.
      	* print-tree.c: Likewise.
      	* profile.c: Likewise.
      	* read-rtl.c: Likewise.
      	* real.c: Likewise.
      	* recog.c: Likewise.
      	* reg-stack.c: Likewise.
      	* regcprop.c: Likewise.
      	* reginfo.c: Likewise.
      	* regmove.c: Likewise.
      	* regrename.c: Likewise.
      	* regs.h: Likewise.
      	* regstat.c: Likewise.
      	* reload.c: Likewise.
      	* reload1.c: Likewise.
      	* resource.c: Likewise.
      	* rtl.c: Likewise.
      	* rtl.def: Likewise.
      	* rtl.h: Likewise.
      	* rtlanal.c: Likewise.
      	* sbitmap.c: Likewise.
      	* sched-deps.c: Likewise.
      	* sched-ebb.c: Likewise.
      	* sched-int.h: Likewise.
      	* sched-rgn.c: Likewise.
      	* sched-vis.c: Likewise.
      	* sdbout.c: Likewise.
      	* sel-sched-dump.c: Likewise.
      	* sel-sched-dump.h: Likewise.
      	* sel-sched-ir.c: Likewise.
      	* sel-sched-ir.h: Likewise.
      	* sel-sched.c: Likewise.
      	* sel-sched.h: Likewise.
      	* sese.c: Likewise.
      	* sese.h: Likewise.
      	* simplify-rtx.c: Likewise.
      	* stack-ptr-mod.c: Likewise.
      	* stmt.c: Likewise.
      	* stor-layout.c: Likewise.
      	* store-motion.c: Likewise.
      	* stringpool.c: Likewise.
      	* stub-objc.c: Likewise.
      	* sync-builtins.def: Likewise.
      	* target-def.h: Likewise.
      	* target.h: Likewise.
      	* targhooks.c: Likewise.
      	* targhooks.h: Likewise.
      	* timevar.c: Likewise.
      	* tlink.c: Likewise.
      	* toplev.c: Likewise.
      	* toplev.h: Likewise.
      	* tracer.c: Likewise.
      	* tree-affine.c: Likewise.
      	* tree-affine.h: Likewise.
      	* tree-browser.def: Likewise.
      	* tree-call-cdce.c: Likewise.
      	* tree-cfg.c: Likewise.
      	* tree-cfgcleanup.c: Likewise.
      	* tree-chrec.c: Likewise.
      	* tree-chrec.h: Likewise.
      	* tree-complex.c: Likewise.
      	* tree-data-ref.c: Likewise.
      	* tree-data-ref.h: Likewise.
      	* tree-dfa.c: Likewise.
      	* tree-dump.c: Likewise.
      	* tree-dump.h: Likewise.
      	* tree-eh.c: Likewise.
      	* tree-flow-inline.h: Likewise.
      	* tree-flow.h: Likewise.
      	* tree-if-conv.c: Likewise.
      	* tree-inline.c: Likewise.
      	* tree-into-ssa.c: Likewise.
      	* tree-loop-distribution.c: Likewise.
      	* tree-loop-linear.c: Likewise.
      	* tree-mudflap.c: Likewise.
      	* tree-nested.c: Likewise.
      	* tree-nomudflap.c: Likewise.
      	* tree-nrv.c: Likewise.
      	* tree-object-size.c: Likewise.
      	* tree-optimize.c: Likewise.
      	* tree-outof-ssa.c: Likewise.
      	* tree-parloops.c: Likewise.
      	* tree-pass.h: Likewise.
      	* tree-phinodes.c: Likewise.
      	* tree-predcom.c: Likewise.
      	* tree-pretty-print.c: Likewise.
      	* tree-profile.c: Likewise.
      	* tree-scalar-evolution.c: Likewise.
      	* tree-ssa-address.c: Likewise.
      	* tree-ssa-alias.c: Likewise.
      	* tree-ssa-ccp.c: Likewise.
      	* tree-ssa-coalesce.c: Likewise.
      	* tree-ssa-copy.c: Likewise.
      	* tree-ssa-copyrename.c: Likewise.
      	* tree-ssa-dce.c: Likewise.
      	* tree-ssa-dom.c: Likewise.
      	* tree-ssa-dse.c: Likewise.
      	* tree-ssa-forwprop.c: Likewise.
      	* tree-ssa-ifcombine.c: Likewise.
      	* tree-ssa-live.c: Likewise.
      	* tree-ssa-live.h: Likewise.
      	* tree-ssa-loop-ch.c: Likewise.
      	* tree-ssa-loop-im.c: Likewise.
      	* tree-ssa-loop-ivcanon.c: Likewise.
      	* tree-ssa-loop-ivopts.c: Likewise.
      	* tree-ssa-loop-manip.c: Likewise.
      	* tree-ssa-loop-niter.c: Likewise.
      	* tree-ssa-loop-prefetch.c: Likewise.
      	* tree-ssa-loop-unswitch.c: Likewise.
      	* tree-ssa-loop.c: Likewise.
      	* tree-ssa-math-opts.c: Likewise.
      	* tree-ssa-operands.c: Likewise.
      	* tree-ssa-operands.h: Likewise.
      	* tree-ssa-phiopt.c: Likewise.
      	* tree-ssa-phiprop.c: Likewise.
      	* tree-ssa-pre.c: Likewise.
      	* tree-ssa-propagate.c: Likewise.
      	* tree-ssa-reassoc.c: Likewise.
      	* tree-ssa-sccvn.c: Likewise.
      	* tree-ssa-sink.c: Likewise.
      	* tree-ssa-structalias.c: Likewise.
      	* tree-ssa-ter.c: Likewise.
      	* tree-ssa-threadedge.c: Likewise.
      	* tree-ssa-threadupdate.c: Likewise.
      	* tree-ssa-uncprop.c: Likewise.
      	* tree-ssa.c: Likewise.
      	* tree-ssanames.c: Likewise.
      	* tree-switch-conversion.c: Likewise.
      	* tree-tailcall.c: Likewise.
      	* tree-vect-data-refs.c: Likewise.
      	* tree-vect-generic.c: Likewise.
      	* tree-vect-loop-manip.c: Likewise.
      	* tree-vect-loop.c: Likewise.
      	* tree-vect-patterns.c: Likewise.
      	* tree-vect-slp.c: Likewise.
      	* tree-vect-stmts.c: Likewise.
      	* tree-vectorizer.c: Likewise.
      	* tree-vectorizer.h: Likewise.
      	* tree-vrp.c: Likewise.
      	* tree.c: Likewise.
      	* tree.def: Likewise.
      	* tree.h: Likewise.
      	* treestruct.def: Likewise.
      	* unwind-compat.c: Likewise.
      	* unwind-dw2-fde-glibc.c: Likewise.
      	* unwind-dw2.c: Likewise.
      	* value-prof.c: Likewise.
      	* value-prof.h: Likewise.
      	* var-tracking.c: Likewise.
      	* varasm.c: Likewise.
      	* varpool.c: Likewise.
      	* vec.c: Likewise.
      	* vec.h: Likewise.
      	* vmsdbgout.c: Likewise.
      	* web.c: Likewise.
      	* xcoffout.c: Likewise.
      
      From-SVN: r154645
      H.J. Lu committed
    • graphite-clast-to-gimple.c (gloog): Free if_region, if_region->true_region, and if_region->region. · 8c54631d
      2009-11-03  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-clast-to-gimple.c (gloog): Free if_region,
      	if_region->true_region, and if_region->region.
      	* sese.c (if_region_set_false_region): Free if_region->false_region.
      	(create_if_region_on_edge): Do not use GGC_NEW.
      	(move_sese_in_condition): Remove useless initialization.
      
      From-SVN: r154633
      Sebastian Pop committed
    • graphite-clast-to-gimple.c (gloog): Do not call sese_reset_aux_in_loops. · 6c6f84d7
      2009-10-26  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-clast-to-gimple.c (gloog): Do not call
      	sese_reset_aux_in_loops.
      	* graphite-sese-to-poly.c (build_loop_iteration_domains): Pass an
      	extra argument for domains.  Do not use loop->aux.
      	(build_scop_iteration_domain): Initialize and free domains, pass it
      	to build_loop_iteration_domains and extract the information from
      	domains.  Do not use loop->aux.
      	* sese.c (sese_reset_aux_in_loops): Removed.
      	* sese.h (sese_reset_aux_in_loops): Removed.
      
      From-SVN: r154627
      Sebastian Pop committed
    • sese.c (get_vdef_before_sese): Handle GIMPLE_ASSIGN and GIMPLE_CALL. · e8af4842
      2009-10-20  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* sese.c (get_vdef_before_sese): Handle GIMPLE_ASSIGN and GIMPLE_CALL.
      
      From-SVN: r154613
      Sebastian Pop committed