- 12 Nov, 2008 21 commits
-
-
PR target/27880 * configure.ac (GCC_CHECK_UNWIND_GETIPINFO): Use this macro to set HAVE_GETIPINFO. * aclocal.m4: Include ../config/unwind_ipinfo.m4. * configure: Regenerate. * config.in: Regenerate. From-SVN: r141805
Steve Ellcey committed -
PR target/27880 * config/unwind_ipinfo.m4 (GCC_CHECK_UNWIND_GETIPINFO): Change from link test to target based test. * libstdc++/v3/configure.ac: Move call to GCC_CHECK_UNWIND_GETIPINFO. * libstdc++/v3/configure: Regenerate. * libjava/configure: Regenerate. From-SVN: r141804
Steve Ellcey committed -
2008-11-12 Jack Howarth <howarth@bromo.med.uc.edu> PR bootstrap/38010 * gcc/config.gcc: Use darwin9.h on darwin10 as well. From-SVN: r141803
Jack Howarth committed -
Revert: 2008-10-21 Jakub Jelinek <jakub@redhat.com> * gimplify.c (gimplify_expr): Drop TREE_OVERFLOW from INTEGER_CSTs. From-SVN: r141802
Jakub Jelinek committed -
PR libgcj/33764 libjava/ * configure.ac (INSTALL_BINARIES): New AM_CONDITIONAL. * Makefile.am: If not INSTALL_BINARIES, use noinst_PROGRAMS instead of bin_PROGRAMS for binaries. * configure: Regenerated. * Makefile.in: Regenerated. libjava/classpath/ * configure.ac (INSTALL_BINARIES): New AM_CONDITIONAL. * tools/Makefile.am: If not INSTALL_BINARIES, use noinst_PROGRAMS instead of bin_PROGRAMS for binaries. * configure: Regenerated. * tools/Makefile.in: Regenerated. From-SVN: r141801
Jakub Jelinek committed -
re PR c++/38007 (g++ instantiate same operator twice due to bitfield in -O0 mode, causing symbol already defined assembler error) PR c++/38007 gcc/cp/ * typeck.c (cp_build_modify_expr): Update bitfield handling. gcc/ * c-common.c (c_common_signed_or_unsigned_type): Remove C++ special casing. gcc/testsuite/ * g++.dg/conversion/bitfield10.C: New test. * g++.dg/warn/pr35635.C (func1): Accept additional warning. * g++.old-deja/g++.mike/enum1.C: Expect warn about assignment. * g++.dg/expr/bitfield9.C: Pass -Wno-overflow. From-SVN: r141800
Jason Merrill committed -
* config/avr/avr.c (avr_mcu_t): Add atmega16hvb, atmega32hvb, atmega4hvd, atmega8hvd, atmega64c1, atmega64m1, atmega16u4 and atmega32u6 devices. * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.). * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.). From-SVN: r141799
Anatoly Sokolov committed -
2008-11-12 Tobias Burnus <burnus@net-b.de> PR fortran/38065 PR fortran/38094 * gfortran.dg/private_type_4.f90: Add -std=f95 option. From-SVN: r141798
Tobias Burnus committed -
2008-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> * gcc/config/s390/s390.h (INITIAL_FRAME_ADDRESS_RTX): Remove packed-stack special handling. (FRAME_ADDR_RTX): Add definition. 2008-11-12 Andreas Krebbel <krebbel1@de.ibm.com> * gcc.target/s390/frame-addr1.c: New testcase. * gcc.target/s390/frame-addr2.c: New testcase. * gcc.target/s390/return-addr1.c: New testcase. * gcc.target/s390/return-addr2.c: New testcase. From-SVN: r141796
Andreas Krebbel committed -
2008-11-12 Jack Howarth <howarth@bromo.med.uc.edu> PR testsuite/38008 * gcc.c-torture/execute/builtins/lib/sprintf.c: Make sprintf call more portable for darwin10. From-SVN: r141795
Jack Howarth committed -
2008-11-12 Jack Howarth <howarth@bromo.med.uc.edu> PR testsuite/37202 * gcc.dg/visibility-14.c: Skip on *-*-darwin*. * gcc.dg/visibility-15.c: Same. * gcc.dg/visibility-16.c: Same. * gcc.dg/visibility-17.c: Same. * gcc.dg/visibility-18.c: Same. * gcc.dg/visibility-19.c: Same. From-SVN: r141794
Jack Howarth committed -
PR c++/34269 * parser.c (cp_parser_simple_declaration): Don't commit to tentative parse if parse errors were seen. * g++.dg/cpp0x/decltype13.C: New test. * g++.dg/cpp0x/decltype-33837.C: Adjust dg-error pattern. * g++.dg/cpp0x/pr33839.C: Likewise. From-SVN: r141793
Jakub Jelinek committed -
PR target/35366 PR fortran/33759 * fold-const.c (native_encode_string): New function. (native_encode_expr): Use it for STRING_CST. * trans-const.c (gfc_conv_constant_to_tree): Warn when converting an integer outside of LOGICAL's range to LOGICAL. * trans-intrinsic.c (gfc_conv_intrinsic_function, gfc_conv_intrinsic_array_transfer, gfc_conv_intrinsic_transfer): Use INTEGER_TYPE instead of BOOLEAN_TYPE for TRANSFER as argument of another TRANSFER. * gfortran.dg/hollerith.f90: Don't assume a 32-bit value stored into logical variable will be preserved. * gfortran.dg/transfer_simplify_4.f90: Remove undefined cases. Run at all optimization levels. Add a couple of new tests. * gfortran.dg/hollerith5.f90: New test. * gfortran.dg/hollerith_legacy.f90: Add dg-warning. From-SVN: r141790
Jakub Jelinek committed -
cond.md (cond_to_int peephole2): Don't eliminate the insns if the intermediate value will be used later. * config/m32c/cond.md (cond_to_int peephole2): Don't eliminate the insns if the intermediate value will be used later. From-SVN: r141788
DJ Delorie committed -
m68k.c (print_operand): Mask off extra extension bits when writing out the representation of real values. * config/m68k/m68k.c (print_operand): Mask off extra extension bits when writing out the representation of real values. From-SVN: r141787
Andreas Schwab committed -
PR tree-optimization/38079 * tree-vect-analyze.c (vect_analyze_data_refs): Replace dump_file with vect_dump. From-SVN: r141785
Ira Rosen committed -
2008-11-12 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/37986 (cont) * include/tr1_impl/random (struct _Adaptor): Use only remove_reference on _Engine. (struct _Adaptor<_Engine*, _Distribution>): Add. * testsuite/tr1/5_numerical_facilities/random/variate_generator/ 37986.cc: Extend. From-SVN: r141784
Paolo Carlini committed -
PR c++/35334 * c-pretty-print.c (pp_c_complex_expr): New function. (pp_c_postfix_expression) <case COMPLEX_EXPR>: Call it. * error.c (dump_expr): Handle COMPLEX_EXPR. * gcc.dg/pr35334.c: New test. * g++.dg/other/error29.C: New test. From-SVN: r141783
Jakub Jelinek committed -
PR target/35366 * expr.c (expand_expr_addr_expr_1): If EXP needs bigger alignment than INNER and INNER is a constant, forcibly align INNER as much as needed. From-SVN: r141782
Jakub Jelinek committed -
2008-11-12 Tobias Burnus <burnus@net-b.de> PR fortran/38065 * resolve.c (resolve_fntype): Fix private derived type checking. 2008-11-12 Tobias Burnus <burnus@net-b.de> PR fortran/38065 * gfortran.dg/private_type_11.f90: New test. * gfortran.dg/private_type_12.f90: New test. From-SVN: r141780
Tobias Burnus committed -
From-SVN: r141778
GCC Administrator committed
-
- 11 Nov, 2008 11 commits
-
-
gcc/ * cse.c (fold_rtx): Remove redundant gen_rtx_CONST. From-SVN: r141775
Richard Sandiford committed -
gcc/ PR rtl-optimization/37363 * simplify-rtx.c (simplify_plus_minus): Don't create (const (minus ...)) expresisons. From-SVN: r141774
Richard Sandiford committed -
* ira-lives.c (process_bb_node_lives): Restore EH_RETURN_DATA_REGNO handling. From-SVN: r141772
Eric Botcazou committed -
2008-11-11 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/37986 * include/tr1_impl/random (struct _Adaptor): Use remove_pointer and remove_reference on _Engine. * testsuite/tr1/5_numerical_facilities/random/variate_generator/ 37986.cc: New. From-SVN: r141769
Paolo Carlini committed -
2008-11-11 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/ext/ext_pointer/1_neg.cc: Adjust dg-error line numbers. From-SVN: r141768
Paolo Carlini committed -
2008-11-11 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/ext/ext_pointer/1_neg.cc: Adjust dg-error line numbers. From-SVN: r141767
Paolo Carlini committed -
2008-11-11 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc: Fix. * testsuite/23_containers/vector/ext_pointer/modifiers/element.cc: Likewise. From-SVN: r141766
Paolo Carlini committed -
2008-11-11 Bob Walters <bob.s.walters@gmail.com> * include/bits/forward_list.h: Support non-standard pointer types (_Fwd_list_node_base): Add _Alloc template parameter. (_Fwd_list_node<>): Likewise. (_Fwd_list_iterator<>): Likewise. (_Fwd_list_const_iterator<>): Likewise. (_Fwd_list_node_base::_M_next, _M_transfer_after, _M_reverse_after): Use _Alloc<_Tp>::pointer. (_Fwd_list_iterator<>::_M_node): Use _Node_base::_Pointer. (_Fwd_list_base<>::_M_get_node, _M_create_node, _M_create_node, _M_insert_after, _M_put_node, _M_erase_after): Likewise. (_Fwd_list_const_iterator<>::_M_node): use _Node_base::_Const_pointer. (forward_list<>): Use __static_pointer_cast in place of static_cast, and __const_pointer_cast in place of const_cast. * include/bits/forward_list.tcc (_Fwd_list_node<>::_M_sort_after): Using _Pointer typedefs in place of standard pointers, __static_pointer_cast in place of static_cast. (_Fwd_list_base<>::_Fwd_list_base, _M_insert_after, _M_erase_after): Likewise. (forward_list<>::_M_initialize_dispatch, _M_fill_initialize, splice_after, remove, remove_if, merge): Likewise. * testsuite/23_containers/forward_list/ext_pointer/modifiers/1.cc: New. * testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/modifiers/3.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/modifiers/4.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/modifiers/5.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/operations/1.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/operations/2.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/operations/3.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/operations/4.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/operations/5.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/operations/6.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/operations/7.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/requirements/1.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/requirements/ explicit_instantiation/1.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/requirements/ explicit_instantiation/3.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/1.cc: Likewise. From-SVN: r141765
Bob Walters committed -
2008-11-11 Paolo Carlini <paolo.carlini@oracle.com> * include/ext/extptr_allocator.h: Minor tweaks. * include/ext/pointer.h: Likewise. * include/ext/cast.h: Likewise. From-SVN: r141764
Paolo Carlini committed -
From-SVN: r141762
GCC Administrator committed -
* gcc.target/mips/no-smartmips-lwxs.c: New test. * gcc.target/mips/no-smartmips-ror-1.c: New test. From-SVN: r141759
Catherine Moore committed
-
- 10 Nov, 2008 8 commits
-
-
From-SVN: r141755
H.J. Lu committed -
* config.gcc (mips64vrel-*-elf*): Include the tm_file prior to vr.h. * config/mips/linux.h (LINUX_DRIVER_SELF_SPECS): New. (BASE_DRIVER_SELF_SPECS): Remove. (DRIVER_SELF_SPECS): New definition. * config/mips/elfoabi.h: (DRIVER_SELF_SPECS): Include BASE_DRIVER_SELF_SPECS. * config/mips/sde.h: Likewise. * config/mips/iris6.h: Likewise. * config/mips/vr.h: Likewise. * config/mips/mips.h (BASE_DRIVER_SELF_SPECS): New. From-SVN: r141754
Catherine Moore committed -
2008-11-07 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimizations/37948 * ira-int.h (struct ira_allocno_copy): New member constraint_p. (ira_create_copy, ira_add_allocno_copy): New parameter. * ira-conflicts.c (process_regs_for_copy): New parameter. Pass it to ira_add_allocno_copy. (process_reg_shuffles, add_insn_allocno_copies): Pass a new parameter to process_regs_for_copy. (propagate_copies): Pass a new parameter to ira_add_allocno_copy. Fix typo in passing second allocno to ira_add_allocno_copy. * ira-color.c (update_conflict_hard_regno_costs): Use head of coalesced allocnos list. (assign_hard_reg): Ditto. Check that assigned allocnos are not in the graph. (add_ira_allocno_to_bucket): Rename to add_allocno_to_bucket. (add_ira_allocno_to_ordered_bucket): Rename to add_allocno_to_ordered_bucket. (push_ira_allocno_to_stack): Rename to push_allocno_to_stack. Use head of coalesced allocnos list. (push_allocnos_to_stack): Remove calculation of ALLOCNO_TEMP. Check that it is aready calculated. (push_ira_allocno_to_spill): Rename to push_ira_allocno_to_spill. (setup_allocno_left_conflicts_num): Use head of coalesced allocnos list. (coalesce_allocnos): Do extended coalescing too. * ira-emit.c (add_range_and_copies_from_move_list): Pass a new parameter to ira_add_allocno_copy. * ira-build.c (ira_create_copy, ira_add_allocno_copy): Add a new parameter. (print_copy): Print copy origination too. * ira-costs.c (scan_one_insn): Use alloc_pref for load from equivalent memory. From-SVN: r141753
Vladimir Makarov committed -
re PR rtl-optimization/37514 (Wrong code generated for 20021120-1.c with -O3 -fomit-frame-pointer on sh4) PR rtl-optimization/37514 * config/sh/sh.h (OPTIMIZATION_OPTIONS): Set flag_ira_share_spill_slots to 2 if it's already non-zero. (OVERRIDE_OPTIONS): Clear flag_ira_share_spill_slots if flag_ira_share_spill_slots is 2. * gcc.target/sh/pr37514.c: New test. From-SVN: r141752
Kaz Kojima committed -
From-SVN: r141749
Eric Botcazou committed -
* config/m32c/prologue.md (prologue_enter_16): Set FB to SP - 2. (prologue_enter_32): Set FB to SP - 4. From-SVN: r141748
Kevin Buettner committed -
m32c.c (m32c_const_ok_for_constraint_p): Add ImB constraint for single-bit-clear in lower byte of HI constant... * config/m32c/m32c.c (m32c_const_ok_for_constraint_p): Add ImB constraint for single-bit-clear in lower byte of HI constant, vs Imb which just ignores the upper byte. * config/m32c/predicates.md (m32c_1mask8_operand): Use it. * config/m32c/bitops.md (andhi3_16, andhi3_24): Use it. (iorhi3_16): Check for single bit set, not single bit clear. From-SVN: r141747
DJ Delorie committed -
From-SVN: r141745
Janis Johnson committed
-