OSDN Git Service

pf3gnuchains/gcc-fork.git
18 years ago * MAINTAINERS: Update my email address.
steven [Tue, 27 Dec 2005 02:00:26 +0000 (02:00 +0000)]
    * MAINTAINERS: Update my email address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109074 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Tue, 27 Dec 2005 00:17:30 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109071 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agogcc/
kazu [Mon, 26 Dec 2005 23:00:18 +0000 (23:00 +0000)]
gcc/
PR tree-optimization/25125
* convert.c (convert_to_integer): Don't narrow the type of a
PLUX_EXPR or MINUS_EXPR if !flag_wrapv and the unwidened type
is signed.

gcc/testsuite/
PR tree-optimization/25125
* gcc.dg/vect/vect-7.c, gcc.dg/vect/vect-reduc-2char.c,
gcc.dg/vect/vect-reduc-2short.c: XFAIL.
* gcc.c-torture/execute/pr25125.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109065 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR middle-end/25568
grahams [Mon, 26 Dec 2005 18:58:56 +0000 (18:58 +0000)]
   PR middle-end/25568
       * combine.c (simplify_shift_const_1 <case PLUS>):Fix enable-checking
       rtl bootstrap failure.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109064 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-26 Chris Jefferson <chris@bubblescope.net>
paolo [Mon, 26 Dec 2005 10:53:42 +0000 (10:53 +0000)]
2005-12-26  Chris Jefferson  <chris@bubblescope.net>

* include/ext/mt_allocator.h (__mt_alloc::__mt_alloc): Remove
name of unused parameter.
* include/bits/stream_iterator.h (istream_iterator::istream_iterator):
Construct _M_value.
* include/debug/functions.h (__check_valid_range): Add
__attribute__((unused)).
* include/tr1/hashtable (hashtable::end): Remove name of unused
parameter.
* include/tr1/tuple_iterate.h (tuple::tuple): Likewise.
(tuple::operator=): Add __attribute__((unused)).
* include/tr1/functional (Fnv_hash<4>::hash): Add static_cast.
(Fnv_hash<8>::hash): Likewise.

* testsuite/25_algorithms/iter_swap/20577.cc (swap): Remove name of
unused parameter.
* testsuite/25_algorithms/unique_copy/check_type.cc (S2::S2,X2::X2):
Likewise.
* testsuite/22_locale/ctype/narrow/char/19955.cc (do_narrow): Likewise.
* testsuite/22_locale/ctype/is/char/9858.cc (Derived::do_is,
Derived::do_scan_is, Derived::do_scan_not, Derived2::do_is,
Derived2::do_scan_is, Derived2::do_scan_not): Likewise.
* testsuite/22_locale/time_put/put/wchar_t/12439_1.cc (TP::do_put):
Likewise.
* testsuite/22_locale/time_put/put/wchar_t/12439_3.cc (TP::do_put):
Likewise.
* testsuite/22_locale/time_put/put/char/12439_1.cc (TP::do_put):
Likewise.
* testsuite/22_locale/time_put/put/char/12439_3.cc (TP::do_put):
Likewise.
* testsuite/testsuite_io.h (fail_num_get::do_get, fail_num_put::do_put):
Likewise.
* testsuite/25_algorithms/find/17441.cc (find): Likewise.
* testsuite/23_containers/vector/cons/clear_allocator.cc
(clear_alloc::clear_alloc): Likewise.
* testsuite/23_containers/vector/bool/clear_allocator.cc
(clear_alloc::clear_alloc): Likewise.
* testsuite/23_containers/list/cons/clear_allocator.cc
(clear_alloc::clear_alloc): Likewise.
* testsuite/23_containers/set/modifiers/16728.cc (test_container):
Likewise.
* testsuite/27_io/basic_ios/cons/char/3.cc (char_traits::to_char_type,
to_int_type): Likewise.
* testsuite/27_io/basic_filebuf/imbue/12206.cc (codecvt::do_out, do_in,
do_unshift, do_length): Likewise.
* testsuite/21_strings/basic_string/capacity/1.cc
(operator==(A<T>,A<T>), operator<(A<T>,A<T>),
char_traits::to_char_type, char_traits::to_int_type): Likewise
* testsuite/testsuite_character.h (ctype::do_is, ctype::do_scan_is,
ctype::do_scan_not, do_toupper, do_tolower): Likewise.
* testsuite/25_algorithms/replace_copy/check_type.cc (Z::operator=):
Add missing return statement.
* testsuite/25_algorithms/replace_copy_if/check_type.cc (Z::operator=):
Likewise.
* testsuite/testsuite_iterators.h (output_iterator_wrapper::operator=,
random_access_iterator_wrapper::operator==): Likewise.
* testsuite/20_util/functional/binders/1.cc (s::f_int_int_const,
s::f_int_int, s::f_int_void_const, s::f_int_void): Likewise.
* testsuite/27_io/types/1.cc (test01): Likewise.
* testsuite/27_io/basic_ostream/write/wchar_t/1.cc (test01): Likewise.
* testsuite/27_io/basic_ostream/write/char/1.cc (test01): Likewise.
* testsuite/21_strings/c_strings/wchar_t/24559.cc (main): Likewise.
* testsuite/27_io/basic_istream/ignore/wchar_t/2.cc (check): Add static
cast.
* testsuite/27_io/basic_istream/ignore/char/2.cc (check): Likewise.
* testsuite/27_io/basic_istream/getline/wchar_t/5.cc (check): Likewise.
* testsuite/27_io/basic_istream/getline/char/5.cc (check): Likewise.
* testsuite/testsuite_allocator.h (check_new): Likewise.
(check_deallocate_null): Add missing return value.
* testsuite/ext/pool_allocator/allocate_chunk.cc (test01):
Make variable unsigned.
* testsuite/23_containers/vector/modifiers/erase/1.cc (N,N1,N2,N3,N4,
N5,test01): Likewise.
* testsuite/26_numerics/valarray/valarray_subset_assignment.cc
(check_array): Likewise.
(main): Removed unused variable.
* testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc (test05):
Removed unused variable.
* testsuite/27_io/basic_ostream/flush/wchar_t/1.cc (test01): Likewise.
* testsuite/27_io/basic_ostream/flush/char/1.cc (test01): Likewise.
* testsuite/27_io/basic_ostream/endl/wchar_t/1.cc (test01): Likewise.
* testsuite/27_io/basic_ostream/endl/char/1.cc (test01): Likewise.
* testsuite/27_io/basic_ostream/ends/wchar_t/1.cc (test01): Likewise.
* testsuite/27_io/basic_ostream/ends/char/1.cc (test01): Likewise.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/
assign/shared_ptr.cc (test01): Correct return type.
* testsuite/27_io/basic_filebuf/close/char/2.cc (test_02):
Add default value to close_num.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109062 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Mon, 26 Dec 2005 00:17:15 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109058 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * final.c (compute_alignments): Make it static.
kazu [Sun, 25 Dec 2005 16:59:51 +0000 (16:59 +0000)]
* final.c (compute_alignments): Make it static.
* gcse.c (gcse_main, bypass_jumps): Likewise.
* web.c (web_main): Likewise.
* output.h: Remove the prototype for compute_alignments.
* rtl.h: Remove the prototypes for web_main, gcse_main, and
bypass_jumps.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109051 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Sun, 25 Dec 2005 00:17:18 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109048 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * expr.c (force_operand): Use expand_fix and expand_float to
sayle [Sat, 24 Dec 2005 18:35:02 +0000 (18:35 +0000)]
* expr.c (force_operand): Use expand_fix and expand_float to
implement integer <-> FP conversions instead of convert_to_mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109041 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-24 Paul Thomas <pault@gcc.gnu.org>
pault [Sat, 24 Dec 2005 12:05:36 +0000 (12:05 +0000)]
2005-12-24  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/25029
PR fortran/21256
* resolve.c (check_assumed_size_reference, resolve_assumed_size_actual):
Remove because of regressions caused by patch.
(resolve_function, resolve_call, resolve_variable): Remove assumed size
checks because of regressionscaused by patch.

PR fortran/25029
PR fortran/21256
* gfortran.dg/initialization_1.f90: Remove tests of intrinsic functions
with incorrect assumed size references.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109039 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-24 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 24 Dec 2005 10:01:45 +0000 (10:01 +0000)]
2005-12-24  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_algobase.h (fill(const _Deque_iterator&,
const _Deque_iterator&, const _Tp&)): Deal, correctly, only
with iterators (leave const_iterators alone).

2005-12-24  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_algobase.h (fill(const _Deque_iterator<>&,
const _Deque_iterator<>&, const _Tp&)): Add.

* testsuite/23_containers/deque/cons/assign/1.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109038 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c++/23171
mmitchel [Sat, 24 Dec 2005 08:51:05 +0000 (08:51 +0000)]
PR c++/23171
* varasm.c (initializer_constant_valid_p): An ADDR_EXPR of a
CONSTRUCTOR is invalid.

PR c++/23171
* g++.dg/opt/init1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109035 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-23 Daniel Berlin <dberlin@dberlin.org>
dberlin [Sat, 24 Dec 2005 04:42:48 +0000 (04:42 +0000)]
2005-12-23  Daniel Berlin  <dberlin@dberlin.org>

* tree-pass.h (pass_eliminate_useless_stores): Remove.
* tree-ssa-pre.c (is_copy_stmt): Ditto.
(follow_copies_till_vuse): Ditto.
(do_eustore): Ditto.
(gate_eustores): Ditto.
(pass_eliminate_useless_stores): Ditto.
* passes.c (init_optimization_passes): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109034 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Sat, 24 Dec 2005 00:17:23 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109031 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c++/24671
mmitchel [Fri, 23 Dec 2005 23:16:12 +0000 (23:16 +0000)]
PR c++/24671
* pt.c (instantiate_template): Handle SFINAE.
PR c++/24671
* g++.dg/template/sfinae3.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109022 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * decl.c (grokdeclarator): Improve diagnostic for friend
reichelt [Fri, 23 Dec 2005 17:10:37 +0000 (17:10 +0000)]
* decl.c (grokdeclarator): Improve diagnostic for friend
declarations of class members.

* g++.dg/other/friend4.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109017 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-23 Paolo Bonzini <bonzini@gnu.org>
bonzini [Fri, 23 Dec 2005 16:07:53 +0000 (16:07 +0000)]
2005-12-23  Paolo Bonzini  <bonzini@gnu.org>

        * combine.c (simplify_shift_const): Fix typo.  Use, whenever
applicable, simplify_const_binary_operation.

        (simplify_shift_const): Leave only the fallback
        case when no simplification is possible.  Extract to...
        (simplify_shift_const_1): ... here.  Always create a new
        RTX instead of substituting.  Remove the signed_count variable.
        Return NULL_RTX if no substitution is possible.

        (simplify_and_const_int): Leave only the fallback
        case when no simplification is possible.  Extract to...
        (simplify_and_const_int_1): ... here.  Always create a new
        RTX instead of substituting.  Return NULL_RTX if no substitution
        is possible.

        (force_to_mode, simplify_comparison): Don't pass a non-NULL first
        parameter to simplify_and_const_int and simplify_shift_const,
        unless it is equal to the expected non-simplified result.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109016 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR target/25005
jakub [Fri, 23 Dec 2005 09:43:36 +0000 (09:43 +0000)]
PR target/25005
* regrename.c (replace_oldest_value_reg): Use validate_change with
IN_GROUP set to 1 instead of doing direct modifications.
(copyprop_hardreg_forward_1): Likewise.  If any replace_oldest_*
replacements have been performed on an instruction, use
apply_change_group ().

* g++.dg/opt/pr25005.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109013 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c++/25369
mmitchel [Fri, 23 Dec 2005 07:40:04 +0000 (07:40 +0000)]
PR c++/25369
* g++.dg/template/ptrmem16.C: New test.
PR c++/25369
* tree.c (really_overloaded_fn): Tweak comment.
* pt.c (tsubst_call_declarator_parms): Remove.
(tsubst_copy): Call mark_used on the member referenced by an
OFFSET_REF.
* semantics.c (finish_qualified_id_expr): Simplify.
* decl2.c (mark_used): Accept BASELINKs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109010 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-23 Paul Thomas <pault@gcc.gnu.org>
pault [Fri, 23 Dec 2005 06:41:52 +0000 (06:41 +0000)]
2005-12-23  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/25029
PR fortran/21256
*resolve.c(resolve_function): Remove assumed size checking for SIZE
and UBOUND and rely on their built-in checking.

2005-12-23  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/25029
PR fortran/21256
*gfortran.dg/initialization_1.f90: Add test of SIZE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109009 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/cris/arit.c (do_31div): Clarify what "31" refers to.
hp [Fri, 23 Dec 2005 03:02:30 +0000 (03:02 +0000)]
* config/cris/arit.c (do_31div): Clarify what "31" refers to.
[L_divsi3] (__Udiv): Don't use as inline function.
[L_modsi3] (__Umod): Ditto.
(__Div): Rearrange to call do_31div directly instead of __Udiv.
(__Mod): Similarly regarding __Umod.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109007 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 23 Dec 2005 02:56:34 +0000 (02:56 +0000)]
2005-12-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/25307
* gfortran.dg/list_read_5.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109003 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR target/24342
hp [Fri, 23 Dec 2005 00:45:36 +0000 (00:45 +0000)]
PR target/24342
* config/cris/cris.c (cris_split_movdx): Add REG_INC notes for
emitted insns with post-increments.
(cris_expand_epilogue): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108998 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago Merge from gomp-branch.
rth [Fri, 23 Dec 2005 00:43:34 +0000 (00:43 +0000)]
    Merge from gomp-branch.
        * builtins.def: Move all DEF_SYNC_BUILTIN to ...
        * sync-builtins.def: ... new file.
        (BUILT_IN_FETCH_AND_ADD_16,
        BUILT_IN_FETCH_AND_SUB_16, BUILT_IN_FETCH_AND_OR_16,
        BUILT_IN_FETCH_AND_AND_16, BUILT_IN_FETCH_AND_XOR_16,
        BUILT_IN_FETCH_AND_NAND_16, BUILT_IN_ADD_AND_FETCH_16,
        BUILT_IN_SUB_AND_FETCH_16, BUILT_IN_OR_AND_FETCH_16,
        BUILT_IN_AND_AND_FETCH_16, BUILT_IN_XOR_AND_FETCH_16,
        BUILT_IN_NAND_AND_FETCH_16, BUILT_IN_BOOL_COMPARE_AND_SWAP_16,
        BUILT_IN_VAL_COMPARE_AND_SWAP_16, BUILT_IN_LOCK_TEST_AND_SET_16,
        BUILT_IN_LOCK_RELEASE_16): New builtins.
        * builtin-types.def (BT_I16, BT_FN_I16_VPTR_I16,
        BT_FN_BOOL_VPTR_I16_I16, BT_FN_I16_VPTR_I16_I16): Add.
        * builtins.c (expand_builtin): Handle sync BUILT_IN_*_16 builtins.
        * c-common.c (enum c_builtin_type): Move to top-level from
        c_common_nodes_and_builtins enum builtin_type.
        (builtin_types): Move from c_common_nodes_and_builtins.
        (def_fn_type): New.
        (c_common_nodes_and_builtins): Use it.
        (def_builtin_1): Check for error_mark_node.
        (sync_resolve_size): Handle also 128 bit sync builtins.
        * Makefile.in (BUILTINS_DEF): New.  Use it instead of builtins.def.

        * config/i386/i386.h (x86_cmpxchg8b, x86_cmpxchg16b): New decls.
        (TARGET_CMPXCHG8B, TARGET_CMPXCHG16B): Define.
        * config/i386/i386.c (x86_cmpxchg8b, x86_cmpxchg16b): New variables.
        * config/i386/sync.md (CASMODE, DCASMODE): New mode macros.
        (doublemodesuffix, DCASHMODE): New mode attrs.
        (sync_compare_and_swap<mode>): Change into expand, use CASMODE
        instead of IMODE, if mode is wider than a word, expand into
        sync_double_compare_and_swap*.
        (*sync_compare_and_swap<mode>): New insn.
        (sync_double_compare_and_swap<mode>): Likewise.
        (*sync_double_compare_and_swapdi_pic): Likewise.
        (sync_compare_and_swap_cc<mode>): Use CASMODE instead of IMODE, if
        mode is wider than a word, expand into
        sync_double_compare_and_swap_cc*.
        (sync_double_compare_and_swap_cc<mode>): New insn.
        (*sync_double_compare_and_swap_ccdi_pic): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108997 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/i386/mmintrin.h (_mm_add_si64): Only define for SSE2.
rth [Fri, 23 Dec 2005 00:31:44 +0000 (00:31 +0000)]
    * config/i386/mmintrin.h (_mm_add_si64): Only define for SSE2.
        (_mm_sub_si64): Likewise.
        * config/i386/xmmintrin.h (_mm_shuffle_pi16, _m_pshufw): Likewise.

        * gcc.target/i386/sse-7.c: Use -msse2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108996 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Fri, 23 Dec 2005 00:17:19 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108993 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR rtl-optimization/25432
jakub [Thu, 22 Dec 2005 23:19:49 +0000 (23:19 +0000)]
PR rtl-optimization/25432
* reload1.c (eliminate_regs_in_insn): Update insn code on
successfully re-recognizing modified insn.

* gcc.c-torture/compile/20051216-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108985 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR objc/25328
jakub [Thu, 22 Dec 2005 23:09:48 +0000 (23:09 +0000)]
PR objc/25328
* objc/execute/pr25328.m: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108984 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c++/25364
mmitchel [Thu, 22 Dec 2005 20:08:39 +0000 (20:08 +0000)]
PR c++/25364
* typeck.c (build_unary_op): Pass DECLs not names to
build_offset_refs.
* init.c (build_offset_ref): Do not do name lookup.  Do not call
mark_used.
* call.c (build_call): Simplify and tidy.
* semantics.c (finish_qualified_id_expr): Call mark_used.
PR c++/25364
* g++.dg/template/call4.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108973 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-22 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 22 Dec 2005 19:40:27 +0000 (19:40 +0000)]
2005-12-22  Richard Guenther  <rguenther@suse.de>

* tree.c (tree_fold_gcd): Use build_int_cst where appropriate.
* tree-ssa-loop-ivcanon.c (create_canonical_iv): Likewise.
* varasm.c (array_size_for_constructor): Likewise.
* fold-const.c (size_diffop, invert_truthvalue,
optimize_bit_field_compare, make_range, build_range_check,
fold_cond_expr_with_comparison, fold_truthop,
fold_single_bit_test_into_sign_test, fold_binary): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108970 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-22 Dale Johannesen <dalej@apple.com>
dalej [Thu, 22 Dec 2005 19:06:09 +0000 (19:06 +0000)]
2005-12-22  Dale Johannesen  <dalej@apple.com>

* config/i386/sse.md (sse_movhlps):  Reverse operands for
2nd and 3rd alternatives.

2005-12-22  Dale Johannesen  <dalej@apple.com>

* gcc.target/i386/sse-17.c:  New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108966 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-22 Paul Brook <paul@codesourcery.com>
pbrook [Thu, 22 Dec 2005 18:43:21 +0000 (18:43 +0000)]
2005-12-22  Paul Brook  <paul@codesourcery.com>

* gcc.dg/tree-ssa/loop-1.c: Look for jump/branch on m68k.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108963 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-22 Andrew Haley <aph@redhat.com>
aph [Thu, 22 Dec 2005 18:34:01 +0000 (18:34 +0000)]
2005-12-22  Andrew Haley  <aph@redhat.com>

PR java/25535
* testsuite/libjava.lang/PR25535.java: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108961 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-22 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Thu, 22 Dec 2005 18:06:35 +0000 (18:06 +0000)]
2005-12-22  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/25513
        * gcc.c-torture/compile/pr25513.c: New test.
2005-12-22  Andrew Pinski <pinskia@physics.uc.edu>

        PR tree-opt/25513
        * tree-dfa.c (make_rename_temp): Set DECL_COMPLEX_GIMPLE_REG_P complex
        variables.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108958 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Don't
tromey [Thu, 22 Dec 2005 17:33:05 +0000 (17:33 +0000)]
* java/lang/natClassLoader.cc (_Jv_NewArrayClass): Don't
reference NUM_OBJECT_METHODS.
* include/jvm.h (NUM_OBJECT_METHODS): Removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108956 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-22 Daniel Berlin <dberlin@dberlin.org>
dberlin [Thu, 22 Dec 2005 15:01:02 +0000 (15:01 +0000)]
2005-12-22  Daniel Berlin  <dberlin@dberlin.org>

* ipa-reference.c (get_reference_vars_info_from_cgraph): Use
function_ann.
(get_local_reference_vars_info): Ditto.
(get_global_reference_vars_info): Ditto.
(analyze_function): Ditto.
(clean_function): Ditto.
* tree-dfa.c (create_function_ann): New function.
* tree-flow-inline.h (var_ann): FUNCTION_DECL's don't have
var_ann.
(function_ann): New.
(get_function_ann): Ditto.
* tree-flow.h (tree_ann_type): Add FUNCTION_ANN.
(struct var_ann_d): Move reference_vars_info to function annotation.
(struct function_ann_d): New.
(union tree_ann_d): Add function_ann.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108950 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * df.c (df_bitmaps_free): Only work for bbs for that structures are
rakdver [Thu, 22 Dec 2005 14:23:40 +0000 (14:23 +0000)]
* df.c (df_bitmaps_free): Only work for bbs for that structures are
allocated.
(df_bb_modify): Realloc tables to the new index.
(df_find_use): New function.
(df_find_def, df_reg_used): Handle subregs.
* df.h (df_find_use): Declare.

* loop-invariant.c: Include hashtab.h.
(struct invariant): Remove processed field, add eqto and reg fields.
(struct invariant_expr_entry): New.
(invariant_for_use, hash_invariant_expr_1, invariant_expr_equal_p,
hash_invariant_expr, eq_invariant_expr, find_or_insert_inv,
find_identical_invariants, merge_identical_invariants): New functions.
(create_new_invariant): Return the new invariant.  Initialize new
fields.
(find_invariants): Call merge_identical_invariants.
(get_inv_cost, best_gain_for_invariant, set_move_mark,
move_invariant_reg): Handle equivalent invariants.
* Makefile.in (loop-invariant.o): Add HASHTAB_H dependency.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108949 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
reichelt [Thu, 22 Dec 2005 12:01:44 +0000 (12:01 +0000)]
2005-12-22  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>

PR c++/23333
* include/cpplib.h: Add PURE_ZERO to flags for the cpp_token structure.

* c-lex.c (c_lex_with_flags): Add PURE_ZERO to cpp_flags if
number is a single digit '0'.

* parser.c (cp_parser_pure_specifier): Check for PURE_ZERO to
identify a single '0'.

* g++.dg/parse/error25.C: Add more tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108947 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agofortran/
tobi [Thu, 22 Dec 2005 11:37:03 +0000 (11:37 +0000)]
fortran/
PR fortran/18990
* gfortran.h (gfc_charlen): Add resolved field.
* expr.c (gfc_specification_expr): Accept NULL argument.
* resolve.c (gfc_resolve_charlen, gfc_resolve_derived): New.
(gfc_resolve_symbol): Resolve derived type definitions.  Use
resolve_charlen to resolve character lengths.
testsuite/
PR fortran/18990
* gfortran.dg/der_charlen_1.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108946 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-22 Paul Thomas <pault@gcc.gnu.org>
pault [Thu, 22 Dec 2005 07:05:22 +0000 (07:05 +0000)]
2005-12-22  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/20889
*resolve.c(resolve_structure_cons): Do not attempt to convert
the type of mismatched pointer type components, except when
the constructor component is BT_UNKNOWN; emit error instead.

PR fortran/25029
PR fortran/21256
*resolve.c(check_assumed_size_reference): New function to check for upper
bound in assumed size array references.
(resolve_assumed_size_actual): New function to do a very restricted scan
of actual argument expressions of those procedures for which incomplete
assumed size array references are not allowed.
(resolve_function, resolve_call): Switch off assumed size checking of
actual arguments, except for elemental procedures and array valued
intrinsics; excepting LBOUND.
(resolve_variable): Call check_assumed_size_reference.

PR fortran/19362
PR fortran/20244
PR fortran/20864
PR fortran/25391
*interface.c(gfc_compare_types): Broken into two.
(gfc_compare_derived_types): Second half of gfc_compare_types with
corrections for a missing check that module name is non-NULL and
a check for private components.
*symbol.c(gfc_free_dt_list): New function.
(gfc_free_namespace): Call gfc_free_dt_list.
*resolve.c(resolve_symbol): Build the list of derived types in the
symbols namespace.
*gfortran.h: Define the structure type gfc_dt_list.  Add a new field,
derived_types to gfc_namespace.  Provide a prototye for the new
function gfc_compare_derived_types.
*trans_types.c(gfc_get_derived_type): Test for the derived type being
available in the host namespace. In this case, the host backend
declaration is used for the structure and its components.  If an
unbuilt, equal structure that is not use associated is found in the
host namespace, build it there and then.  On exit,traverse the
namespace of the derived type to see if there are equal but unbuilt.
If so, copy the structure and its component declarations.
(copy_dt_decls_ifequal): New functions to copy declarations to other
equal structure types.

PR fortran/20862
* io.c (gfc_match_format): Make the appearance of a format statement
in a module specification block an error.

PR fortran/23152
* match.c (gfc_match_namelist): Set assumed shape arrays in
namelists as std=GFC_STD_GNU and assumed size arrays as an
unconditional error.

PR fortran/25069
* match.c (gfc_match_namelist): Set the respecification of a USE
associated namelist group as std=GFC_STD_GNU.  Permit the concatenation
on no error.

PR fortran/25053
PR fortran/25063
PR fortran/25064
PR fortran/25066
PR fortran/25067
PR fortran/25068
PR fortran/25307
* io.c (resolve_tag): Change std on IOSTAT != default integer to
GFC_STD_GNU and change message accordingly.  Add same error for
SIZE.
(match_dt_element, gfortran.h): Add field err_where to gfc_dt and
set it when tags are being matched.
(gfc_resolve_dt): Remove tests that can be done before resolution
and add some of the new ones here.
(check_io_constraints): New function that checks for most of the
data transfer constraints. Some of these were previously done in
match_io, from where this function is called, and some were done
in gfc_resolve_dt.
(match_io): Remove most of the tests of constraints and add the
call to check_io_constraints.

2005-12-22  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/20889
*gfortran.dg/pointer_component_type_1.f90: New test.

PR fortran/25029
PR fortran/21256
*gfortran.dg/assumed_size_refs.f90: New test for the conditions that
should give an error with assumed size array refernces and checks those
that should not.
*gfortran.dg/gfortran.dg/pr15140.f90: Give the assumed size array
reference an upper bound so that it does not generate an error.

PR fortran/19362
PR fortran/20244
PR fortran/20864
PR fortran/25391
*gfortran.dg/used_dummy_types_1.f90: New test.
*gfortran.dg/used_dummy_types_2.f90: New test.
*gfortran.dg/used_dummy_types_3.f90: New test.
*gfortran.dg/used_dummy_types_4.f90: New test.
*gfortran.dg/used_dummy_types_5.f90: New test.

PR fortran/23152
*gfortran.dg/namelist_use.f90: Add trap for warning on NAMELIST
group already being USE associated.
*gfortran.dg/assumed_shape_nml.f90: New test.
*gfortran.dg/assumed_size_nml.f90: New test.

PR fortran/20862
PR fortran/25053
PR fortran/25063
PR fortran/25064
PR fortran/25066
PR fortran/25067
PR fortran/25068
PR fortran/25307
* gfortran.dg/io_constraints_1.f90: New test.
* gfortran.dg/io_constraints_1.f90: New test.
* gfortran.dg/iostat_3.f90: Change wording of warning.
 * gfortran.dg/g77/19981216-0.f:  the same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108943 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agogcc/
kazu [Thu, 22 Dec 2005 04:03:32 +0000 (04:03 +0000)]
gcc/
PR tree-optimization/23518
* fold-const.c (make_range): Don't move a constant to the
other side of the comparison if the type is signed and -fwrapv
is given.

gcc/testsuite/
PR tree-optimization/23518
* testsuite/gcc.dg/pr23518.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108940 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Thu, 22 Dec 2005 02:32:29 +0000 (02:32 +0000)]
2005-12-21  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/25307
* io/list_read.c (next_char): Handle end-of-file conditions for
internal units and add support for internal character array units.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108938 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * tree-vrp.c (extract_range_from_binary_expr): Clean up uses
kazu [Thu, 22 Dec 2005 01:16:57 +0000 (01:16 +0000)]
* tree-vrp.c (extract_range_from_binary_expr): Clean up uses
of vr0.type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108935 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * gcc.dg/attr-weakref-1.c: Really skip on darwin.
mrs [Thu, 22 Dec 2005 01:02:55 +0000 (01:02 +0000)]
* gcc.dg/attr-weakref-1.c: Really skip on darwin.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108934 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * gcc.dg/attr-weakref-1.c: Really skip on darwin.
mrs [Thu, 22 Dec 2005 01:02:29 +0000 (01:02 +0000)]
* gcc.dg/attr-weakref-1.c: Really skip on darwin.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108933 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Thu, 22 Dec 2005 00:17:25 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108930 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR middle-end/24998
jsm28 [Wed, 21 Dec 2005 17:48:07 +0000 (17:48 +0000)]
PR middle-end/24998
* config/arm/t-arm-elf (LIB1ASMFUNCS): Add _floatundidf and
_floatundisf.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108918 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-21 Paul Brook <paul@codesourcery.com>
pbrook [Wed, 21 Dec 2005 17:18:53 +0000 (17:18 +0000)]
2005-12-21  Paul Brook  <paul@codesourcery.com>

* gcc.dg/pr19340.c: Skip on m68k targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108916 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-21 Andrew Haley <aph@redhat.com>
aph [Wed, 21 Dec 2005 16:52:13 +0000 (16:52 +0000)]
2005-12-21  Andrew Haley  <aph@redhat.com>

        PR middle-end/25121
        * recog.c (peephole2_optimize): Don't peephole any
        RTX_FRAME_RELATED_P insns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108914 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * tree-data-ref.c (estimate_niter_from_size_of_data): Replace
kazu [Wed, 21 Dec 2005 16:48:59 +0000 (16:48 +0000)]
* tree-data-ref.c (estimate_niter_from_size_of_data): Replace
fold_build2 with fold_binary.
* tree-ssa-ccp.c (visit_assignment, maybe_fold_stmt_addition):
Replace fold_build1 with fold_unary.
* tree-ssa-reassoc.c (optimize_ops_list): Replace fold_build2
with fold_binary.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108913 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agofixup PR number mixup
steven [Wed, 21 Dec 2005 15:43:38 +0000 (15:43 +0000)]
fixup PR number mixup

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108909 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agopatch for PR rtl-optimization/25130
steven [Wed, 21 Dec 2005 15:28:16 +0000 (15:28 +0000)]
patch for PR rtl-optimization/25130

gcc/
        * postreload-gcse.c (record_last_set_info): Notice stack pointer
        changes in push insns without REG_INC notes.

testsuite/
        * gcc.dg/pr25130.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108906 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agofortran/
eedelman [Wed, 21 Dec 2005 11:58:09 +0000 (11:58 +0000)]
fortran/
2005-12-21  Erik Edelmann  <eedelman@gcc.gnu.org>

        PR fortran/25423
        * parse.c (parse_where_block): break instead of "fall
         through" after parsing nested WHERE construct.

testsuite/
2005-12-21  Erik Edelmann  <eedelman@gcc.gnu.org>

        PR fortran/25423
        gfortran.dg/where_nested_1.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108902 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agogcc/
kazu [Wed, 21 Dec 2005 05:58:02 +0000 (05:58 +0000)]
gcc/
PR tree-optimization/25382.
* tree-vrp.c (extract_range_from_binary_expr): Extract a range
from BIT_AND_EXPR.

gcc/testsuite/
PR tree-optimization/25382.
* gcc.dg/tree-ssa/pr25382.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108898 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * configure.ac: Enable C extension for decimal float if invoked
bje [Wed, 21 Dec 2005 00:43:21 +0000 (00:43 +0000)]
* configure.ac: Enable C extension for decimal float if invoked
with --enable-decimal-float.
* doc/install.texi (Configuration): Document it.
* configure, config.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108887 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Wed, 21 Dec 2005 00:17:34 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108884 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Handle the
mrs [Tue, 20 Dec 2005 23:46:18 +0000 (23:46 +0000)]
    * config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Handle the
        ambiguity between -seg_addr_table and -seg_addr_table_filename.
        (WORD_SWITCH_TAKES_ARG): Likewise.
        (LINK_SPEC): Likewise.
Radar 3941990

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108876 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-20 Kenneth Zadeck <zadeck@naturalbridge.com>
zadeck [Tue, 20 Dec 2005 23:10:49 +0000 (23:10 +0000)]
2005-12-20  Kenneth Zadeck <zadeck@naturalbridge.com>

* cfganal.c (flow_reverse_top_sort_order_compute):
Renamed to post_order_compute and additional parameter added which
allows the inclusion of entry and exit blocks into list.
(mark_dfs_back_edges): Fixed comment.
(flow_depth_first_order_compute): Renamed to
pre_and_rev_post_order_compute additional parameter added which
allows the inclusion of entry and exit blocks into list.
* global.c (set_up_bb_rts_numbers): Call to
flow_reverse_top_sort_order_compute renamed to
post_order_compute.
* var-tracking.c (vt_stack_adjustments): Fixed comment.
(vt_find_locations): Call to
flow_depth_first_order_compute renamed to
pre_and_rev_post_order_compute.
* cfgloop.c (flow_find_loops): Ditto.
* tree-ssa-reassoc.c (init_reassoc): Ditto.
* df.c (df_analyze_1, df_analyze_subcfg): Calls to
flow_reverse_top_sort_order_compute renamed to post_order_compute
and calls to flow_reverse_top_sort_order_compute renamed to
post_order_compute.
* basic_block.h: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108874 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * btest-gcc.sh: Support -j option.
geoffk [Tue, 20 Dec 2005 20:20:24 +0000 (20:20 +0000)]
* btest-gcc.sh: Support -j option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108866 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * decNumber.c (decStrEq): Cast string contents to unsigned char
sayle [Tue, 20 Dec 2005 18:48:47 +0000 (18:48 +0000)]
    * decNumber.c (decStrEq): Cast string contents to unsigned char
        instead of int before calling tolower.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108862 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * decNumber.c (decStrEq): Cast operands to int before calling
sayle [Tue, 20 Dec 2005 17:23:53 +0000 (17:23 +0000)]
* decNumber.c (decStrEq): Cast operands to int before calling
tolower to avoid compilation warnings on Tru64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108858 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-20 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 20 Dec 2005 17:19:18 +0000 (17:19 +0000)]
2005-12-20  Paolo Bonzini  <bonzini@gnu.org>

        Revert Ada-related part of the previous change.

        * Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, ADAFLAGS_FOR_TARGET):
        Do not pass.
        * Makefile.tpl (BOOT_ADAFLAGS): Do not define.
        * Makefile.in: Regenerate.
        * configure.in: Do not include mt-ppc-aix target fragment.
        * configure: Regenerate.

config:
2005-12-20  Paolo Bonzini  <bonzini@gnu.org>

        Revert Ada-related part of the previous change.

        * mt-ppc-aix: Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108856 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-20 Roger Sayle <roger@eyesopen.com>
bonzini [Tue, 20 Dec 2005 17:06:14 +0000 (17:06 +0000)]
2005-12-20  Roger Sayle  <roger@eyesopen.com>
    Paolo Bonzini  <bonzini@gnu.org>

PR rtl-optimization/25115
* gcse.c (pre_insert_copy_insn): Fall back to the sole
SET in the insn if there is no SET for an
expression that is equivalent to EXPR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108855 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-20 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 20 Dec 2005 16:20:27 +0000 (16:20 +0000)]
2005-12-20  Richard Guenther  <rguenther@suse.de>

PR middle-end/24306
* builtins.c (std_gimplify_va_arg_expr): Do not align
va frame for zero sized types.
* config/i386/i386.c (ix86_gimplify_va_arg): Likewise.

        * gcc.target/i386/pr24306.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108854 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agogcc/
kazu [Tue, 20 Dec 2005 14:47:07 +0000 (14:47 +0000)]
gcc/
PR tree-optimization/25501
* tree-cfgcleanup.c (merge_phi_nodes): Check that RESULT is
used in the PHI argument corresponding to the edge from BB to
DEST.

gcc/testsuite/
PR tree-optimization/25501
* testsuite/gcc.dg/tree-ssa/pr25501.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108853 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-20 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 20 Dec 2005 14:35:29 +0000 (14:35 +0000)]
2005-12-20  Richard Guenther  <rguenther@suse.de>

        Revert
        2005-12-02  Richard Guenther  <rguenther@suse.de>

        * tree-cfg.c (mark_used_vars): New function.
        (dump_function_to_file): Dump only used VAR_DECLs.

        * gcc.dg/tree-ssa/20031106-6.c: Remove XFAIL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108852 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c++/21228
mmitchel [Tue, 20 Dec 2005 08:48:13 +0000 (08:48 +0000)]
PR c++/21228
* decl.c (use_eh_spec_block): New function.
(store_parm_decls): Use it.
(finish_function): Likewise.

PR c++/21228
* g++.dg/warn/Wunreachable-code-2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108851 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c++/24278
mmitchel [Tue, 20 Dec 2005 04:59:42 +0000 (04:59 +0000)]
PR c++/24278
* init.c (expand_member_init): Print messages about baseclasses
using %T rather than %D.
PR c++/24278
* g++.dg/template/ctor5.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108840 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c++/24915
mmitchel [Tue, 20 Dec 2005 04:44:20 +0000 (04:44 +0000)]
PR c++/24915
* class.c (add_method): Do not treat templates as identical unless
their return types are the same.
PR c++/24915
* g++.dg/template/overload8.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108837 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * combine.c (try_combine): Improve splitting of binary operators
sayle [Tue, 20 Dec 2005 04:17:58 +0000 (04:17 +0000)]
* combine.c (try_combine): Improve splitting of binary operators
by taking advantage of reassociative transformations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108834 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * tree-ssa-dom.c (thread_across_edge): Do not use local_fold.
law [Tue, 20 Dec 2005 04:08:01 +0000 (04:08 +0000)]
* tree-ssa-dom.c (thread_across_edge): Do not use local_fold.
Strip away all type conversions after simplifying the
condition.

        * tree-cfgcleanup.c (merge_phi_nodes): Allow merging in some
        cases the forwarder block dominates the destination.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108833 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* reload1.c (spill_failure): Dump failed reload data to dump file.
dj [Tue, 20 Dec 2005 01:04:24 +0000 (01:04 +0000)]
* reload1.c (spill_failure): Dump failed reload data to dump file.
(find_reload_regs): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108830 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-19 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 20 Dec 2005 00:29:18 +0000 (00:29 +0000)]
2005-12-19  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_deque.h (deque<>::resize, _M_fill_assign):
Avoid troubles with ADL, user defined operators and _Deque_iterator.
(operator-(const _Deque_iterator<>&, const _Deque_iterator<>&):
Add overload for left and right iterators of the same type.
* include/bits/deque.tcc (erase(iterator)): Avoid troubles with ADL,
user defined operators and _Deque_iterator.
* testsuite/23_containers/deque/types/1.cc: Add.

* include/bits/deque.tcc (_M_insert_aux(iterator, size_type,
const value_type&)): Qualify with std:: fill call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108827 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Tue, 20 Dec 2005 00:17:21 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108824 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR tree-optimization/24793
rakdver [Mon, 19 Dec 2005 20:10:11 +0000 (20:10 +0000)]
PR tree-optimization/24793
* tree-ssa-loop-ivopts.c (get_ref_tag): Remember the
original reference if there are subvars.
* tree-ssa-operands.c (get_tmr_operands): Handle subvars.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108808 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-19 Kenneth Zadeck <zadeck@naturalbridge.com>
zadeck [Mon, 19 Dec 2005 19:41:35 +0000 (19:41 +0000)]
2005-12-19  Kenneth Zadeck <zadeck@naturalbridge.com>
* df.c (df_analyze_1, df_analyze_subcfg, iterative_dataflow):
Corrected basic block number calculations for changes in entry and
exit numbering.
2005-12-19  Kenneth Zadeck <zadeck@naturalbridge.com>

* gcc.c-torture/compile/pr25483 : New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108805 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * tree-flow.h (struct var_ann_d): Change type of
rakdver [Mon, 19 Dec 2005 19:13:21 +0000 (19:13 +0000)]
* tree-flow.h (struct var_ann_d): Change type of
may_aliases field to VEC(tree, gc) *.
(may_aliases): Declaration changed.
* tree-ssa-alias.c (group_aliases, add_may_alias,
replace_may_alias, dump_may_aliases_for,
is_aliased_with, add_type_alias, new_type_alias):
Work with VEC(tree, gc) * instead of varray.
* tree-flow-inline.h (may_aliases): Ditto.
* tree-ssa.c (verify_flow_insensitive_alias_info,
verify_name_tags): Ditto.
* tree-ssa-operands.c (add_stmt_operand): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108804 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoFix previous mis-applied patch.
pbrook [Mon, 19 Dec 2005 18:08:13 +0000 (18:08 +0000)]
Fix previous mis-applied patch.

* config/m68k/m68k.md (m68k_output_function_prologue): Always call
dwarf2out_def_cfa. Only add space for frame pointer to cfa_offset
when frame_pointer_needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108801 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c++/20552
reichelt [Mon, 19 Dec 2005 17:28:30 +0000 (17:28 +0000)]
PR c++/20552
* g++.dg/ext/typeof10.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108796 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agocommit changelogs for previous change
bonzini [Mon, 19 Dec 2005 17:04:55 +0000 (17:04 +0000)]
commit changelogs for previous change

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108794 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-19 Paolo Bonzini <bonzini@gnu.org>
bonzini [Mon, 19 Dec 2005 17:02:00 +0000 (17:02 +0000)]
2005-12-19  Paolo Bonzini  <bonzini@gnu.org>

* configure.in: Select appropriate fragments for PowerPC/AIX.
* configure: Regenerate.

* Makefile.def (flags_to_pass): Add ADAFLAGS, BOOT_ADAFLAGS,
BOOT_CFLAGS, BOOT_LDFLAGS.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Handle BOOT_ADAFLAGS,
BOOT_CFLAGS, BOOT_LDFLAGS.
(TARGET_FLAGS_TO_PASS): Handle ADAFLAGS_FOR_TARGET.
(stage[+id+]-bubble): Pass flags recursively to the comparison target.
(stage): Fail if we cannot complete the work.
* Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108793 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * cfgcleanup.c: Temporarily revert patches for PR 20070 till Bernd
amylaar [Mon, 19 Dec 2005 14:36:59 +0000 (14:36 +0000)]
* cfgcleanup.c: Temporarily revert patches for PR 20070 till Bernd
comes back.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108792 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * struct-equiv.c (struct_equiv_improve_checkpoint): Fix sets_cc0_p
amylaar [Mon, 19 Dec 2005 14:02:56 +0000 (14:02 +0000)]
* struct-equiv.c (struct_equiv_improve_checkpoint): Fix sets_cc0_p
check.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108791 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * doc/install.texi (Configuration): Typo in Fortran subheading.
bje [Mon, 19 Dec 2005 13:02:32 +0000 (13:02 +0000)]
* doc/install.texi (Configuration): Typo in Fortran subheading.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108790 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * gcc.dg/mt-loopi1.c: New.
nathan [Mon, 19 Dec 2005 11:01:38 +0000 (11:01 +0000)]
* gcc.dg/mt-loopi1.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108788 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/mt/mt.md (decrement_and_branch_until_zero): Add another
nathan [Mon, 19 Dec 2005 10:51:46 +0000 (10:51 +0000)]
* config/mt/mt.md (decrement_and_branch_until_zero): Add another
scratch.  Correct its reload split. Adjust its peephole.
(doloop_end): Add additional scratch.
(nop): Use 'nop'.
* config/mt/mt.c (MT_INT_ARG_FIRST): Remove.
(mt_asm_output_opcode, mt_print_operand): Use 'nop'.
(mt_function_arg_slotno): Use FIRST_ARG_REGNUM.
(mt_builtin_saveregs): Replace with ...
(mt_setup_incoming_varargs): ... here.  Save just the varadic
args.
(mt_va_start): Remove.
(mt_reorg_hazard): Ignore USE insns.  Don't call set_noop_p.
(mt_machine_reorg): Split all insns here.
(TARGET_SETUP_INCOMING_VARARGS): Override.
* config/mt/mt.h (TARGET_CPU_CPP_BUILTINS): Define __mt__ only.
Set to CPU type.
(EXPAND_BUILTIN_VA_START): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108787 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Mon, 19 Dec 2005 07:02:05 +0000 (07:02 +0000)]
2005-12-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/25463
* gfortran.dg/advance.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108785 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Mon, 19 Dec 2005 06:52:33 +0000 (06:52 +0000)]
2005-12-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/25463
* io/transfer.c (finalize_transfer): Fix execution order so that
next_record is set to zero in all cases.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108784 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-18 Anthony Green <green@redhat.com>
green [Mon, 19 Dec 2005 02:54:19 +0000 (02:54 +0000)]
2005-12-18  Anthony Green  <green@redhat.com>

* gnu/java/net/natPlainDatagramSocketImplPosix.cc (getLocalAddress):
New helper function.
(setOption): Use getLocalAddress.  Don't downcast value to
InetAddress.
(getOption): Use getLocalAddress.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108779 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoFixed typo in changelog.
zadeck [Mon, 19 Dec 2005 02:36:45 +0000 (02:36 +0000)]
Fixed typo in changelog.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108778 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-17 Kenneth Zadeck <zadeck@naturalbridge.com>
zadeck [Mon, 19 Dec 2005 02:35:44 +0000 (02:35 +0000)]
2005-12-17  Kenneth Zadeck <zadeck@naturalbridge.com>

        * flow.c (update_life_info, count_or_remove_death_notes): Fixed
latent bug that could happen if update_life_info was called with a
blocks parameter and the call to cleanup_cfg actually deleted one
of those blocks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108777 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * tree-ssa-structalias.c (update_alias_info): Remove handling
rakdver [Mon, 19 Dec 2005 00:56:31 +0000 (00:56 +0000)]
* tree-ssa-structalias.c (update_alias_info): Remove handling
of may_be_aliased (SSA_NAME_VAR (op)) case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108776 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-18 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 19 Dec 2005 00:56:05 +0000 (00:56 +0000)]
2005-12-18  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/c++config: Add in revised namespace associations.
_GLIBCXX_BEGIN_NAMESPACE: New macro.
_GLIBCXX_END_NAMESPACE: Same.
_GLIBCXX_BEGIN_NESTED_NAMESPACE: Same.
_GLIBCXX_END_NESTED_NAMESPACE: Same.
* acinclude.m4 (GLIBCXX_ENABLE_SYMVERS]): Add gnu-versioned-namespace.
* configure: Regenerated.
* config.h.in: Same.
* config/abi/pre/gnu-versioned-namespace.ver: New.
* config/abi/pre/gnu.ver (GLIBCXX_3.4.7): Add exports for nested
debug mode items.
* include/Makefile.am (${host_builddir}/c++config.h): Fill in
values for __GLIBCXX__ and _GLIBCXX_NAMESPACE_ASSOCIATION_VERSION.
* include/Makefile.in: Regnerate.
* src/compatibility.cc: Alias new, nested definitions to exported
symbols from non-nested __gnu_debug.
* src/Makefile.am:  Add in ENABLE_SYMVERS_GNU_NAMESPACE.
* src/Makefile.in: Regenerate.

* docs/html/debug_mode.html: Revise for nested design.
* docs/html/debug.html: Use debug qualifications instead of
__gnu_debug.
* docs/html/configopts.html: Revise documentation for
--enable-symvers.

* include/debug/formatter: Simplify namespace qualifications for
current, nested-only reality. Add top-level namespace alias,
namespace debug, for debug-mode containers.
* include/debug/safe_iterator.h: Same.
* include/debug/set.h: Same.
* include/debug/hash_multimap.h: Same.
* include/debug/hash_set.h: Same.
* include/debug/bitset
* include/debug/safe_sequence.h: Same.
* include/debug/multiset.h: Same.
* include/debug/safe_base.h: Same.
* include/debug/functions.h: Same.
* include/debug/safe_iterator.tcc
* include/debug/hash_multiset.h: Same.
* include/debug/vector
* include/debug/map.h: Same.
* include/debug/deque
* include/debug/hash_map.h: Same.
* include/debug/string
* include/debug/macros.h: Same.
* include/debug/list
* include/debug/debug.h: Same.
* include/debug/multimap.h: Same.
* src/debug.cc: Same.
* testsuite/23_containers/vector/invalidation/1.cc: Cleanups.
* testsuite/23_containers/vector/invalidation/2.cc: Same.
* testsuite/23_containers/vector/invalidation/3.cc: Same.
* testsuite/23_containers/vector/invalidation/4.cc: Same.
* testsuite/23_containers/deque/invalidation/1.cc: Same.
* testsuite/23_containers/deque/invalidation/2.cc: Same.
* testsuite/23_containers/deque/invalidation/3.cc: Same.
* testsuite/23_containers/deque/invalidation/4.cc: Same.
* testsuite/23_containers/multiset/invalidation/1.cc: Same.
* testsuite/23_containers/multiset/invalidation/2.cc: Same.
* testsuite/23_containers/multimap/invalidation/1.cc: Same.
* testsuite/23_containers/multimap/invalidation/2.cc: Same.
* testsuite/23_containers/bitset/invalidation/1.cc: Same.
* testsuite/23_containers/bitset/cons/16020.cc: Same.
* testsuite/23_containers/bitset/operations/13838.cc: Same.
* testsuite/23_containers/list/invalidation/1.cc: Same.
* testsuite/23_containers/list/invalidation/2.cc: Same.
* testsuite/23_containers/list/invalidation/3.cc: Same.
* testsuite/23_containers/list/invalidation/4.cc: Same.
* testsuite/23_containers/set/invalidation/1.cc: Same.
* testsuite/23_containers/set/invalidation/2.cc: Same.
* testsuite/23_containers/map/invalidation/1.cc: Same.
* testsuite/23_containers/map/invalidation/2.cc: Same.
* testsuite/23_containers/map/insert/16813.cc: Same.

* include/bits/basic_ios.h: Use _GLIBCXX_BEGIN_NAMESPACE(std) and
friends.
* include/bits/stl_list.h: Same.
* include/bits/stl_map.h: Same.
* include/bits/stl_algobase.h: Same.
* include/bits/localefwd.h: Same.
* include/bits/valarray_array.tcc: Same.
* include/bits/valarray_after.h: Same.
* include/bits/gslice_array.h: Same.
* include/bits/stl_queue.h: Same.
* include/bits/gslice.h: Same.
* include/bits/locale_facets.tcc: Same.
* include/bits/locale_classes.h: Same.
* include/bits/stl_set.h: Same.
* include/bits/locale_facets.h: Same.
* include/bits/stl_stack.h: Same.
* include/bits/stl_iterator_base_types.h: Same.
* include/bits/stl_heap.h: Same.
* include/bits/indirect_array.h: Same.
* include/bits/atomicity.h: Same.
* include/bits/stream_iterator.h: Same.
* include/bits/concurrence.h: Same.
* include/bits/basic_string.h: Same.
* include/bits/stl_multimap.h: Same.
* include/bits/stl_pair.h: Same.
* include/bits/basic_ios.tcc: Same.
* include/bits/stl_raw_storage_iter.h: Same.
* include/bits/stl_vector.h: Same.
* include/bits/stl_numeric.h: Same.
* include/bits/ios_base.h: Same.
* include/bits/stl_deque.h: Same.
* include/bits/istream.tcc: Same.
* include/bits/postypes.h: Same.
* include/bits/stl_multiset.h: Same.
* include/bits/mask_array.h: Same.
* include/bits/stl_uninitialized.h: Same.
* include/bits/ostream.tcc: Same.
* include/bits/slice_array.h: Same.
* include/bits/boost_concept_check.h: Same.
* include/bits/sstream.tcc: Same.
* include/bits/stl_iterator_base_funcs.h: Same.
* include/bits/char_traits.h: Same.
* include/bits/stl_algo.h: Same.
* include/bits/stringfwd.h: Same.
* include/bits/c++config
* include/bits/stl_iterator.h: Same.
* include/bits/valarray_array.h: Same.
* include/bits/stl_tempbuf.h: Same.
* include/bits/vector.tcc: Same.
* include/bits/deque.tcc: Same.
* include/bits/stl_bvector.h: Same.
* include/bits/basic_string.tcc: Same.
* include/bits/list.tcc: Same.
* include/bits/streambuf_iterator.h: Same.
* include/bits/valarray_before.h: Same.
* include/bits/stl_construct.h: Same.
* include/bits/stl_function.h: Same.
* include/bits/cpp_type_traits.h: Same.
* include/bits/streambuf.tcc: Same.
* include/bits/allocator.h: Same.
* include/bits/stl_tree.h: Same.
* include/bits/fstream.tcc: Same.
* include/bits/stl_relops.h: Same.
* include/bits/functexcept.h: Same.
* include/std/std_valarray.h: Same.
* include/std/std_iostream.h: Same.
* include/std/std_streambuf.h: Same.
* include/std/std_bitset.h: Same.
* include/std/std_iosfwd.h: Same.
* include/std/std_iomanip.h: Same.
* include/std/std_fstream.h: Same.
* include/std/std_limits.h: Same.
* include/std/std_stdexcept.h: Same.
* include/std/std_istream.h: Same.
* include/std/std_complex.h: Same.
* include/std/std_memory.h: Same.
* include/std/std_ostream.h: Same.
* include/std/std_sstream.h: Same.
* include/c_std/std_csignal.h: Same.
* include/c_std/std_cstdlib.h: Same.
* include/c_std/std_cstdio.h: Same.
* include/c_std/std_cstdarg.h: Same.
* include/c_std/std_cctype.h: Same.
* include/c_std/std_cmath.h: Same.
* include/c_std/std_ctime.h: Same.
* include/c_std/std_clocale.h: Same.
* include/c_std/std_csetjmp.h: Same.
* include/c_std/std_cwchar.h: Same.
* include/c_std/std_cstring.h: Same.
* include/c_std/std_cstddef.h: Same.
* include/c_std/std_cwctype.h: Same.
* include/backward/iterator.h: Same.
* include/backward/set.h: Same.
* include/backward/hashtable.h: Same.
* include/backward/fstream.h: Same.
* include/backward/tempbuf.h: Same.
* include/backward/istream.h: Same.
* include/backward/bvector.h: Same.
* include/backward/stack.h: Same.
* include/backward/rope.h: Same.
* include/backward/complex.h: Same.
* include/backward/ostream.h: Same.
* include/backward/heap.h: Same.
* include/backward/iostream.h: Same.
* include/backward/function.h: Same.
* include/backward/multimap.h: Same.
* include/backward/pair.h: Same.
* include/backward/stream.h: Same.
* include/backward/iomanip.h: Same.
* include/backward/strstream
* include/backward/slist.h: Same.
* include/backward/tree.h: Same.
* include/backward/vector.h: Same.
* include/backward/deque.h: Same.
* include/backward/multiset.h: Same.
* include/backward/list.h: Same.
* include/backward/map.h: Same.
* include/backward/algobase.h: Same.
* include/backward/hash_map.h: Same.
* include/backward/algo.h: Same.
* include/backward/queue.h: Same.
* include/backward/streambuf.h: Same.
* src/allocator-inst.cc: Same.
* src/complex_io.cc: Same.
* src/localename.cc: Same.
* src/limits.cc: Same.
* src/ios_failure.cc: Same.
* src/locale-misc-inst.cc: Same.
* src/streambuf-inst.cc: Same.
* src/misc-inst.cc: Same.
* src/concept-inst.cc: Same.
* src/ios_locale.cc: Same.
* src/pool_allocator.cc: Same.
* src/fstream-inst.cc: Same.
* src/istream-inst.cc: Same.
* src/string-inst.cc: Same.
* src/locale_init.cc: Same.
* src/ctype.cc: Same.
* src/strstream.cc: Same.
* src/ostream-inst.cc: Same.
* src/functexcept.cc: Same.
* src/streambuf.cc: Same.
* src/sstream-inst.cc: Same.
* src/ios.cc: Same.
* src/valarray-inst.cc: Same.
* src/locale.cc: Same.
* src/tree.cc: Same.
* src/stdexcept.cc: Same.
* src/istream.cc: Same.
* src/compatibility.cc: Same.
* src/locale-inst.cc: Same.
* src/globals_io.cc: Same.
* src/list.cc: Same.
* src/ios_init.cc: Same.
* src/locale_facets.cc: Same.
* src/codecvt.cc: Same.

* include/tr1/unordered_map: Use _GLIBCXX_BEGIN_NAMESPACE(tr1).
* include/tr1/boost_shared_ptr.h: Same.
* include/tr1/tuple
* include/tr1/hashtable
* include/tr1/type_traits_fwd.h: Same.
* include/tr1/unordered_set
* include/tr1/functional
* include/tr1/ref_fwd.h: Same.
* include/tr1/utility
* include/tr1/type_traits
* include/tr1/array

* include/ext/hashtable.h: Use _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx).
* include/ext/typelist.h: Same.
* include/ext/hash_map: Same.
* include/ext/rc_string_base.h: Same.
* include/ext/pool_allocator.h: Same.
* include/ext/iterator: Same.
* include/ext/rb_tree: Same.
* include/ext/numeric: Same.
* include/ext/vstring.tcc: Same.
* include/ext/sso_string_base.h: Same.
* include/ext/stdio_filebuf.h: Same.
* include/ext/algorithm: Same.
* include/ext/codecvt_specializations.h: Same.
* include/ext/new_allocator.h: Same.
* include/ext/array_allocator.h: Same.
* include/ext/vstring_util.h: Same.
* include/ext/vstring_fwd.h: Same.
* include/ext/mt_allocator.h: Same.
* include/ext/debug_allocator.h: Same.
* include/ext/slist: Same.
* include/ext/stdio_sync_filebuf.h: Same.
* include/ext/hash_fun.h: Same.
* include/ext/malloc_allocator.h: Same.
* include/ext/functional: Same.
* include/ext/bitmap_allocator.h: Same.
* include/ext/pod_char_traits.h: Same.
* include/ext/vstring.h: Same.
* include/ext/ropeimpl.h: Same.
* include/ext/hash_set: Same.
* include/ext/memory: Same.
* include/ext/rope: Same.
* include/bits/boost_concept_check.h: Same.
* include/bits/stl_iterator.h: Same.
* include/bits/char_traits.h: Same.
* include/bits/cpp_type_traits.h: Same.
* include/bits/concurrence.h: Same.
* include/bits/atomicity.h: Same.
* config/locale/gnu/numeric_members.cc: Same.
* config/locale/gnu/collate_members.cc: Same.
* config/locale/gnu/ctype_members.cc: Same.
* config/locale/gnu/c_locale.cc: Same.
* config/locale/gnu/codecvt_members.cc: Same.
* config/locale/gnu/messages_members.cc: Same.
* config/locale/gnu/c_locale.h: Same.
* config/locale/gnu/monetary_members.cc: Same.
* config/locale/gnu/time_members.cc: Same.
* config/locale/ieee_1003.1-2001/c_locale.h: Same.
* config/locale/generic/numeric_members.cc: Same.
* config/locale/generic/collate_members.cc: Same.
* config/locale/generic/ctype_members.cc: Same.
* config/locale/generic/c_locale.cc: Same.
* config/locale/generic/codecvt_members.cc: Same.
* config/locale/generic/messages_members.cc: Same.
* config/locale/generic/c_locale.h: Same.
* config/locale/generic/monetary_members.cc: Same.
* config/locale/generic/time_members.cc: Same.
* config/os/aix/atomicity.h: Same.
* config/os/irix/atomicity.h: Same.
* config/cpu/powerpc/atomicity.h: Same.
* config/cpu/cris/atomicity.h: Same.
* config/cpu/ia64/atomicity.h: Same.
* config/cpu/alpha/atomicity.h: Same.
* config/cpu/m68k/atomicity.h: Same.
* config/cpu/hppa/atomicity.h: Same.
* config/cpu/mips/atomicity.h: Same.
* config/cpu/sparc/atomicity.h: Same.
* config/cpu/i386/atomicity.h: Same.
* config/cpu/i486/atomicity.h: Same.
* config/cpu/sh/atomicity.h: Same.
* config/cpu/generic/atomicity.h: Same.
* config/cpu/s390/atomicity.h: Same.
* config/io/c_io_stdio.h: Same.
* config/io/basic_file_stdio.cc: Same.
* config/io/basic_file_stdio.h: Same.
* src/misc-inst.cc: Same.
* src/concept-inst.cc: Same.
* src/ext-inst.cc: Same.
* src/string-inst.cc: Same.
* src/pool_allocator.cc: Same.
* src/bitmap_allocator.cc: Same.
* src/mt_allocator.cc: Same.
* libsupc++/exception: Same.
* libsupc++/vterminate.cc: Same.
* testsuite/ext/hash_map/1.cc: Explicitly qualify __gnu_cxx::hash_map.
* testsuite/ext/hash_map/14648.cc: Same.

* libsupc++/eh_alloc.cc: Correct comment line spacing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108775 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Mon, 19 Dec 2005 00:17:49 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108772 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * tree-flow.h (struct stmt_ann_d): Remove
rakdver [Mon, 19 Dec 2005 00:12:14 +0000 (00:12 +0000)]
* tree-flow.h (struct stmt_ann_d): Remove
makes_aliased_loads and makes_aliased_stores fields.
* tree-ssa-ccp.c (likely_value): Do not use makes_aliased_stores
and makes_aliased_loads fields.
* tree-ssa-dom.c (eliminate_redundant_computations): Do not
use makes_aliased_stores.
* tree-ssa-operands.c (clobbered_aliased_loads,
clobbered_aliased_stores, ro_call_aliased_loads): Removed.
(build_ssa_operands, add_stmt_operand, add_call_clobber_ops,
add_call_read_ops): Do not set makes_aliased_stores and
makes_aliased_loads fields.
* tree-ssa.c (verify_ssa): Do not verify makes_aliased_stores
field.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108766 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/darwin.h: Don't include darwin-sections.def to declare
geoffk [Sun, 18 Dec 2005 23:32:52 +0000 (23:32 +0000)]
* config/darwin.h: Don't include darwin-sections.def to declare
global variables; instead create darwin_section_enum.
(darwin_section_enum): New.
(darwin_sections): New.
* config/darwin.c: Don't include darwin-sections.def to define
global variables.
(darwin_sections): New.
(output_objc_section_asm_op): Rewrite to take advantage of
darwin_sections.
(darwin_init_sections): Rewrite to use darwin_sections.
(machopic_output_indirection): Update for darwin_sections array.
(machopic_select_section): Likewise.
(machopic_select_rtx_section): Likewise.
(machopic_asm_out_constructor): Likewise.
(machopic_asm_out_destructor): Likewise.
(darwin_file_end): Likewise.
* config/rs6000/rs6000.c (machopic_output_stub): Likewise.
* config/i386/i386.c (machopic_output_stub): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108765 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-18 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 18 Dec 2005 22:20:31 +0000 (22:20 +0000)]
2005-12-18  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/25481
* tree-ssa-structalias.c (handle_ptr_arith): Handle
accesses we don't have a varinfo for.

* gcc.dg/torture/pr25481.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108763 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * optabs.c (init_floating_libfuncs): Handle decimal float modes.
bje [Sun, 18 Dec 2005 21:40:47 +0000 (21:40 +0000)]
* optabs.c (init_floating_libfuncs): Handle decimal float modes.
(init_optabs): Handle libfuncs for decimal float.
* genopinit.c (gen_insn): Handle MODE_DECIMAL_FLOAT.
* stor-layout.c (int_mode_for_mode): Likewise.
* simplify-rtx.c (simplify_immed_subreg): Likewise.
(simplify_unary_operation_1): Skip optimisations for decimal float
modes.
* varasm.c (output_constant_pool_2): Handle MODE_DECIMAL_FLOAT.
* emit-rtl.c (gen_const_vector): Add assertion check.
(init_emit_once): Populate const_tiny_rtx with constants in each
decimal float mode.
* expmed.c (extract_high_half, expand_mult_highpart_optab,
expand_mult_highpart): Assert that mode is not a scalar float
mode.
* expr.c (convert_move): Handle conversion between decimal and
binary floats of the same size.
* convert.c (convert_to_real): Consider decimal float types when
folding.
* dwarf2out.c (base_type_die): Use DW_ATE_decimal_float to
describe decimal floating point types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108762 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR rtl-optimization/21041
uweigand [Sun, 18 Dec 2005 16:06:55 +0000 (16:06 +0000)]
PR rtl-optimization/21041
* reload.c (find_reloads_subreg_address): Replace paradoxical
subreg of MEM by widened access only if the resulting memory
is properly aligned, even on !STRICT_ALIGNMENT targets.

PR rtl-optimization/21041
* gcc.dg/pr21041.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108760 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-18 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 18 Dec 2005 15:53:10 +0000 (15:53 +0000)]
2005-12-18  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_algobase.h (__copy_normal::copy_n): Uglify
to __copy_n.
(__copy_backward::copy_b): Likewise to __copy_b.
(__copy_backward_normal::copy_b_n): Likewise to __copy_b_n.
(copy, __copy_backward_aux, copy_backward): Adjust.

2005-12-18  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_algo.h (partial_sort_copy): Add
_BinaryPredicateConcept<_Compare, _InputValueType, _OutputValueType>
(merge, set_union, set_symmetric_difference): Add
_OutputIteratorConcept<_OutputIterator, _ValueType2>.
(binary_search): Remove redundant _BinaryPredicateConcept<_Compare,
_ValueType, _Tp>, taken care by lower_bound.
* include/bits/stl_algo.h: Cosmetic changes.

2005-12-18  Paolo Carlini  <pcarlini@suse.de>
    Howard Hinnant  <hhinnant@apple.com>

* include/bits/stl_algo.h (merge, includes, set_union,
set_intersection, set_difference, set_symmetric_difference):
Fix concept checks.

2005-12-18  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_algo.h (partial_sort_copy, lower_bound,
upper_bound, equal_range, binary_search): Fix concept checks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108758 138bc75d-0d04-0410-961f-82ee72b054a4