Anatoly Sokolov [Wed, 12 Nov 2008 20:29:54 +0000 (23:29 +0300)]
avr.c (avr_mcu_t): Add atmega16hvb...
* 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
Tobias Burnus [Wed, 12 Nov 2008 18:38:08 +0000 (19:38 +0100)]
re PR fortran/38065 (private/public confusion with a contained function)
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
Andreas Krebbel [Wed, 12 Nov 2008 18:04:39 +0000 (18:04 +0000)]
[multiple changes]
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
Jack Howarth [Wed, 12 Nov 2008 17:52:24 +0000 (17:52 +0000)]
re PR testsuite/38008 (gcc/testsuite/gcc.c-torture/execute/builtins/lib/sprintf.c unportable)
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 [Wed, 12 Nov 2008 17:47:13 +0000 (17:47 +0000)]
re PR testsuite/37202 (FAIL: gcc.dg/visibility-1[4-9].c)
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
Jakub Jelinek [Wed, 12 Nov 2008 17:33:48 +0000 (18:33 +0100)]
re PR c++/34269 (Incomplete __decltype/__typeof expressions accepted)
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 [Wed, 12 Nov 2008 17:01:51 +0000 (18:01 +0100)]
re PR target/35366 (gfortran.dg/equiv_7.f90 fails with -m64 -Os on powerpc-apple-darwin9)
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
DJ Delorie [Wed, 12 Nov 2008 16:35:03 +0000 (11:35 -0500)]
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
Andreas Schwab [Wed, 12 Nov 2008 16:34:14 +0000 (16:34 +0000)]
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
Ira Rosen [Wed, 12 Nov 2008 10:36:03 +0000 (10:36 +0000)]
re PR tree-optimization/38079 (gcc segfaults when using -ftree-vectorizer-verbose=9)
PR tree-optimization/38079
* tree-vect-analyze.c (vect_analyze_data_refs): Replace dump_file
with vect_dump.
From-SVN: r141785
Paolo Carlini [Wed, 12 Nov 2008 09:59:27 +0000 (09:59 +0000)]
PR libstdc++/37986 (cont)
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
Jakub Jelinek [Wed, 12 Nov 2008 08:18:45 +0000 (09:18 +0100)]
re PR c++/35334 (Broken diagnostic for complex cast)
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 [Wed, 12 Nov 2008 08:16:12 +0000 (09:16 +0100)]
re PR target/35366 (gfortran.dg/equiv_7.f90 fails with -m64 -Os on powerpc-apple-darwin9)
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
Tobias Burnus [Wed, 12 Nov 2008 06:59:33 +0000 (07:59 +0100)]
re PR fortran/38065 (private/public confusion with a contained function)
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
GCC Administrator [Wed, 12 Nov 2008 00:17:48 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r141778
Richard Sandiford [Tue, 11 Nov 2008 23:24:05 +0000 (23:24 +0000)]
cse.c (fold_rtx): Remove redundant gen_rtx_CONST.
gcc/
* cse.c (fold_rtx): Remove redundant gen_rtx_CONST.
From-SVN: r141775
Richard Sandiford [Tue, 11 Nov 2008 23:23:23 +0000 (23:23 +0000)]
re PR rtl-optimization/37363 (Fix for PR 36090 causes libstdc++ regressions)
gcc/
PR rtl-optimization/37363
* simplify-rtx.c (simplify_plus_minus): Don't create (const (minus ...))
expresisons.
From-SVN: r141774
Eric Botcazou [Tue, 11 Nov 2008 18:07:39 +0000 (18:07 +0000)]
ira-lives.c (process_bb_node_lives): Restore EH_RETURN_DATA_REGNO handling.
* ira-lives.c (process_bb_node_lives): Restore EH_RETURN_DATA_REGNO
handling.
From-SVN: r141772
Paolo Carlini [Tue, 11 Nov 2008 14:31:48 +0000 (14:31 +0000)]
re PR libstdc++/37986 (std::tr1::variate_generator does not conform to TR1.)
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 [Tue, 11 Nov 2008 13:49:53 +0000 (13:49 +0000)]
1_neg.cc: Adjust dg-error line numbers.
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 [Tue, 11 Nov 2008 13:49:46 +0000 (13:49 +0000)]
1_neg.cc: Adjust dg-error line numbers.
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 [Tue, 11 Nov 2008 13:18:39 +0000 (13:18 +0000)]
erase.cc: Fix.
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
Bob Walters [Tue, 11 Nov 2008 12:16:57 +0000 (12:16 +0000)]
forward_list.h: Support non-standard pointer types
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
Paolo Carlini [Tue, 11 Nov 2008 12:15:59 +0000 (12:15 +0000)]
extptr_allocator.h: Minor tweaks.
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
GCC Administrator [Tue, 11 Nov 2008 00:16:50 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r141762
Catherine Moore [Tue, 11 Nov 2008 00:06:10 +0000 (19:06 -0500)]
no-smartmips-lwxs.c: New test.
* gcc.target/mips/no-smartmips-lwxs.c: New test.
* gcc.target/mips/no-smartmips-ror-1.c: New test.
From-SVN: r141759
H.J. Lu [Mon, 10 Nov 2008 23:58:55 +0000 (15:58 -0800)]
Correct date.
From-SVN: r141755
Catherine Moore [Mon, 10 Nov 2008 23:56:24 +0000 (18:56 -0500)]
config.gcc (mips64vrel-*-elf*): Include the tm_file prior to vr.h.
* 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
Vladimir Makarov [Mon, 10 Nov 2008 23:21:45 +0000 (23:21 +0000)]
re PR rtl-optimization/37948 (IRA generates slower code)
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
Kaz Kojima [Mon, 10 Nov 2008 23:10:10 +0000 (23:10 +0000)]
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
Eric Botcazou [Mon, 10 Nov 2008 21:06:55 +0000 (21:06 +0000)]
* g++.dg/other/anon5.C: Skip on Solaris.
From-SVN: r141749
Kevin Buettner [Mon, 10 Nov 2008 20:37:14 +0000 (20:37 +0000)]
prologue.md (prologue_enter_16): Set FB to SP - 2.
* config/m32c/prologue.md (prologue_enter_16): Set FB to SP - 2.
(prologue_enter_32): Set FB to SP - 4.
From-SVN: r141748
DJ Delorie [Mon, 10 Nov 2008 19:37:20 +0000 (14:37 -0500)]
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
Janis Johnson [Mon, 10 Nov 2008 19:18:10 +0000 (19:18 +0000)]
* doc/sourcebuild.texi (Torture Tests): Fix formatting for bullets.
From-SVN: r141745
Janis Johnson [Mon, 10 Nov 2008 19:11:12 +0000 (19:11 +0000)]
* doc/sourcebuild.texi (Torture Tests): Fix formatting in example.
From-SVN: r141744
Eric Botcazou [Mon, 10 Nov 2008 16:52:50 +0000 (16:52 +0000)]
calls.c (store_unaligned_arguments_into_pseudos): Deal only with values living in memory and use more precise alignment information.
* calls.c (store_unaligned_arguments_into_pseudos): Deal only with
values living in memory and use more precise alignment information.
From-SVN: r141742
Jakub Jelinek [Mon, 10 Nov 2008 13:48:06 +0000 (14:48 +0100)]
re PR middle-end/35314 (ICE with __builtin_setjmp and -fmudflap)
PR middle-end/35314
* tree-mudflap.c (mf_build_check_statement_for): Split then_block
after __mf_check call if the call must end a bb.
* testsuite/libmudflap.c/pass67-frag.c: New test.
From-SVN: r141741
Paolo Carlini [Mon, 10 Nov 2008 13:47:12 +0000 (13:47 +0000)]
re PR libstdc++/38067 (monetary_members.cc: 4 * call to wrong C++ delete)
2008-11-10 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/38067
* config/locale/gnu/monetary_members.cc (moneypunct<>::
_M_initialize_moneypunct(__c_locale, const char*)): Use correct vector
delete for __wcs_ps and __wcs_ns.
From-SVN: r141740
Jakub Jelinek [Mon, 10 Nov 2008 13:41:37 +0000 (14:41 +0100)]
re PR c++/38021 (C++ hang for new keywords)
PR c++/38021
* parser.c (cp_parser_enum_specifier): After parsing :,
parse definitely. Don't return early if type specifier
is erroneous.
* g++.dg/cpp0x/enum1.C: New test.
From-SVN: r141739
Andrew Haley [Mon, 10 Nov 2008 12:33:22 +0000 (12:33 +0000)]
2008-11-10 Andrew Haley <aph@redhat.com>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector):
Remove bogus gdk_threads_leave ();
From-SVN: r141738
Jakub Jelinek [Mon, 10 Nov 2008 09:19:05 +0000 (10:19 +0100)]
Formatting fixes.
From-SVN: r141733
Ralph Loader [Mon, 10 Nov 2008 09:08:15 +0000 (10:08 +0100)]
re PR middle-end/37807 (Exponential compile time with MMX builtins.)
PR middle-end/37807
PR middle-end/37809
* combine.c (force_to_mode): Do not process vector types.
* rtlanal.c (nonzero_bits1): Do not process vector types.
(num_sign_bit_copies1): Likewise.
testsuite/ChangeLog
PR middle-end/37807
PR middle-end/37809
* gcc/testsuite/gcc.target/i386/mmx-8.c: New test.
From-SVN: r141732
GCC Administrator [Mon, 10 Nov 2008 00:16:49 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r141727
Thomas Schwinge [Sun, 9 Nov 2008 22:57:46 +0000 (23:57 +0100)]
config.host: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
* config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
From-SVN: r141722
Thomas Schwinge [Sun, 9 Nov 2008 22:09:02 +0000 (23:09 +0100)]
gnu.h: Add copyright and licensing header.
2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
* config/i386/gnu.h: Add copyright and licensing header.
* config/gnu.h: Likewise.
From-SVN: r141721
Paul Thomas [Sun, 9 Nov 2008 17:40:30 +0000 (17:40 +0000)]
re PR fortran/37836 (ICE in gfc_trans_auto_array_allocation)
2008-11-09 Paul Thomas <pault@gcc.gnu.org>
PR fortran/37836
* intrinsic.c (add_functions): Reference gfc_simplify._minval
and gfc_simplify_maxval.
* intrinsic.h : Add prototypes for gfc_simplify._minval and
gfc_simplify_maxval.
* simplify.c (min_max_choose): New function extracted from
simplify_min_max.
(simplify_min_max): Call it.
(simplify_minval_maxval, gfc_simplify_minval,
gfc_simplify_maxval): New functions.
2008-11-09 Paul Thomas <pault@gcc.gnu.org>
PR fortran/37836
* gfortran.dg/minmaxval_1.f90: New test.
From-SVN: r141717
Eric Botcazou [Sun, 9 Nov 2008 09:50:02 +0000 (09:50 +0000)]
ada-tree.def (PLUS_NOMOD_EXPR): New tree code.
* gcc-interface/ada-tree.def (PLUS_NOMOD_EXPR): New tree code.
(MINUS_NOMOD_EXPR): Likewise.
* gcc-interface/utils2.c (build_binary_op) <PREINCREMENT_EXPR>: Make
unreachable.
<PLUS_NOMOD_EXPR>: New case.
<MINUS_NOMOD_EXPR>: Likewise.
* gcc-interface/trans.c (Loop_Statement_to_gnu): Build increment-and-
assignment statement instead of using an increment operator.
From-SVN: r141714
GCC Administrator [Sun, 9 Nov 2008 00:16:56 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r141711
GCC Administrator [Sat, 8 Nov 2008 00:16:48 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r141700
Andrew Pinski [Fri, 7 Nov 2008 21:16:54 +0000 (21:16 +0000)]
fwprop.c (fwprop_done): Call df_remove_problem.
2008-11-07 Andrew Pinski <andrew_pinski@playstation.sony.com>
* fwprop.c (fwprop_done): Call df_remove_problem.
From-SVN: r141686
Joseph Myers [Fri, 7 Nov 2008 20:28:57 +0000 (20:28 +0000)]
* id.po: Update.
From-SVN: r141684
Sebastian Pop [Fri, 7 Nov 2008 18:03:04 +0000 (18:03 +0000)]
re PR middle-end/37379 ([graphite] ICE compiling aermod.f90 with -ffast-math -floop-block -O2 -fgraphite)
2008-11-07 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/37379
* tree-scalar-evolution.c (instantiate_scev_1): Return
chrec_dont_know for VL_EXP_CLASS_P.
From-SVN: r141682
Rainer Orth [Fri, 7 Nov 2008 16:25:03 +0000 (16:25 +0000)]
re PR ada/37681 (Building 64-bit libada fails on Solaris/x86: alignment error)
* system-irix-n64.ads: New file.
* gcc-interface/Makefile.in (mips-sgi-irix6*): Support O32 and N64
multilibs.
PR ada/37681
* system-solaris-x86_64.ads: New file.
* gcc-interface/Makefile.in (*86-solaris2*): Support x86_64 multilib.
From-SVN: r141681
Paolo Carlini [Fri, 7 Nov 2008 15:47:11 +0000 (15:47 +0000)]
2008-11-07 Paolo Carlini <paolo.carlini@oracle.com>
* Tweak ChangeLog.
From-SVN: r141678
Paolo Carlini [Fri, 7 Nov 2008 15:44:35 +0000 (15:44 +0000)]
2008-11-07 Paolo Carlini <paolo.carlini@oracle.com>
* Complete last commit.
From-SVN: r141677
Paolo Carlini [Fri, 7 Nov 2008 15:44:20 +0000 (15:44 +0000)]
2008-11-07 Paolo Carlini <paolo.carlini@oracle.com>
* Complete last commit.
From-SVN: r141676
Paolo Carlini [Fri, 7 Nov 2008 15:43:57 +0000 (15:43 +0000)]
2008-11-07 Paolo Carlini <paolo.carlini@oracle.com>
* Complete last commit.
From-SVN: r141675
Bob Walters [Fri, 7 Nov 2008 15:26:25 +0000 (15:26 +0000)]
pointer.h: Add experimental support for non-standard pointer types in containers via the...
2008-11-07 Bob Walters <bob.s.walters@gmail.com>
* include/ext/pointer.h: Add experimental support for non-standard
pointer types in containers via the allocator::pointer typedef.
(Currently only supported/working with std::vector)
* include/ext/cast.h: Add overload-able pointer casting functions
for use in containers supporting non-standard pointer types.
* include/ext/extptr_allocator.h: Add _ExtPtr_allocator.
* include/Makefile.am: Update.
* include/precompiled/extc++.h: Likewise.
* include/Makefile.in: Regenerate.
* testsuite/ext/ext_pointer/1.cc: New.
* testsuite/ext/ext_pointer/1_neg.cc: Likewise.
* testsuite/23_containers/vector/ext_pointer/citerators.cc: New.
* testsuite/23_containers/vector/ext_pointer/data_access.cc: Likewise.
* testsuite/23_containers/vector/ext_pointer/resize.cc: Likewise.
* testsuite/23_containers/vector/ext_pointer/types/1.cc: Likewise.
* testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
Likewise.
* testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc:
Likewise.
* testsuite/23_containers/vector/ext_pointer/modifiers/insert.cc:
Likewise.
* testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
1.cc: Likewise.
* testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
3.cc: Likewise.
From-SVN: r141674
Bechir Zalila [Fri, 7 Nov 2008 10:46:18 +0000 (10:46 +0000)]
re PR ada/34289 (gnatmake -s doesn't work)
PR ada/34289
* lib.ads: (Enable_Switch_Storing): Declare.
* lib.adb: (Enable_Switch_Storing): New procedure.
* switch-c.adb (Scan_Front_End_Switches): Add support for -gnatea.
* make.adb: (Compile_Sources.Compile): Add -gnatea as first option.
(Display): Never display -gnatea
* gcc-interface/lang-specs.h: If -gnatea is present, pass -gnatez.
Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com>
From-SVN: r141673
Eric Botcazou [Fri, 7 Nov 2008 10:21:38 +0000 (10:21 +0000)]
Fix typo.
From-SVN: r141671
Thomas Quinot [Fri, 7 Nov 2008 10:17:40 +0000 (10:17 +0000)]
trans.c (Attribute_to_gnu, [...]): Check for empty range in original base type, not converted result type.
* gcc-interface/trans.c (Attribute_to_gnu, case Attr_Length): Check
for empty range in original base type, not converted result type.
From-SVN: r141670
Eric Botcazou [Fri, 7 Nov 2008 10:03:21 +0000 (10:03 +0000)]
Update comment.
From-SVN: r141669
Geert Bosch [Fri, 7 Nov 2008 09:56:33 +0000 (09:56 +0000)]
trans.c (build_binary_op_trapv): Convert arguments and result for call to __gnat_mulv64.
* gcc-interface/trans.c (build_binary_op_trapv): Convert arguments
and result for call to __gnat_mulv64.
From-SVN: r141668
Eric Botcazou [Fri, 7 Nov 2008 09:44:12 +0000 (09:44 +0000)]
* gcc-interface/trans.c: Fix formatting nits.
From-SVN: r141667
Geert Bosch [Fri, 7 Nov 2008 09:39:38 +0000 (09:39 +0000)]
trans.c (build_binary_op_trapv): Avoid emitting overflow check for constant result.
* gcc-interface/trans.c (build_binary_op_trapv): Avoid emitting
overflow check for constant result.
From-SVN: r141666
Geert Bosch [Fri, 7 Nov 2008 09:32:43 +0000 (09:32 +0000)]
trans.c (build_binary_op_trapv): Use more efficient overflow check for addition/subtraction if...
* gcc-interface/trans.c (build_binary_op_trapv): Use more efficient
overflow check for addition/subtraction if neither operand is constant.
From-SVN: r141665
Kaveh R. Ghazi [Fri, 7 Nov 2008 09:00:14 +0000 (09:00 +0000)]
iinline-1.C: Remove -c flag, add -fpie for PIC targets.
* g++.dg/ipa/iinline-1.C: Remove -c flag, add -fpie for PIC
targets.
From-SVN: r141664
Kaveh R. Ghazi [Fri, 7 Nov 2008 08:58:55 +0000 (08:58 +0000)]
inline-2.c (foo): Add 'inline' keyword.
* gcc.dg/tree-ssa/inline-2.c (foo): Add 'inline' keyword.
From-SVN: r141663
Sebastian Pop [Fri, 7 Nov 2008 05:57:07 +0000 (05:57 +0000)]
pr37943.c: Fix missing end of file.
2008-11-06 Sebastian Pop <sebastian.pop@amd.com>
* gcc.dg/graphite/pr37943.c: Fix missing end of file.
From-SVN: r141662
GCC Administrator [Fri, 7 Nov 2008 00:16:52 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r141660
Joseph Myers [Thu, 6 Nov 2008 22:16:38 +0000 (22:16 +0000)]
utf-array-short-wchar.c, [...]: Use __CHAR16_TYPE__ and __CHAR32_TYPE__ typedefs.
* gcc.dg/utf-array-short-wchar.c, gcc.dg/utf-cvt.c,
gcc.dg/utf-inc-init.c, gcc.dg/utf16-1.c, gcc.dg/utf16-2.c,
gcc.dg/utf16-3.c, gcc.dg/utf16-4.c, gcc.dg/utf32-1.c,
gcc.dg/utf32-2.c, gcc.dg/utf32-3.c, gcc.dg/utf32-4.c: Use
__CHAR16_TYPE__ and __CHAR32_TYPE__ typedefs.
From-SVN: r141656
Uros Bizjak [Thu, 6 Nov 2008 18:01:18 +0000 (19:01 +0100)]
reg-stack.c (reg_to_stack): Add missing braces in memset size calculation.
* reg-stack.c (reg_to_stack): Add missing braces in memset
size calculation.
From-SVN: r141654
Jeff Law [Thu, 6 Nov 2008 17:18:51 +0000 (10:18 -0700)]
Add myself as middle end maintainer
From-SVN: r141652
Jeff Law [Thu, 6 Nov 2008 17:17:47 +0000 (10:17 -0700)]
Add myself as middle-end maintainer
From-SVN: r141651
Andrew Stubbs [Thu, 6 Nov 2008 15:56:53 +0000 (15:56 +0000)]
bpabi.h (PROFILE_HOOK): New undef.
2008-11-06 Andrew Stubbs <ams@codesourcery.com>
* config/arm/bpabi.h (PROFILE_HOOK): New undef.
(NO_PROFILE_COUNTERS): New define.
From-SVN: r141649
Andrew Stubbs [Thu, 6 Nov 2008 15:53:28 +0000 (15:53 +0000)]
MAINTAINERS (Write after approval): Add myself.
* MAINTAINERS (Write after approval): Add myself.
From-SVN: r141648
David Edelsohn [Thu, 6 Nov 2008 15:32:40 +0000 (15:32 +0000)]
re PR target/26397 (Program crashes when rethrowing exception)
PR target/26397
* config/rs6000/aix.h (LIBSTDCXX_STATIC): Define.
cp/
* g++spec.c (LIBSTDCXX_STATIC): New.
(lang_spec_driver): Use LIBSTDCXX_STATIC when not shared_libgcc.
From-SVN: r141646
Kazu Hirata [Thu, 6 Nov 2008 14:59:09 +0000 (14:59 +0000)]
re PR target/35574 (unrecognizable insn generated for vector move)
PR target/35574
* config/sparc/constraints.md (D): New.
* config/sparc/predicates.md (const_double_or_vector_operand):
New.
* config/sparc/sparc.c (sparc_extra_constraint_check): Handle the
'D' constraint.
* config/sparc/sparc.md (*movdf_insn_sp32_v9, *movdf_insn_sp64):
Use the 'D' constraint in addition to 'F' in some alternatives.
(DF splitter): Generalize for V64mode.
* doc/md.texi (SPARC): Document the 'D' constraint.
From-SVN: r141644
Richard Guenther [Thu, 6 Nov 2008 14:20:04 +0000 (14:20 +0000)]
pr37969.c: New testcase.
2008-11-06 Richard Guenther <rguenther@suse.de>
* gcc.dg/c-torture/pr37969.c: New testcase.
From-SVN: r141642
Eric Botcazou [Thu, 6 Nov 2008 12:03:39 +0000 (12:03 +0000)]
Makefile.in (SPARC/Solaris): Use a common set of files for the target-dependent part of the runtime.
* gcc-interface/Makefile.in (SPARC/Solaris): Use a common set of
files for the target-dependent part of the runtime.
(SPARC/Linux): Likewise.
From-SVN: r141641
Uros Bizjak [Thu, 6 Nov 2008 12:01:23 +0000 (13:01 +0100)]
reg-stack.c (reg_to_stack): Generate +QNaN using real_nan.
* reg-stack.c (reg_to_stack): Generate +QNaN using real_nan.
From-SVN: r141640
Eric Botcazou [Thu, 6 Nov 2008 11:51:11 +0000 (11:51 +0000)]
decl.c (gnat_to_gnu_entity): If not optimizing...
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Out_Parameter>: If not
optimizing, create a PARM_DECL pointing to the VAR_DECL for debugging
purposes.
From-SVN: r141639
Eric Botcazou [Thu, 6 Nov 2008 11:42:52 +0000 (11:42 +0000)]
misc.c (gnat_printable_name): Always return a copy in GC memory.
* gcc-interface/misc.c (gnat_printable_name): Always return a copy
in GC memory.
From-SVN: r141638
Eric Botcazou [Thu, 6 Nov 2008 11:28:07 +0000 (11:28 +0000)]
re PR ada/19419 (Overlapping memcpy with array slices)
PR ada/19419
* gcc-interface/trans.c (gnat_to_gnu) <N_Assignment_Statement>:
Generate a call to memmove for an assignment between overlapping
array slices.
From-SVN: r141637
Ben Elliston [Thu, 6 Nov 2008 03:07:51 +0000 (03:07 +0000)]
* gcc.c: Remove ancient comment about a bug in Sun cc.
From-SVN: r141636
GCC Administrator [Thu, 6 Nov 2008 00:16:38 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r141633
Janis Johnson [Thu, 6 Nov 2008 00:05:09 +0000 (00:05 +0000)]
sourcebuild.texi (Torture Tests): Add ADDITIONAL_TORTURE_OPTIONS.
gcc/
* doc/sourcebuild.texi (Torture Tests): Add ADDITIONAL_TORTURE_OPTIONS.
gcc/testsuite/
* lib/c-torture.exp: Use ADDITIONAL_TORTURE_OPTIONS if defined.
* lib/gcc-dg.exp: Ditto.
* lib/fortran-torture.exp: Ditto.
* lib/objc-torture.exp: Ditto.
From-SVN: r141630
Michael Meissner [Wed, 5 Nov 2008 23:45:36 +0000 (23:45 +0000)]
Fix PR 38025
From-SVN: r141628
Ben Elliston [Wed, 5 Nov 2008 23:34:11 +0000 (23:34 +0000)]
* config/rs6000/rs6000.c (rs6000_override_options): Comment fix.
From-SVN: r141626
Ben Elliston [Wed, 5 Nov 2008 23:23:25 +0000 (23:23 +0000)]
rs6000.opt (mwarn-cell-microcode): Improve option description.
* config/rs6000/rs6000.opt (mwarn-cell-microcode): Improve option
description.
From-SVN: r141625
Joseph Myers [Wed, 5 Nov 2008 21:40:02 +0000 (21:40 +0000)]
* id.po: Update.
From-SVN: r141623
Diego Novillo [Wed, 5 Nov 2008 21:06:25 +0000 (16:06 -0500)]
MAINTAINERS (Global Reviewers): Add myself.
* MAINTAINERS (Global Reviewers): Add myself.
(Non-Algorithmic Maintainers): Remove myself.
From-SVN: r141622
Hans-Peter Nilsson [Wed, 5 Nov 2008 18:06:45 +0000 (18:06 +0000)]
re PR target/38016 (-fno-ivopts exposes CRIS port bug, more with -fno-gcse)
PR target/38016
* gcc.c-torture/execute/ieee/pr38016.c,
gcc.c-torture/execute/ieee/pr38016.c: New test.
From-SVN: r141615
Hans-Peter Nilsson [Wed, 5 Nov 2008 18:04:36 +0000 (18:04 +0000)]
re PR target/38016 (-fno-ivopts exposes CRIS port bug, more with -fno-gcse)
PR target/38016
* config/cris/cris.c (cris_order_for_addsi3): Test for !REG_P, not
just MEM_P.
From-SVN: r141614
Martin Jambor [Wed, 5 Nov 2008 16:06:38 +0000 (17:06 +0100)]
re PR middle-end/37861 (Bogus array bounds warning)
2008-11-05 Martin Jambor <mjambor@suse.cz>
PR middle-end/37861
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Don't turn
pointer arithmetics into array_ref if the array is accessed
through an indirect_ref.
* testsuite/gcc.dg/Warray-bounds-5.c: New file.
* testsuite/gcc.dg/Warray-bounds-6.c: New file.
From-SVN: r141613
Fabien ChĂȘne [Wed, 5 Nov 2008 15:48:01 +0000 (10:48 -0500)]
re PR c++/32519 (g++ allows access to protected template member functions of base class)
PR c++/35219
* cp-tree.h: Fix DECL_NONSTATIC_MEMBER_P to handle member template
functions.
From-SVN: r141612
Paolo Carlini [Wed, 5 Nov 2008 15:36:06 +0000 (15:36 +0000)]
2008-11-05 Paolo Carlini <paolo.carlini@oracle.com>
* Complete last commit.
From-SVN: r141611
Andrew Haley [Wed, 5 Nov 2008 14:19:06 +0000 (14:19 +0000)]
FreetypeGlyphVector.java (getKerning): Return result in a float[], not a Point2D.
2008-11-05 Andrew Haley <aph@redhat.com>
* gnu/java/awt/peer/gtk/FreetypeGlyphVector.java (getKerning):
Return result in a float[], not a Point2D.
(performDefaultLayout): Call getKerning with a float[].
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
(getKerning): Return result in a float[], not a Point2D.
From-SVN: r141610
Andrew Haley [Wed, 5 Nov 2008 13:59:46 +0000 (13:59 +0000)]
Makefile.am (UPDATE_TOOLS_ZIP, [...]): Exclude .svn directories.
2008-11-05 Andrew Haley <aph@redhat.com>
* tools/Makefile.am (UPDATE_TOOLS_ZIP, CREATE_TOOLS_ZIP): Exclude
.svn directories.
From-SVN: r141609
Andrew Haley [Wed, 5 Nov 2008 13:57:25 +0000 (13:57 +0000)]
Makefile.am (install-data-local): Correct symlink paths for SDK-style installed JARs.
2008-10-31 Andrew Haley <aph@redhat.com>
* Makefile.am (install-data-local): Correct symlink paths for
SDK-style installed JARs.
Correct symlinks for headers when DESTDIR is set.
From-SVN: r141608