- 01 Jun, 2010 8 commits
-
-
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 17 commits
-
-
From-SVN: r160061
Jan Hubicka committed -
2010-05-30 Janus Weil <janus@gcc.gnu.org> * gcc/fortran/gfortran.h (CLASS_DATA): New macro for accessing the $data component of a class container. * gcc/fortran/decl.c (attr_decl1): Use macro CLASS_DATA. * gcc/fortran/expr.c (gfc_check_pointer_assign,gfc_check_assign_symbol, gfc_has_ultimate_allocatable,gfc_has_ultimate_pointer): Ditto. * gcc/fortran/interface.c (matching_typebound_op): Ditto. * gcc/fortran/match.c (gfc_match_allocate, gfc_match_deallocate): Ditto. * gcc/fortran/parse.c (parse_derived): Ditto. * gcc/fortran/primary.c (gfc_match_varspec, gfc_variable_attr, gfc_expr_attr): Ditto. * gcc/fortran/resolve.c (resolve_structure_cons, find_array_spec, resolve_deallocate_expr, resolve_allocate_expr, resolve_select_type, resolve_fl_var_and_proc, resolve_typebound_procedure, resolve_fl_derived): Ditto. * gcc/fortran/symbol.c (gfc_type_compatible): Restructured. * gcc/fortran/trans-array.c (structure_alloc_comps): Use macro CLASS_DATA. * gcc/fortran/trans-decl.c (gfc_get_symbol_decl, gfc_trans_deferred_vars): Ditto. * gcc/fortran/trans-stmt.c (gfc_trans_allocate): Ditto. From-SVN: r160060
Janus Weil committed -
2010-05-30 Richard Guenther <rguenther@suse.de> PR lto/42975 * tree-eh.c (execute_cleanup_eh_1): Copy from execute_cleanup_eh. (execute_cleanup_eh): Clear DECL_FUNCTION_PERSONALITY if it is no longer needed. From-SVN: r160059
Richard Guenther committed -
2010-05-30 Iain Sandoe <iains@gcc.gnu.org> * config/darwin.c (output_objc_section_asm_op): Add comment. (name_needs_quotes): Add '_' to list of valid comment chars. (machopic_output_function_base_name): Remove unneeded quotes. (darwin_encode_section_info): Adjust asm whitespace. * config/i386/darwin.h (ASM_OUTPUT_COMMON): Adjust asm tabs. (ASM_OUTPUT_LOCAL): Ditto. * config/rs6000/darwin.h (ASM_OUTPUT_COMMON): Ditto. * config/darwin.h (GLOBAL_ASM_OP): Ditto. * config/darwin9.h (ASM_OUTPUT_ALIGNED_COMMON): Ditto. From-SVN: r160058
Iain Sandoe committed -
* config/rs6000/rs6000.c (rs6000_output_function_entry): Use RS6000_OUTPUT_BASENAME unconditionally. (rs6000_output_function_epilogue): Likewise. From-SVN: r160057
Eric Botcazou committed -
* toplev.c (wrapup_global_declaration_2): Avoid creation of new varpool nodes From-SVN: r160056
Jan Hubicka committed -
2010-05-30 Richard Guenther <rguenther@suse.de> * tree-cfg.c (verify_gimple_assign_single): Implement verification for COND_EXPR rhs. From-SVN: r160055
Richard Guenther committed -
* cgraph.h (cgraph_dump_file): Declare. * cgraphunit.c (cgraph_dump_file): Export. * ipa.c (dump_cgraph_node_set, dump_varpool_node_set): Be less verbose. * lto.c (promote_var, promote_fn, lto_wpa_write_files): Dump partitioning decisions. From-SVN: r160053
Jan Hubicka committed -
* dwarf2out.c (reference_to_unused, premark_types_used_by_global_vars_helper): Avoid creating of new varool nodes. From-SVN: r160052
Jan Hubicka committed -
* cgraph.h (cgraph_node_cannot_return, cgraph_edge_cannot_lead_to_return): New functions. * cgraph.c (cgraph_node_cannot_return, cgraph_edge_cannot_lead_to_return): Use them. * ipa-pure-const.c (pure_const_names): New static var. (check_call): Handle calls not leading to return. (pure_const_read_summary): Dump info read. (propagate): Dump info about propagation process; ignore side effects of functions not leading to exit; fix handling of pure functions. From-SVN: r160051
Jan Hubicka committed -
* config/i386/i386.c (pro_epilogue_adjust_stack): Use EBP for tail call epilogues. From-SVN: r160050
Jan Hubicka committed -
decl.c (gnat_to_gnu_entity): Reuse the TYPE_DECL of the equivalent type instead of building a new one. * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Task_Type>: Reuse the TYPE_DECL of the equivalent type instead of building a new one. From-SVN: r160049
Eric Botcazou committed -
* gcc-interface/decl.c (gnat_to_gnu_entity): Adjust warning message. Fix nits in comments. * gcc-interface/misc.c (gnat_init_gcc_eh): Likewise. * gcc-interface/trans.c (gigi): Likewise. (Attribute_to_gnu): Likewise. (Case_Statement_to_gnu): Likewise. (gnat_to_gnu): Adjust warning message. * gcc-interface/utils.c (create_var_decl_1): Fix nits in comments. (build_vms_descriptor32): Likewise. From-SVN: r160048
Eric Botcazou committed -
* passes.c (ipa_write_optimization_summaries_1, ipa_write_summaries_2, ipa_read_summaries_1, ipa_read_optimization_summaries_1): Initilalize dump files. From-SVN: r160047
Jan Hubicka committed -
* ipa.c (cgraph_remove_unreachable_node): Walk references of correct node; remove references in node we no longer keep in cgrpah but need body of. From-SVN: r160046
Jan Hubicka committed -
* cp-tree.h (cp_build_function_call_nary): Declare. * typeck.c (cp_build_function_call_nary): Define. * decl.c (register_dtor_fn): Use it instead of cp_build_function_call. (cxx_maybe_build_cleanup): Likewise. * decl2.c (generate_ctor_or_dtor_function): Likewise. * except.c (do_get_exception_ptr): Likewise. (do_begin_catch): Likewise. (do_allocate_exception): Likewise. (do_free_exception): Likewise. (build_throw): Likewise. Use cp_build_function_call_vec instead of cp_build_function_call. (do_end_catch): Likewise. From-SVN: r160045
Nathan Froyd committed -
From-SVN: r160044
GCC Administrator committed
-