1. 02 Jun, 2010 12 commits
  2. 01 Jun, 2010 27 commits
    • gimplify.c: Do not include except.h and optabs.h. · 2eb79bbb
      	* gimplify.c: Do not include except.h and optabs.h.
      	(gimplify_body): Do not initialize RTL profiling.
      	* gimple-low.c: Do not include rtl.h, diagnostic.h, langhooks.h,
      	langhooks-def.h, timevar.h, except.h, hashtab.h, and expr.h.
      	* gimple-fold.c: Do not include rtl.h, tm_p.h, ggc.h, basic-block.h,
      	output.h, expr.h, diagnostic.h, timevar.h, value-prof.h, and
      	langhooks.h.
      
      	* tree-pretty-print.h: Include pretty-print.h.
      	* gimple-pretty-print.h: Include pretty-print.h.
      
      	* tree-pretty-print.c: Do not include diagnostic.h.
      	* tree-vrp.c: Likewise.
      	* tree-tailcall.c: Likewise
      	* tree-scalar-evolution.c: Likewise
      	* tree-ssa-dse.c: Likewise
      	* tree-chrec.c: Likewise
      	* tree-ssa-sccvn.c: Likewise
      	* tree-ssa-copyrename.c: Likewise
      	* tree-nomudflap.c: Likewise
      	* tree-call-cdce.c: Likewise
      	* tree-stdarg.c: Likewise
      	* tree-ssa-math-opts.c: Likewise
      	* tree-nrv.c: Likewise
      	* tree-ssa-sink.c: Likewise
      	* tree-browser.c: Likewise
      	* tree-ssa-loop-ivcanon.c: Likewise
      	* tree-ssa-loop.c: Likewise
      	* tree-parloops.c: Likewise
      	* tree-ssa-address.c: Likewise
      	* tree-ssa-ifcombine.c: Likewise
      	* tree-if-conv.c: Likewise
      	* tree-data-ref.c: Likewise
      	* tree-affine.c: Likewise
      	* tree-ssa-phiopt.c: Likewise
      	* tree-ssa-coalesce.c: Likewise
      	* tree-ssa-pre.c: Likewise
      	* tree-ssa-live.c: Likewise
      	* tree-predcom.c: Likewise
      	* tree-ssa-forwprop.c: Likewise
      	* tree-ssa-dce.c: Likewise
      	* tree-ssa-ter.c: Likewise
      	* tree-ssa-loop-prefetch.c: Likewise
      	* tree-optimize.c: Likewise
      	* tree-ssa-phiprop.c: Likewise
      	* tree-object-size.c: Likewise
      	* tree-outof-ssa.c: Likewise
      	* tree-ssa-structalias.c: Likewise
      	* tree-switch-conversion.c: Likewise
      	* tree-ssa-reassoc.c: Likewise
      	* tree-ssa-operands.c: Likewise
      	* tree-vectorizer.c: Likewise
      	* tree-vect-data-refs.c: Likewise
      	* tree-vect-generic.c: Likewise
      	* tree-vect-stmts.c: Likewise
      	* tree-vect-patterns.c: Likewise
      	* tree-vect-slp.c: Likewise
      	* tree-vect-loop.c: Likewise
      	* tree-ssa-loop-ivopts.c: Likewise
      	* tree-ssa-loop-im.c: Likewise
      	* tree-ssa-loop-niter.c: Likewise
      	* tree-ssa-loop-unswitch.c: Likewise
      	* tree-ssa-loop-manip.c: Likewise
      	* tree-ssa-loop-ch.c: Likewise
      	* tree-dump.c: Likewise
      	* tree-complex.c: Likewise
      
      	* tree-into-ssa.c: Do not include diagnostic.h and expr.h.
      	* tree-ssa-uninit.c: Likewise
      	* tree-ssa-threadupdate.c: Likewise
      	* tree-ssa-uncprop.c: Likewise
      	* tree-ssa-ccp.c: Likewise
      	* tree-ssa-dom.c: Likewise
      	* tree-ssa-propagate.c: Likewise
      	* tree-ssa-alias.c: Likewise
      	* tree-dfa.c: Likewise
      	* tree-cfgcleanup.c: Likewise
      	* tree-sra.c: Likewise
      	* tree-ssa-copy.c: Likewise
      	* tree-ssa.c: Likewise
      	* tree-profile.c: Likewise
      	* tree-cfg.c: Likewise
      	* tree-ssa-threadedge.c: Likewise
      	* tree-vect-loop-manip.c: Likewise
      
      	* tree-inline.c: Do not include diagnostic.h and expr.h.
      	Include rtl.h.
      	(copy_decl_for_dup_finish): Do not use NULL_RTX.
      
      	* tree-loop-linear.c: Do not include diagnostic.h, expr.h,
      	and optabs.h.
      	* tree-loop-distribution.c: Likewise.
      
      From-SVN: r160125
      Steven Bosscher committed
    • ipa-pure-const.c (local_pure_const): Do NORETURN discovery. · 73add7fe
      	* ipa-pure-const.c (local_pure_const): Do NORETURN discovery.
      
      	* testsuite/gcc.dg/noreturn-8.c: New testcase.
      
      From-SVN: r160124
      Jan Hubicka committed
    • noreturn-1_1.c: Remove dg-do annotations. · a669ca47
      	* testsuite/gcc.dg/lto/noreturn-1_1.c: Remove dg-do annotations.
      	* testsuite/gcc.dg/lto/noreturn-1_0.c: Move it here.
      
      From-SVN: r160123
      Jan Hubicka committed
    • tree-cfgcleanup.c (fixup_noreturn_call): Break out from ...; remove return value. · 566d09ef
      
      	* tree-cfgcleanup.c (fixup_noreturn_call): Break out from ...;
      	remove return value.
      	(split_bbs_on_noreturn_calls) .... here.
      	* tree-optimize.c (execute_fixup_cfg): Fixup noreturn calls too.
      	* tree-flow.h (fixup_noreturn_call): New.
      	* testsuite/gcc.dg/lto/noreturn-1_1.c: New testcase.
      	* testsuite/gcc.dg/lto/noreturn-1_0.c: New testcase.
      
      From-SVN: r160122
      Jan Hubicka committed
    • * emit-rtl.c (remove_insn): Fix thinko in prevoius patch. · fb9ef4c1
      From-SVN: r160121
      Jan Hubicka committed
    • tree.h (build_nt_call_list): Delete. · 6594b49d
      	* tree.h (build_nt_call_list): Delete.
      	* tree.c (build_nt_call_list): Delete.
      
      From-SVN: r160120
      Nathan Froyd committed
    • * typeck2.c (build_x_arrow): Make types_memoized a VEC. · f038ec69
      From-SVN: r160119
      Nathan Froyd committed
    • objc-act.c (build_next_objc_exception_stuff): Give setjmp a varargs type instead… · bb9a7f51
      objc-act.c (build_next_objc_exception_stuff): Give setjmp a varargs type instead of a zero-argument type.
      
      	* objc-act.c (build_next_objc_exception_stuff): Give setjmp a
      	varargs type instead of a zero-argument type.
      
      From-SVN: r160112
      Nathan Froyd committed
    • fwprop.c: Make emit-rtl.h include last. · 5936d944
      
      	* fwprop.c: Make emit-rtl.h include last.
      	* rtlanal.c: Include emit-rtl.h.
      	* genautomata.c: Output emit-rtl include into insn-automata.c
      	* df-scan.c: Include emit-rtl.h.
      	* haifa-sched.c: Indlude emit-rtl.h.
      	* mode-switching.c: Indlude emit-rtl.h.
      	* graph.c: Indlude emit-rtl.h.
      	* sel-sched.c: Include emit-rtl.h.
      	* sel-sched-ir.c: Include emit-rtl.h.
      	* ira-build.c: Include emit-rtl.h.
      	* emit-rtl.c: (first_insn, last_insn): Remove defines.
      	(get_insns, set_first_insn, get_last_insn, set_last_insn, get_max_uid):
      	Move to emit-rtl.h.
      	(set_new_first_and_last_insn, get_last_insn_anywhere, get_first_nonnote_insn,
      	get_last_nonnote_insn, try_split, make_call_insn_raw, add_insn_after,
      	add_insn_before, remove_insn, delete_insns_since, reorder_insns_nobb,
      	emit_insn_after_1, emit_debug_insn_before, emit_insn, start_sequence,
      	push_to_sequence, push_to_sequence2, push_topmost_sequence, end_sequence,
      	copy_insn): Use accessor functions.
      	* emit-rtl.h (gen_blockage, gen_rtvec, copy_insn_1, copy_insn,
      	 gen_int_mode, emit_copy_of_insn_after, set_reg_attrs_from_value,
      	set_reg_attrs_for_parm, set_reg_attrs_for_decl_rtl, adjust_reg_mode,
      	mem_expr_equal_p): Move here from rtl.h
      	(get_insns, set_first-insn, get_last_insn, set_last_insn, get_max_uid):
      	Move here from emit-rtl.c; make inline.
      	* cfglayout.h: Include emit-rtl.h
      	* rtl.h (gen_blockage, gen_rtvec, copy_insn_1, copy_insn,
      	 gen_int_mode, emit_copy_of_insn_after, set_reg_attrs_from_value,
      	set_reg_attrs_for_parm, set_reg_attrs_for_decl_rtl, adjust_reg_mode,
      	mem_expr_equal_p, get_insns, set_first-insn, get_last_insn, set_last_insn,
      	get_max_uid): Move to emit-rtl.h.
      	* reg-stack.c: Include emit-rtl.h
      	* dce.c: Likewise.
      
      From-SVN: r160111
      Jan Hubicka committed
    • cgraph.h (tree_function_versioning): Update prototype. · 91382288
      	* cgraph.h (tree_function_versioning): Update prototype.
      	(cgraph_function_versioning): Update prototype.
      	* cgraphunit.c (cgraph_copy_node_for_versioning): Accept bbs_to_copy
      	bitmap.
      	(cgraph_function_versioning): Accept new_entry_block and bbs_to_copy. 
      	(cgraph_materialize_clone, save_inline_function_body): Update use of
      	tree_function_versioning.
      	* tree-inline.c (copy_bb): Look for previous copied block to link after;
      	fix debug output.
      	(copy_cfg_body): Accept new_entry_block and bbs_to_copy.
      	(copy_body): Likewise.
      	(expand_call_inline): Update use of copy_body.
      	(tree_function_versioning): Update use of copy body; accept
      	blocks_to_copy and new_entry.
      
      From-SVN: r160110
      Jan Hubicka committed
    • gegenrtl.c: Remove unnecesary prototypes. · 6ac9d3a3
      	* gegenrtl.c: Remove unnecesary prototypes.
      	(gendecl): Remove.
      	(gendef): Produce static inline.
      	(gencode): Remove.
      	(main): Do not decode parameters; generate header only.
      	* Makefile.in (genrtl.c): Remove.
      
      From-SVN: r160108
      Jan Hubicka committed
    • Undo inadvertent commit in rev 160105. · 558c51c5
      From-SVN: r160107
      Diego Novillo committed
    • richi's fixes for c++ bootstrap · 7bab6543
      From-SVN: r160105
      Diego Novillo committed
    • Fix typo. · 41361b9f
      From-SVN: r160104
      Arnaud Charlet committed
    • Make-lang.in (CXX_C_OBJS): Add c-ada-spec.o. · 36a549b8
      	* Make-lang.in (CXX_C_OBJS): Add c-ada-spec.o.
      	* decl2.c: Include langhooks.h and c-ada-spec.h.
      	(cpp_check, collect_source_refs, collect_ada_namespace,
      	collect_all_refs): New functions.
      	(cp_write_global_declarations): Add handling of -fdump-ada-spec.
      	* lang-specs.h: Ditto.
      
      Co-Authored-By: Matthew Gingell <gingell@adacore.com>
      
      From-SVN: r160103
      Arnaud Charlet committed
    • optabs.c (init_optabs): Guard all accesses to reinit. · 0641fa97
      2010-06-01  Richard Guenther  <rguenther@suse.de>
      
      	* optabs.c (init_optabs): Guard all accesses to reinit.
      	* ipa-pure-const.c (propagate): Fix another typo.
      	* opts.c (common_handle_option): Split assignment to bool.
      	* c-opts.c (c_common_handle_option): Likewise.
      
      From-SVN: r160102
      Richard Guenther committed
    • invoke.texi: Mention -fdump-ada-spec. · 9cc54940
      	* doc/invoke.texi: Mention -fdump-ada-spec.
      	* tree-dump.c (dump_files): Add ada-spec.
      	(FIRST_AUTO_NUMBERED_DUMP): Bump to 8.
      	* tree-pass.h (tree_dump_index): Add TDI_ada.
      	* gcc.c: Add support for -C without -E and for -fdump-ada-spec.
      	(cpp_unique_options): Do not reject -C or -CC when -E isn't present.
      	(default_compilers) <@c-header>: Allow -fdump-ada-spec on header files.
      	* c-decl.c: Include c-ada-spec.h.
      	(collect_source_ref_cb, collect_all_refs, for_each_global_decl): New
      	functions.
      	(c_write_global_declarations): Add handling of -fdump-ada-spec.
      	* c-lex.c (c_lex_with_flags): Add handling of CPP_COMMENT.
      	* Makefile.in (C_AND_OBJC_OBJS): Add c-ada-spec.o.
      	* c-ada-spec.h, c-ada-spec.c: New files.
      
      Co-Authored-By: Matthew Gingell <gingell@adacore.com>
      
      From-SVN: r160100
      Arnaud Charlet committed
    • re PR middle-end/43853 (FAIL: gcc.dg/lto/20090126-1 c_lto_20090126-1_0.o-c_lto_20090126-1_0.o) · 97d45cef
      2010-06-01  Richard Guenther  <rguenther@suse.de>
      
      	PR lto/43853
      	* ipa-pure-const.c (get_function_state): Hand back varying state
      	if we do not have one.
      	(has_function_state): New function.
      	(duplicate_node_data): Adjust.
      	(remove_node_data): Likewise.
      	(pure_const_write_summary): Likewise.
      	(propagate): Likewise.  Fix typo.
      
      From-SVN: r160099
      Richard Guenther committed
    • tree-cfg.c (verify_stmt): Do not skip could_throw test. · f7fbb475
      	* tree-cfg.c (verify_stmt): Do not skip could_throw test.
      	* passes.c (execute_function_todo): Do not make implicit verify_ssa.
      	(execute_all_ipa_transforms): Do not play with the states.
      
      From-SVN: r160098
      Jan Hubicka committed
    • Move changelog entry to correct ChangeLog. · 1322b050
      From-SVN: r160097
      Maxim Kuvyrkov committed
    • acinclude.m4, [...]: Support Bionic C library. · aa6a73b9
      	* acinclude.m4, configure.host: Support Bionic C library.
      	* configure: Regenerate.
      	* config/os/bionic/ctype_base.h, config/os/bionic/ctype_inline.h,
      	* config/os/bionic/ctype_noincline.h, config/os/bionic/os_defines.h:
      	New files, based on config/os/newlib/*.
      
      From-SVN: r160096
      Maxim Kuvyrkov committed
    • t-linux-androideabi: New. · d47a371c
      	* config/arm/t-linux-androideabi: New.
      	* config.gcc (arm*-*-linux-androideabi): Include multilib configuration.
      
      From-SVN: r160095
      Maxim Kuvyrkov committed
    • tree-inline.c (estimate_num_insns): For stdarg functions look into call… · 613f61fc
      tree-inline.c (estimate_num_insns): For stdarg functions look into call statement to count cost of argument passing.
      
      	* tree-inline.c (estimate_num_insns): For stdarg functions look
      	into call statement to count cost of argument passing.
      
      From-SVN: r160094
      Jan Hubicka committed
    • 2010-06-01 Kai Tietz · 42ad7bc8
              * config/i386.c (ix86_output_addr_vec_elt): Make LPREFIX
              argument for fprintf.
              (ix86_output_addr_diff_elt): Likewise.
              (x86_function_profiler): Likewise.
              * config/cygming.h (LOCAL_LABEL_PREFIX): Fix
              for x64 no-underscore.
              (LPREFIX): Likewise.
              (ASM_GENERATE_INTERNAL_LABEL): Likewise.
      
      From-SVN: r160093
      Kai Tietz committed
    • Daily bump. · d7581cea
      From-SVN: r160092
      GCC Administrator committed
  3. 31 May, 2010 1 commit