aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-06-02configure.ac (gcc_cv_ld_sol2_emulation): Test for GNU ld *_sol2 linker ↵Rainer Orth6-5/+100
emulations. * configure.ac (gcc_cv_ld_sol2_emulation): Test for GNU ld *_sol2 linker emulations. * configure: Regenerate. * config.in: Regenerate. * config/i386/sol2-10.h [TARGET_GNU_LD] (I386_EMULATION): Define. (X86_64_EMULATION): Define. (TARGET_LD_EMULATION): Use them. * config/sparc/sol2-gld-bi.h (SPARC32_EMULATION): Define. (SPARC64_EMULATION): Define. (LINK_ARCH_SPEC): Use them. From-SVN: r160178
2010-06-02Remove testsuite/ from filenames.H.J. Lu1-29/+29
From-SVN: r160170
2010-06-02Add a testcase for PR middle-end/44372.H.J. Lu2-0/+53
2010-06-02 H.J. Lu <hongjiu.lu@intel.com> PR middle-end/44372 * g++.dg/ipa/pr44372.C: New. From-SVN: r160169
2010-06-02Use smallest_mode_for_size for computing the precision types of new graphite ↵Sebastian Pop2-1/+17
IVs. 2010-06-02 Sebastian Pop <sebastian.pop@amd.com> * graphite-clast-to-gimple.c (gcc_type_for_interval): Use smallest_mode_for_size for computing the precision types of new graphite IVs. Do not call lang_hooks.types.type_for_size. From-SVN: r160165
2010-06-02Only reset the GIMPLE_DEBUG information in the code gen of if-conversion.Sebastian Pop2-14/+28
2010-06-02 Sebastian Pop <sebastian.pop@amd.com> * tree-if-conv.c (predicate_bbs): Do not reset the GIMPLE_DEBUG information. (remove_conditions_and_labels): Reset the GIMPLE_DEBUG information. From-SVN: r160164
2010-06-02Fix PR44363: don't abort when the ifcvt analysis fails to recognize a Gimple ↵Sebastian Pop2-6/+9
stmt. 2010-06-02 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/44363 * tree-if-conv.c (predicate_bbs): Do not call gcc_unreachable, return false instead. From-SVN: r160163
2010-06-02re PR middle-end/44295 (Failed to build 483.xalancbmk in SPEC CPU 2006)Jan Hubicka4-1/+188
PR middle-end/44295 * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Do not create new cgraph node to check callee. * testsuite/g++.dg/torture/pr44295.C: Neww testcase. From-SVN: r160159
2010-06-02* gcc.dg/tree-ssa/loadpre6.c: Update.Jan Hubicka2-1/+6
From-SVN: r160158
2010-06-02header_plugin.c: Include cp-tree.h before diagnostic.h.Richard Guenther2-1/+6
2010-06-02 Richard Guenther <rguenther@suse.de> * g++.dg/plugin/header_plugin.c: Include cp-tree.h before diagnostic.h. From-SVN: r160155
2010-06-02lto-streamer-in.c (input_gimple_stmt): Fix typo.Richard Guenther2-1/+5
2010-06-02 Richard Guenther <rguenther@suse.de> * lto-streamer-in.c (input_gimple_stmt): Fix typo. From-SVN: r160154
2010-06-02lto-wrapper.c (lto_wrapper_exit): Rename to ...Richard Guenther3-29/+76
2010-06-02 Richard Guenther <rguenther@suse.de> * lto-wrapper.c (lto_wrapper_exit): Rename to ... (lto_wrapper_cleanup): ... this. Do not exit. (fatal): Adjust. Exit here. (fatal_perror): Likewise. (fatal_signal): New function. (main): Set up signal handlers to cleanup temporary files. * Makefile.in (lto-wrapper.o): Adjust dependencies. From-SVN: r160153
2010-06-02re PR tree-optimization/44377 (ICE: gimple check: expected ↵Richard Guenther2-1/+5
gimple_return(error_mark), have gimple_call() in gimple_return_retval, at gimple.h:4311 with -fipa-pta) 2010-06-02 Richard Guenther <rguenther@suse.de> PR tree-optimization/44377 * tree-ssa-structalias.c (find_func_aliases): Fix typo. From-SVN: r160152
2010-06-022097.md (z10_fhex): Remove insn reservation.Andreas Krebbel4-79/+38
2010-06-02 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/2097.md (z10_fhex): Remove insn reservation. * config/s390/s390.md (UNSPEC_COPYSIGN): Remove unused constant. (*mov<mode>_64 TD_TF, *mov<mode>_31 TD_TF, *mov<mode>_64dfp DD_DF, *mov<mode>_64 DD_DF, *mov<mode>_31, mov<mode>): Remove load zero instruction. * config/s390/s390.c: Don't accept fp zeros as valid constants anymore. From-SVN: r160151
2010-06-02bitmap.c (bitmap_descriptor): Add search_iter.Jan Hubicka2-7/+27
* bitmap.c (bitmap_descriptor): Add search_iter. (bitmap_find_bit): Increment it. (print_statistics): Print it. From-SVN: r160148
2010-06-02tree-vect-slp.c (vect_create_mask_and_perm): Use gimple_build_call instead ↵Nathan Froyd2-9/+7
of gimple_build_call_vec. * tree-vect-slp.c (vect_create_mask_and_perm): Use gimple_build_call instead of gimple_build_call_vec. Delete unnecessary local variable. From-SVN: r160147
2010-06-02download_prerequisites: New script.Andrew Haley2-0/+42
2010-06-02 Andrew Haley <aph@redhat.com> * download_prerequisites: New script. From-SVN: r160146
2010-06-02gimplify.c (gimplify_body): Revert "Do not initialize RTL profiling" change ↵Steven Bosscher2-0/+9
from yesterday. * gimplify.c (gimplify_body): Revert "Do not initialize RTL profiling" change from yesterday. From-SVN: r160144
2010-06-02* c-ada-spec.c: Clean up redundant includes.Steven Bosscher2-10/+5
From-SVN: r160143
2010-06-02lto.exp (lto-link-and-maybe-run): Show the options in the link fail message.Iain Sandoe2-1/+6
* lib/lto.exp (lto-link-and-maybe-run): Show the options in the link fail message. From-SVN: r160141
2010-06-02re PR fortran/44360 (wrong-code: host-associated procedure wrongly favoured ↵Tobias Burnus4-0/+57
to use-associated one) 2010-06-02 Tobias Burnus <burnus@net-b.de> PR fortran/44360 * parse.c (gfc_fixup_sibling_symbols): Do not "fix" use-associated symbols. 2010-06-02 Tobias Burnus <burnus@net-b.de> PR fortran/44360 * gfortran.dg/use_13.f90: New test case. From-SVN: r160138
2010-06-02re PR fortran/44371 (STOP parsing rejects valid code)Jerry DeLisle2-0/+6
2010-06-01 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/44371 * gfortran.dg/error_stop_2.f08: Minor update. From-SVN: r160135
2010-06-02re PR fortran/44371 (STOP parsing rejects valid code)Jerry DeLisle3-0/+21
2010-06-01 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/44371 * gfortran.dg/error_stop_1.f08: New test. * gfortran.dg/error_stop_2.f08: New test. From-SVN: r160134
2010-06-02re PR fortran/44371 (STOP parsing rejects valid code)Jerry DeLisle2-3/+9
2010-06-01 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/44371 * match.c (gfc_match_stopcode): Move gfc_match_eos call inside condition block. From-SVN: r160133
2010-06-01DR 990Jason Merrill8-73/+166
DR 990 * call.c (add_list_candidates): Prefer the default constructor. (build_aggr_conv): Treat missing initializers like { }. * typeck2.c (process_init_constructor_record): Likewise. * init.c (expand_default_init): Use digest_init for direct aggregate initialization, too. * call.c (add_list_candidates): Split out... (build_user_type_conversion_1): ...from here. (build_new_method_call): And here. (implicit_conversion): Propagate LOOKUP_NO_NARROWING. From-SVN: r160132
2010-06-01re PR c++/44358 ([C++0x] initializer list can't convert to map)Jason Merrill4-0/+37
PR c++/44358 * call.c (build_list_conv): Set list-initialization flags properly. From-SVN: r160131
2010-06-02Daily bump.GCC Administrator1-1/+1
From-SVN: r160130
2010-06-02plugin-api.h (ld_plugin_tag): Add LDPT_OUTPUT_NAME.Rafael Avila de Espindola2-1/+6
2010-06-01 Rafael Espindola <espindola@google.com> * plugin-api.h (ld_plugin_tag): Add LDPT_OUTPUT_NAME. From-SVN: r160126
2010-06-01gimplify.c: Do not include except.h and optabs.h.Steven Bosscher82-140/+129
* 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
2010-06-01ipa-pure-const.c (local_pure_const): Do NORETURN discovery.Jan Hubicka4-0/+45
* ipa-pure-const.c (local_pure_const): Do NORETURN discovery. * testsuite/gcc.dg/noreturn-8.c: New testcase. From-SVN: r160124
2010-06-01noreturn-1_1.c: Remove dg-do annotations.Jan Hubicka3-3/+8
* 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
2010-06-01tree-cfgcleanup.c (fixup_noreturn_call): Break out from ...; remove return ↵Jan Hubicka7-47/+81
value. * 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
2010-06-01* emit-rtl.c (remove_insn): Fix thinko in prevoius patch.Jan Hubicka2-1/+6
From-SVN: r160121
2010-06-01tree.h (build_nt_call_list): Delete.Nathan Froyd3-18/+5
* tree.h (build_nt_call_list): Delete. * tree.c (build_nt_call_list): Delete. From-SVN: r160120
2010-06-01* typeck2.c (build_x_arrow): Make types_memoized a VEC.Nathan Froyd2-11/+16
From-SVN: r160119
2010-06-01objc-act.c (build_next_objc_exception_stuff): Give setjmp a varargs type ↵Nathan Froyd2-1/+6
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
2010-06-01fwprop.c: Make emit-rtl.h include last.Jan Hubicka18-125/+169
* 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
2010-06-01cgraph.h (tree_function_versioning): Update prototype.Jan Hubicka6-42/+154
* 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
2010-06-01gegenrtl.c: Remove unnecesary prototypes.Jan Hubicka3-91/+25
* 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
2010-06-01Undo inadvertent commit in rev 160105.Diego Novillo5-129/+48
From-SVN: r160107
2010-06-01* tree-switch-conversion.c (build_one_array): Make it readonly.Jan Hubicka2-0/+5
From-SVN: r160106
2010-06-01richi's fixes for c++ bootstrapDiego Novillo5-48/+129
From-SVN: r160105
2010-06-01Fix typo.Arnaud Charlet1-1/+1
From-SVN: r160104
2010-06-01Make-lang.in (CXX_C_OBJS): Add c-ada-spec.o.Arnaud Charlet4-4/+99
* 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
2010-06-01optabs.c (init_optabs): Guard all accesses to reinit.Richard Guenther5-3/+17
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
2010-06-01* gnat_ugn.texi: Improve doc on -fdump-ada-spec, mention limitations.Arnaud Charlet2-4/+21
From-SVN: r160101
2010-06-01invoke.texi: Mention -fdump-ada-spec.Arnaud Charlet10-13/+3377
* 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
2010-06-01re PR middle-end/43853 (FAIL: gcc.dg/lto/20090126-1 ↵Richard Guenther2-9/+35
c_lto_20090126-1_0.o-c_lto_20090126-1_0.o) 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
2010-06-01tree-cfg.c (verify_stmt): Do not skip could_throw test.Jan Hubicka3-20/+8
* 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
2010-06-01Move changelog entry to correct ChangeLog.Maxim Kuvyrkov2-8/+8
From-SVN: r160097
2010-06-01acinclude.m4, [...]: Support Bionic C library.Maxim Kuvyrkov8-10/+307
* 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