- 14 Sep, 2009 4 commits
-
-
From-SVN: r151683
Eric Botcazou committed -
2009-09-14 Andrew Stubbs <ams@codesourcery.com> * config/cpu/sh/atomicity.h (__exchange_and_add): Set earlyclobber constraint. From-SVN: r151682
Andrew Stubbs committed -
re PR bootstrap/41350 (FreeBSD bootstrap failure: unimplemented: Multiple EH personalities are supported only with assemblers supporting .cfi.personality directive) 2009-09-14 Richard Guenther <rguenther@suse.de> PR middle-end/41350 * dwarf2out.c (dwarf2out_begin_prologue): Adjust non-CFI asm EH personality path. * g++.dg/debug/dwarf-eh-personality-1.C: New testcase. From-SVN: r151681
Richard Guenther committed -
From-SVN: r151679
GCC Administrator committed
-
- 13 Sep, 2009 8 commits
-
-
2009-09-13 Richard Guenther <rguenther@suse.de> Rafael Avila de Espindola <espindola@google.com> * langhooks-def.h (LANG_HOOKS_EH_RUNTIME_TYPE): Define. (LANG_HOOKS_EH_PERSONALITY): Likewise. (LANG_HOOKS_INITIALIZER): Adjust. (lhd_pass_through_t): Declare. * langhooks.h (struct lang_hooks): Add eh_runtime_type and eh_personality. * langhooks.c (lhd_pass_through_t): New function. * dwarf2out.c (output_call_frame_info, dwarf2out_do_cfi_startproc, dwarf2out_begin_prologue): Use personality from current_function_decl. * expr.h (get_personality_function): Declare. * expr.c (get_personality_function): New function. (build_personality_function): Likewise. * libfuncs.h (libfunc_index): Remove LTI_eh_personality. (eh_personality_libfunc): Remove. * optabs.c (build_libfunc_function): New function split out from ... (init_one_libfunc): ... here. * tree.h (DECL_FUNCTION_PERSONALITY): New. (tree_function_decl): Add personality. (lhd_gcc_personality): Declare. (build_personality_function): Likewise. * tree.c (gcc_eh_personality_decl): New. (lhd_gcc_personality): New function. * except.h (lang_eh_runtime_type): Remove. (enum eh_personality_kind): New. (build_personality_function): Declare. (function_needs_eh_personality): Declare. * except.c (lang_eh_runtime_type): Remove. (function_needs_eh_personality): New function. (add_type_for_runtime): Call lang_hooks.type_for_runtime instead. (sjlj_emit_function_enter, output_function_exception_table): Use personality from current_function_decl. * tree-eh.c (lower_eh_constructs): Set DECL_FUNCTION_PERSONALITY. * tree-inline.c (tree_can_inline_p): Do not inline across different EH personalities. (expand_call_inline): Likewise. Adjust the callers EH personality. (tree_function_versioning): Copy DECL_FUNCTION_PERSONALITY. * cgraph.c (cgraph_add_new_function): Set DECL_FUNCTION_PERSONALITY. * Makefile.in (cgraph.o): Add $(EXCEPT_H) dependency. (c-parser.o): Likewise * c-tree.h (c_eh_initialized_p): Remove. (c_maybe_initialize_eh): Likewise. * c-decl.c (finish_decl): Don't call c_maybe_initialize_eh. (finish_decl): Don't call c_maybe_initialize_eh. (c_eh_initialized_p): Remove. (c_maybe_initialize_eh): Likewise. * c-parser.c (c_parser_omp_construct): Likewise. (c_parse_file): Initialize exception handling. objc/ * objc-act.c (objc_eh_runtime_type): Export. (objc_init_exceptions): Remove. Move warning code ... (objc_begin_try_stmt): ... here (objc_build_throw_stmt): ... and here. (objc_eh_personality_decl): New. (objc_eh_personality): New function. * objc-act.h (objc_eh_runtime_type): Declare. (objc_eh_personality): Likewise. * objc-lang.c (LANG_HOOKS_EH_RUNTIME_TYPE): Define. (LANG_HOOKS_EH_PERSONALITY): Likewise. cp/ * except.c (init_exception_processing): Do not set lang_eh_runtime_type. (choose_personality_routine): Do not set eh_personality_decl, set pragma_java_exceptions. * cp-lang.c (LANG_HOOKS_EH_RUNTIME_TYPE): Define. (LANG_HOOKS_EH_PERSONALITY): Likewise. (cp_eh_personality_decl): New. (cp_eh_personality): Likewise. * Make-lang.in (cp-lang.o): Add $(EXPR_H) and $(EXCEPT_H) dependencies. java/ * decl.c (do_nothing): Remove. (java_init_decl_processing): Do not set lang_eh_runtime_type. * Make-lang.in (lang.o): Add $(EXCEPT_H) dependency. * lang.c (java_eh_personality): New. (java_eh_personality_decl): Likewise. (LANG_HOOKS_EH_PERSONALITY): Define. ada/ * gcc-interface/misc.c (gnat_init_gcc_eh): Do not set lang_eh_runtime_type. (LANG_HOOKS_EH_PERSONALITY): Define. (gnat_eh_personality_decl): New. (gnat_eh_personality): Likewise. * Make-lang.in (misc.o): Add gt-ada-misc.h dependency. * config-lang.in (gtfiles): Add misc.c. fortran/ * f95-lang.c (gfc_maybe_initialize_eh): Do not init eh_personality_libfunc. Co-Authored-By: Rafael Avila de Espindola <espindola@google.com> From-SVN: r151676
Richard Guenther committed -
2009-09-13 Kai Tietz <kai.tietz@onevision.com> * config.host: Set for x64 mingw the option use_long_long_for_widest_fast_int to yes. From-SVN: r151674
Kai Tietz committed -
* cp/optimize.c (build_delete_destructor_body): New function. (maybe_clone_body): Call build_delete_destructor_body for deleting destructor. From-SVN: r151673
Wei Guozhi committed -
2009-09-13 Kai Tietz <kai.tietz@onevision.com> * configure.ac: Set for i?86-w64-mingw* need_64bit_hwint to yes. * configure: Regenerated. ChangeLog gcc 2009-09-13 Kai Tietz <kai.tietz@onevision.com> * config.gcc (tm_file): Remove i386/biarch32.h for i?86-w64-mingw* case. (i?86-*-mingw* andx86_64-*-mingw*): Add multilib support. * config.host: Set for cygwin and x86/x64 mingw the option use_long_long_for_widest_fast_int to yes. From-SVN: r151672
Kai Tietz committed -
* tree.h (DECL_IGNORED_P): Document further effect for FUNCTION_DECL. * dbxout.c (dbxout_function_end): Do not test DECL_IGNORED_P. (dbxout_begin_function): Likewise. * final.c (dwarf2_debug_info_emitted_p): New predicate. (final_start_function): Do not emit debug info if DECL_IGNORED_P is set on the function. (final_end_function): Likewise. (final_scan_insn): Likewise. (rest_of_handle_final): Likewise. * varasm.c (assemble_start_function): Likewise. * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Likewise. From-SVN: r151670
Eric Botcazou committed -
2009-09-12 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/41328 * gfortran.dg/cr_lf.f90: New test. From-SVN: r151666
Jerry DeLisle committed -
2009-09-12 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/41328 * io/transfer.c (read_sf): Adjust fbuf position and do proper fbuf reads to traverse CR, CR-LF, and LF style line ends. From-SVN: r151665
Jerry DeLisle committed -
From-SVN: r151664
GCC Administrator committed
-
- 12 Sep, 2009 9 commits
-
-
gcc/ * dbgcnt.c (dbg_cnt_process_single_pair): constify. * opts.c (common_handle_option): constify. gcc/cp/ * repo.c (extract_string, get_base_filename, init_repo): constify. libcpp/ * directives.c (cpp_define): constify. From-SVN: r151661
Jason Merrill committed -
From-SVN: r151658
Gerald Pfeifer committed -
From-SVN: r151656
Gerald Pfeifer committed -
* doc/invoke.texi (-fstrict-aliasing): Correct two examples. Use an imperative sentence. From-SVN: r151654
Akim Demaille committed -
2009-09-12 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/41219 * io/write.c (write_a_char4): Use correct type for crlf constant. From-SVN: r151653
Jerry DeLisle committed -
* MAINTAINERS (Write After Approval): Update my e-mail address, and move from from here... (Waiting for paperwork): To here. From-SVN: r151652
Joern Rennecke committed -
From-SVN: r151651
Joern Rennecke committed -
* gsstruct.def (DEFGSSTRUCT): Remove printable-name argument; add structure-name and has-tree-operands arguments; update all entries. * gimple.def (DEFGSCODE): Replace 3rd argument with GSS_symbol; update all entries. * gimple.c (gimple_ops_offset_): Use HAS_TREE_OP argument. (gsstruct_code_size): New. (gss_for_code_): New. (gss_for_code): Remove. (gimple_size): Rewrite using gsstruct_code_size. (gimple_statement_structure): Move to gimple.h. * gimple.h (gimple_ops_offset_, gss_for_code_): Declare. (gss_for_code, gimple_statement_structure): New. (gimple_ops): Use new arrays; tidy. From-SVN: r151650
Richard Henderson committed -
From-SVN: r151649
GCC Administrator committed
-
- 11 Sep, 2009 16 commits
-
-
* config/pa/predicates.md (symbolic_operand): Require a CONST symbolic operand to be a PLUS expression. * config/pa/pa.c (pa_secondary_reload): Likewise. From-SVN: r151646
John David Anglin committed -
From-SVN: r151644
Jakub Jelinek committed -
* print-rtl.c (print_rtx): Use JUMP_LABEL (in_rtx) instead of XEXP (in_rtx, 8). From-SVN: r151643
Jakub Jelinek committed -
* include/parallel/multiway_merge.h (multiway_merge_exact_splitting): Deallocate borders correctly. (parallel_multiway_merge): Remove unnecessarily complicated allocation, random access iterators are default-constructible; deallocate ne_seqs correctly. From-SVN: r151640
Johannes Singler committed -
* doc/extend.texi (node Function Attributes): Document l2 function attribute. (node Blackfin Variable Attributes): Document l2 variable attributes. From-SVN: r151639
Bernd Schmidt committed -
2009-09-11 Loren J. Rittle <ljrittle@acm.org> * configure.ac (*-*-freebsd*): Enable check for __stack_chk_fail. * configure: Regenerate. From-SVN: r151638
Loren J. Rittle committed -
config.gcc (*-*-freebsd*): Enable default_use_cxa_atexit to match the system compiler's configuration at... 2009-09-11 Loren J. Rittle <ljrittle@acm.org> * config.gcc (*-*-freebsd*): Enable default_use_cxa_atexit to match the system compiler's configuration at inflection point. Add comment to remark a remaining difference with system compiler. From-SVN: r151636
Loren J. Rittle committed -
2009-09-11 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/41316 * include/bits/forward_list.h (_Fwd_list_node_base<>::_M_sort_after): Remove. (forward_list<>::sort(_Comp)): Only declare. (forward_list<>::sort()): Forward to the latter. * include/bits/forward_list.tcc (_Fwd_list_node_base<>::_M_sort_after): Remove definition. (forward_list<>::sort(_Comp)): Define. * testsuite/23_containers/forward_list/requirements/dr438/ assign_neg.cc: Adjust dg-error line number. * testsuite/23_containers/forward_list/requirements/dr438/ insert_neg.cc: Likewise. * testsuite/23_containers/forward_list/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/forward_list/requirements/dr438/ constructor_2_neg.cc: Likewise. From-SVN: r151635
Paolo Carlini committed -
* config/bfin/bfin.c (bfin_expand_call): Handle L2 functions. (bfin_handle_l2_attribute): New. (bfin_attribute_table): Add l2 attribute. From-SVN: r151634
Bernd Schmidt committed -
From-SVN: r151632
Uros Bizjak committed -
PR middle-end/41275 * tree-inline.c (remap_decls): Don't put DECL_EXTERNAL decls on the local_decls list. testsuite/ * g++.dg/tree-ssa/pr41275.C: New test. From-SVN: r151631
Michael Matz committed -
PR debug/41276 PR debug/41307 * cselib.c (cselib_expand_value_rtx_cb): Document callback interface. (cselib_expand_value_rtx_1): Use callback for SUBREGs. Adjust for VALUEs, to implement the documented interface. * var-tracking.c (vt_expand_loc_callback): Handle SUBREGs. Adjust for VALUEs and anything else, to implement the documented interface. From-SVN: r151628
Alexandre Oliva committed -
boehm-gc/: * Makefile.am (libgcjgc_la_LINK, gctest_LINK): New. (gctest_LDADD): Depend on libgcjgc.la instead of ./libgcjgc.la, so that library dependency resolution works with portable make. * Makefile.in: Regenerate. libgfortran/: * Makefile.am (libgfortranbegin_la_LINK): New. * Makefile.in: Regenerate. libgomp/: * Makefile.am (libgomp_la_LINK): New. * Makefile.in: Regenerate. libjava/: * Makefile.am (libgij_la_LINK, libjvm_la_LINK): New. * Makefile.in: Regenerate. libstdc++-v3/: * src/Makefile.am (libstdc___la_LINK): New. * src/Makefile.in: Regenerate. From-SVN: r151627
Ralf Wildenhues committed -
rs6000.h (DATA_ALIGNMENT): Check that we are dealing with actual SPE/paired vector modes before using... * config/rs6000/rs6000.h (DATA_ALIGNMENT): Check that we are dealing with actual SPE/paired vector modes before using 64-bit alignment. Check that TYPE is a REAL_TYPE for TARGET_E500_DOUBLE. From-SVN: r151626
Nathan Froyd committed -
* config/mep/mep.md (eh_epilogue): Defer until after epilogue is emitted. * config/mep/mep.h (LEGITIMATE_CONSTANT_P): New. * config/mep/mep.c (mep_legitimate_constant_p): New. * config/mep/mep-protos.h: Prototype it. From-SVN: r151625
DJ Delorie committed -
From-SVN: r151624
GCC Administrator committed
-
- 10 Sep, 2009 3 commits
-
-
2009-09-11 Janus Weil <janus@gcc.gnu.org> PR fortran/41242 * resolve.c (resolve_ordinary_assign): Don't call resolve_code, to avoid that subsequent codes are resolved more than once. (resolve_code): Make sure that type-bound assignment operators are resolved correctly. 2009-09-11 Janus Weil <janus@gcc.gnu.org> PR fortran/41242 * gfortran.dg/proc_ptr_comp_21.f90: New. From-SVN: r151620
Janus Weil committed -
From-SVN: r151619
Richard Henderson committed -
* tree.c (chain_index): New fn. * tree.h: Declare it. From-SVN: r151618
Jason Merrill committed
-