- 01 Jun, 2010 24 commits
-
-
* 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 -
From-SVN: r160121
Jan Hubicka committed -
* tree.h (build_nt_call_list): Delete. * tree.c (build_nt_call_list): Delete. From-SVN: r160120
Nathan Froyd committed -
From-SVN: r160119
Nathan Froyd committed -
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. * 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. (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. (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 -
From-SVN: r160107
Diego Novillo committed -
From-SVN: r160106
Jan Hubicka committed -
From-SVN: r160105
Diego Novillo committed -
From-SVN: r160104
Arnaud Charlet committed -
* 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 -
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 -
From-SVN: r160101
Arnaud Charlet committed -
* 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 -
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. * 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 -
From-SVN: r160097
Maxim Kuvyrkov committed -
* 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 -
* 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 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 -
* 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 -
From-SVN: r160092
GCC Administrator committed
-
- 31 May, 2010 15 commits
-
-
2010-05-31 Steven G. Kargl <kargl@gcc.gnu.org> * fortran/gfortran.texi: Fix typos in description of variable-format- expressions. From-SVN: r160086
Steven G. Kargl committed -
2010-05-31 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/36928 * dependency.c (gfc_check_section_vs_section): Check for interleaving array assignments without conflicts. 2010-05-31 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/36928 * gfortran.dg/dependency_27.f90: New test. * gfortran.dg/array_assign_1.F90: New test. From-SVN: r160085
Thomas Koenig committed -
re PR target/44338 (-mno-fused-madd causes FAIL: gcc.target/i386/sse-23.c (internal compiler error)) PR target/44338 * config/i386/sse.md (fma4i_fmadd<mode>4256, fma4i_fmsub<mode>4256, fma4i_fnmadd<mode>4256, fma4i_fnmsub<mode>4256, fma4i_fmadd<mode>4, fma4i_fmsub<mode>4, fma4i_fnmadd<mode>4, fma4i_fnmsub<mode>4, fma4i_vmfmadd<mode>4, fma4i_vmfmsub<mode>4, fma4i_vmfnmadd<mode>4, fma4i_vmfnmsub<mode>4, fma4i_fmaddsubv8sf4, fma4i_fmaddsubv4df4, fma4i_fmaddsubv4sf4, fma4i_fmaddsubv2df4, fma4i_fmsubaddv8sf4, fma4i_fmsubaddv4df4, fma4i_fmsubaddv4sf4, fma4i_fmsubaddv2df4): Guard only with TARGET_FMA4 instead of TARGET_FMA4 && TARGET_FUSED_MADD. * gcc.target/i386/sse-24.c: New test. From-SVN: r160083
Jakub Jelinek committed -
2010-05-31 Jonathan Wakely <jwakely.gcc@gmail.com> PR libstdc++/43820 * include/bits/shared_ptr_base.h: Require complete type. * include/tr1/shared_ptr.h: Likewise. * testsuite/20_util/shared_ptr/cons/43820.cc: New. * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820.cc: New. From-SVN: r160082
Jonathan Wakely committed -
From-SVN: r160081
Jan Hubicka committed -
* gimple.c (gimple_call_builtin_p): New function. * gimple.h (gimple_call_builtin_p): Declare. * tree-cfg.c (make_edges): Produce edge from BUILT_IN_RETURN to exit. (execute_warn_function_return): BUILT_IN_RETURN is return. (split_critical_edges): Return edges are not critical. (is_ctrl_altering_stmt): Builtin_in_return is altering. (gimple_verify_flow_info): Handle built_in_return. (execute_warn_function_return): Handle built_in_return. * ipa-pure-const.c (check_call): Ignore builtin_return. * gcc.dg/builtin-apply4.c: Compile with -Wmissing-return. From-SVN: r160079
Jan Hubicka committed -
* gimple.c (gimple_call_builtin_p): New function. * gimple.h (gimple_call_builtin_p): Declare. * tree-cfg.c (make_edges): Produce edge from BUILT_IN_RETURN to exit. (execute_warn_function_return): BUILT_IN_RETURN is return. (split_critical_edges): Return edges are not critical. (is_ctrl_altering_stmt): Builtin_in_return is altering. (gimple_verify_flow_info): Handle built_in_return. (execute_warn_function_return): Handle built_in_return. * ipa-pure-const.c (check_call): Ignore builtin_return. * gcc.dg/builtin-apply4.c: Compile with -Wmissing-return. From-SVN: r160078
Jan Hubicka committed -
PR middle-end/44337 * expr.c (expand_assignment): Don't store anything for out-of-bounds array accesses with non-MEM. * gcc.dg/pr44337.c: New test. From-SVN: r160076
Jakub Jelinek committed -
PR tree-optimization/44182 * tree-inline.c (copy_edges_for_bb): Don't split bb if a stmt that newly needs to end a bb is followed by debug stmts, instead return true from the function at the end. (maybe_move_debug_stmts_to_successors): New function. (copy_cfg_body): Call it if copy_edges_for_bb returned true. * g++.dg/debug/pr44182.C: New test. From-SVN: r160074
Jakub Jelinek committed -
2010-05-31 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/basic_string.h (front, back): Add. * include/debug/string: Adjust. * include/ext/vstring.h (front, back): Tweak the implementation to follow more closely the letter of the specs. * testsuite/21_strings/basic_string/element_access/char/ front_back.cc: New. * testsuite/21_strings/basic_string/element_access/wchar_t/ front_back.cc: Likewise. * config/abi/pre/gnu.ver: Export new symbols. * testsuite/util/testsuite_abi.cc: Adjust. * configure.ac: Bump minor version to 6:15:0. * configure: Regenerate. From-SVN: r160071
Paolo Carlini committed -
2010-05-31 Kai Tietz <kai.tietz@onevision.com> PR target/44161 * config/i386/cygming.h (SUBTARGET_OVERRIDE_OPTIONS): Handle flag_pic. From-SVN: r160070
Kai Tietz committed -
cgraphunit.c (cgraph_decide_is_function_needed): Really return false for nested functions in non-optimized compilation. * cgraphunit.c (cgraph_decide_is_function_needed): Really return false for nested functions in non-optimized compilation. From-SVN: r160068
Eric Botcazou committed -
2010-05-31 Richard Guenther <rguenther@suse.de> * tree-ssa-structalias.c (find_func_aliases): Handle BUILT_IN_RETURN. From-SVN: r160067
Richard Guenther committed -
* objc-act.c (synth_module_prologue): Use build_function_type_list instead of build_function_type. (build_module_initializer_routine): Likewise. (build_next_objc_exception_stuff): Likewise. (build_objc_exception_stuff): Likewise. From-SVN: r160066
Nathan Froyd committed -
From-SVN: r160065
GCC Administrator committed
-
- 30 May, 2010 1 commit
-
-
From-SVN: r160061
Jan Hubicka committed
-