- 14 Dec, 2010 3 commits
-
-
* config/m32c/m32c.h (ENDFILE_SPEC, LINK_SPEC, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Define. * config.gcc (m32c-*-rtems*, m32c-*-elf*): Don't use svr4.h. From-SVN: r167780
Joseph Myers committed -
gcc/ PR rtl-optimization/44374 Reapply patch with fixes. * basic-block.h (enum bb_flags): Add BB_MODIFIED. * df-core.c (df_set_bb_dirty): Set it. * ifcvt.c (find_memory): Remove function. (dead_or_predicable): Use can_move_insns_across. * df.h (can_move_insns_across): Declare function. * cfgcleanup.c (block_was_dirty): New static variable. (flow_find_head_matching_sequence): Test for epilogue notes. (try_crossjump_bb, try_forward_edges): Test BB_MODIFIED flag rather than df_get_bb_dirty. (try_head_merge_bb): New static function. (try_optimize_cfg): Call it. Call df_analyze if block_was_dirty is set. * df-problems.c: Include "target.h" (df_simulate_find_uses): New static function. (MEMREF_NORMAL, MEMREF_VOLATILE): New macros. (find_memory, find_memory_store): New static functions. (can_move_insns_across): New function. * Makefile.in (df-problems.o): Update dependencies. gcc/testsuite/ PR rtl-optimization/44374 Reapply patch with fixes. * gcc.target/arm/headmerge-1.c: New test. * gcc.target/arm/headmerge-2.c: New test. * gcc.target/i386/headmerge-1.c: New test. * gcc.target/i386/headmerge-2.c: New test. From-SVN: r167779
Bernd Schmidt committed -
From-SVN: r167778
GCC Administrator committed
-
- 13 Dec, 2010 28 commits
-
-
* config/xtensa/elf.h (SIZE_TYPE, PTRDIFF_TYPE): Define. (DBX_REGISTER_NUMBER): Undefine. * config/xtensa/linux.h (SIZE_TYPE, PTRDIFF_TYPE): Define. (DBX_REGISTER_NUMBER): Undefine. * config.gcc (xtensa*-*-elf*, xtensa*-*-linux*): Don't use svr4.h. From-SVN: r167774
Joseph Myers committed -
* gospec.c (lang_specific_driver): Add a -o option if not linking and there is no -o option already. From-SVN: r167773
Ian Lance Taylor committed -
From-SVN: r167772
Joseph Myers committed -
From-SVN: r167771
Joseph Myers committed -
PR c++/46873 PR c++/46877 * semantics.c (build_data_member_initialization): Handle cv-qualified data member. From-SVN: r167770
Jason Merrill committed -
From-SVN: r167769
Jason Merrill committed -
2010-12-13 Tobias Burnus <burnus@net-b.de> PR fortran/46625 * gdtoa/gdtoaimp.h: Mangle internal functions by prefixing them with __quadmath. Don't use gdtoa's strcp(y). * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp. * gdtoa/misc.c (strcpy): Renamed from strcp and only use if NO_STRING_H is set. * quadmath-imp.h (__quadmath_rem_pio2q, * __quadmath_kernel_sincosq __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added __quadmath prefix to internal functions. * math/cosq.c (cosq): Ditto. * math/sinq.c (cosq): Ditto. * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto. * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): * Ditto. * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto. * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto. From-SVN: r167768
Tobias Burnus committed -
2010-12-13 Janus Weil <janus@gcc.gnu.org> PR fortran/46201 * trans-expr.c (gfc_conv_procedure_call): Handle procedure pointer components called on a dimensionful base object. 2010-12-13 Janus Weil <janus@gcc.gnu.org> PR fortran/46201 * gfortran.dg/proc_ptr_comp_27.f90: New. From-SVN: r167767
Janus Weil committed -
PR bootstrap/46650 * system.h: Include cstring for cxx bootstrap. Co-Authored-By: Joseph Myers <joseph@codesourcery.com> From-SVN: r167764
Jack Howarth committed -
decl.c (gnat_to_gnu_entity): Build a stub DECL for the dummy fat pointer type in the unconstrained array case. * gcc-interface/decl.c (gnat_to_gnu_entity) <E_General_Access_Type>: Build a stub DECL for the dummy fat pointer type in the unconstrained array case. * gcc-interface/utils.c (update_pointer_to): Set the DECL_ORIGINAL_TYPE for all the variants in the fat pointer case. From-SVN: r167758
Eric Botcazou committed -
* gcc-interface/trans.c (can_be_lower_p): New predicate. (Loop_Statement_to_gnu): Do not generate the entry condition if we know that it will be true. From-SVN: r167757
Eric Botcazou committed -
* testsuite/gcc.target/i386/max-stack-align.c. Removed testcase. From-SVN: r167756
Ahmad Sharif committed -
re PR lto/46879 (ICE: in separate_decls_in_region_debug_bind, at tree-parloops.c:778 with -flto -ftree-parallelize-loops -gdwarf-3) PR lto/46879 * lto-streamer-out.c (output_gimple_stmt): Never replace first GIMPLE_DEBUG argument with MEM_REF. From-SVN: r167755
Jakub Jelinek committed -
PR debug/46867 * var-tracking.c (emitted_notes, string_pointer_flags): Removed. (emit_note_insn_var_location): Remove ENABLE_RTL_CHECKING verification. (vt_emit_notes): Don't initialize and destroy emitted_notes. * gcc.dg/pr46867.c: New test. From-SVN: r167754
Jakub Jelinek committed -
PR middle-end/45388 * decl2.c (start_objects): Do not generate collect2 recognicable name for static ctor. * ipa.c (cgraph_build_static_cdtor_1): Break out from ... ; add FINAL parameter. (cgraph_build_static_cdtor): ... here. (build_cdtor): Use cgraph_build_static_cdtor_1. From-SVN: r167753
Jan Hubicka committed -
gcc/ PR target/46040 * config.gcc (arm*-*-linux-*eabi): Use bpabi-lib.h. (arm*-*-uclinux*eabi, arm*-*-eabi*): Likewise. libgcc/ PR target/46040 * config/arm/bpabi.h: Rename to... * config/arm/bpabi-lib.h: ...this. From-SVN: r167751
Nathan Froyd committed -
2010-12-13 Janus Weil <janus@gcc.gnu.org> PR fortran/46841 * trans-expr.c (gfc_trans_subcomponent_assign): Handle array-valued procedure pointer components. 2010-12-13 Janus Weil <janus@gcc.gnu.org> PR fortran/46841 * gfortran.dg/proc_ptr_comp_26.f90: New. From-SVN: r167750
Janus Weil committed -
* config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate. * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise. From-SVN: r167748
Rainer Orth committed -
From-SVN: r167747
Eric Botcazou committed -
* config/v850/v850.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Define. * config.gcc (v850e1-*-*, v850e-*-*, v850-*-*): Don't use svr4.h. From-SVN: r167746
Joseph Myers committed -
* config.gcc (s390-*-linux*, s390x-*-linux*, s390x-ibm-tpf*): Don't use svr4.h. From-SVN: r167745
Joseph Myers committed -
* config/mn10300/linux.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Undefine. * config/mn10300/mn10300.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Define. * config.gcc (mn10300-*-*): Don't use svr4.h. From-SVN: r167744
Joseph Myers committed -
* config/m68k/linux.h (DBX_REGISTER_NUMBER): Undefine and redefine. (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Define. * config.gcc (m68k-*-uclinux*, m68k-*-linux*): Don't use svr4.h. From-SVN: r167743
Joseph Myers committed -
PR fortran/46884 * symbol.c (gfc_new_charlen): If old_cl is non-NULL, put it at the ns->old_cl_list spot in the chain rather than at ns->cl_list. * gfortran.dg/pr46884.f: New test. From-SVN: r167742
Jakub Jelinek committed -
libobjc: * encoding.c (_darwin_rs6000_special_round_type_align): New. (darwin_rs6000_special_round_type_align): Adjust to use new routine. testsuite: * objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c: Adjust XFAILs. From-SVN: r167741
Iain Sandoe committed -
gcc/ChangeLog: PR debug/46576 * jump.c (mark_all_labels): Skip debug insns. gcc/testsuite/ChangeLog: PR debug/46576 * gfortran.dg/debug/pr46576.f: New. From-SVN: r167738
Alexandre Oliva committed -
gcc/ChangeLog: PR debug/46782 * cfgcleanup.c (try_forward_edges): Skip debug insns. gcc/testsuite/ChangeLog: PR debug/46782 * gcc.dg/debug/pr46782.c: New. From-SVN: r167737
Alexandre Oliva committed -
From-SVN: r167736
GCC Administrator committed
-
- 12 Dec, 2010 7 commits
-
-
2010-12-12 Thomas Koenig <tkoenig@gcc.gnu.org> * dump-parse-tree.c (show_expr): Add space for parens. From-SVN: r167732
Thomas Koenig committed -
2010-12-12 Janus Weil <janus@gcc.gnu.org> PR fortran/46809 * resolve.c (resolve_select_type): Set the location of the first argument when generating the EXTENDS_TYPE_OF call. 2010-12-12 Janus Weil <janus@gcc.gnu.org> PR fortran/46809 * gfortran.dg/pointer_check_8.f90: New. From-SVN: r167731
Janus Weil committed -
* varasm.c (default_function_section): Check flag_reorder_functions and targetm.have_named_sections. * config/darwin.c (darwin_function_section): Check flag_reorder_functions. Co-Authored-By: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> From-SVN: r167727
Jan Hubicka committed -
PR target/46179 * gcc/config/m68k/m68k.c (handle_move_double): Insert calls to m68k_final_prescan_insn to clean up @TLS operand syntax. From-SVN: r167724
Finn Thain committed -
2010-12-12 Paolo Carlini <paolo.carlini@oracle.com> PR c++/46901 * typeck.c (convert_for_assignment): Fix typo in warning message. From-SVN: r167723
Paolo Carlini committed -
2010-12-12 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/util/testsuite_abi.cc (check_version): Don't push back GLIBCXX_3.4.16, unused. From-SVN: r167722
Paolo Carlini committed -
From-SVN: r167721
GCC Administrator committed
-
- 11 Dec, 2010 2 commits
-
-
2010-12-11 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/46705 * gfortran.dg/continuation_12.f90: New test. From-SVN: r167717
Jerry DeLisle committed -
2010-12-11 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/46705 * gfortran.h: New enum gfc_instring. (gfc_next_char_literal): Update prototype. * scanner.c (gfc_next_char_literal): Use new enum. Only give missing '&' warning for INSTRING_WARN. (gfc_next_char): Use new enum. (gfc_gobble_whitespace): Likewise. * io.c (next_char): Use new enum. (next_char_not_space): Likewise. (format_lex): Likewise. * match.c (gfc_match_parens): Likewise. (gfc_match_special_char): Likewise. (gfc_match_name_C): Likewise. * parse.c (next_fixed): Likewise. * primary.c (match_hollerith_constant): Likewise. (next_string_char): Likewise. From-SVN: r167716
Jerry DeLisle committed
-